Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amedia/eslint-config-react

Package Overview
Dependencies
Maintainers
46
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amedia/eslint-config-react - npm Package Compare versions

Comparing version 3.4.0-alpha.0 to 3.5.0-alpha.0

31

index.js
module.exports = {
parser: 'babel-eslint',
extends: ['@amedia/eslint-config-base', 'airbnb', 'prettier'],
extends: [
// https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb
'airbnb',
'airbnb/hooks',
// https://www.npmjs.com/package/eslint-plugin-jsx-a11y
'plugin:jsx-a11y/recommended',
// https://www.npmjs.com/package/eslint-plugin-react
'plugin:react/recommended',
// https://www.npmjs.com/package/eslint-plugin-react-hooks
'plugin:react-hooks/recommended',
/**
* Make sure to put prettier last, so it gets the chance to override other
* configs.
*
* @see https://github.com/prettier/eslint-config-prettier
*
* prettier alternative: https://github.com/prettier/prettier-eslint
*/
'plugin:prettier/recommended',
'prettier/react',
],
globals: {

@@ -11,3 +31,12 @@ __DEV__: true,

node: true,
'shared-node-browser': true,
},
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
defaultParams: true,
spread: true,
},
},
rules: {

@@ -14,0 +43,0 @@ // https://www.npmjs.com/package/eslint-plugin-react-hooks

13

package.json
{
"name": "@amedia/eslint-config-react",
"version": "3.4.0-alpha.0",
"version": "3.5.0-alpha.0",
"description": "ESLint react configuration to be used by developers at Amedia",

@@ -19,5 +19,3 @@ "main": "index.js",

"eslint",
"eslint-config",
"prettier",
"prettier-config"
"eslint-config"
],

@@ -36,9 +34,6 @@ "author": "Amedia - Renate Winther Ravnaas",

"devDependencies": {
"@amedia/eslint-config-base": "^3.4.0-alpha.0",
"@amedia/eslint-config-base": "^3.5.0-alpha.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",

@@ -49,3 +44,3 @@ "eslint-plugin-react": "^7.21.3",

},
"gitHead": "64964c9a0cfde1356b10046f18db8e5342c024ec"
"gitHead": "4375a34cbb277b77f9a4d500f76e28f87869c84c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc