Update ESLint
This commit is contained in:
+28
-32
@@ -5,10 +5,15 @@
|
|||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"airbnb",
|
"eslint:recommended",
|
||||||
"airbnb/hooks",
|
"plugin:react/recommended",
|
||||||
|
"plugin:import/errors",
|
||||||
|
"plugin:import/warnings",
|
||||||
|
"plugin:jsx-a11y/recommended",
|
||||||
|
"plugin:react-hooks/recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"plugin:react/recommended"
|
"airbnb-typescript",
|
||||||
|
"airbnb/hooks"
|
||||||
],
|
],
|
||||||
"globals": {
|
"globals": {
|
||||||
"Atomics": "readonly",
|
"Atomics": "readonly",
|
||||||
@@ -33,37 +38,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"camelcase": "off",
|
"@typescript-eslint/naming-convention": "off",
|
||||||
"max-len": [
|
"max-len": [
|
||||||
"warn",
|
"warn",
|
||||||
160
|
160
|
||||||
],
|
],
|
||||||
"no-mixed-operators": "off",
|
"@typescript-eslint/quotes": [
|
||||||
"no-shadow": "off",
|
"error",
|
||||||
"no-use-before-define": "off",
|
"double"
|
||||||
"quotes": [
|
],
|
||||||
"error",
|
"import/prefer-default-export": "warn",
|
||||||
"double"
|
"react/jsx-props-no-spreading": "off",
|
||||||
],
|
"react/prop-types": "off",
|
||||||
"import/extensions": "off",
|
// Temp
|
||||||
"import/no-unresolved": "off",
|
"react/jsx-one-expression-per-line": "off",
|
||||||
"import/order": "off",
|
"react/no-array-index-key": "off",
|
||||||
"import/prefer-default-export": "warn",
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||||||
"operator-linebreak": "off",
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||||
"no-unused-vars": "off",
|
"jsx-a11y/alt-text": "off",
|
||||||
"react/jsx-filename-extension": "off",
|
"jsx-a11y/iframe-has-title": "off",
|
||||||
"react/jsx-one-expression-per-line": "off",
|
"jsx-a11y/label-has-associated-control": "off",
|
||||||
"react/jsx-props-no-spreading": "off",
|
"jsx-a11y/click-events-have-key-events": "off",
|
||||||
"react/prop-types": "off",
|
"jsx-a11y/no-noninteractive-element-interactions": "off",
|
||||||
"@typescript-eslint/no-shadow": "error",
|
"jsx-a11y/no-static-element-interactions": "off"
|
||||||
// Temp
|
|
||||||
"react/no-array-index-key": "off",
|
|
||||||
"@typescript-eslint/explicit-function-return-type": "off",
|
|
||||||
"jsx-a11y/alt-text": "off",
|
|
||||||
"jsx-a11y/iframe-has-title": "off",
|
|
||||||
"jsx-a11y/label-has-associated-control": "off",
|
|
||||||
"jsx-a11y/click-events-have-key-events": "off",
|
|
||||||
"jsx-a11y/no-noninteractive-element-interactions": "off",
|
|
||||||
"jsx-a11y/no-static-element-interactions": "off"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+283
-1443
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -49,14 +49,14 @@
|
|||||||
"@types/react-jsonschema-form": "1.7.3",
|
"@types/react-jsonschema-form": "1.7.3",
|
||||||
"@types/shortid": "0.0.29",
|
"@types/shortid": "0.0.29",
|
||||||
"@types/styled-components": "5.1.1",
|
"@types/styled-components": "5.1.1",
|
||||||
"@typescript-eslint/eslint-plugin": "4.8.2",
|
"@typescript-eslint/eslint-plugin": "4.15.0",
|
||||||
"@typescript-eslint/parser": "4.8.2",
|
"@typescript-eslint/parser": "4.15.0",
|
||||||
"babel-plugin-styled-components": "1.10.7",
|
"babel-plugin-styled-components": "1.10.7",
|
||||||
"eslint": "7.14.0",
|
"eslint": "7.19.0",
|
||||||
"eslint-config-airbnb": "18.2.1",
|
"eslint-config-airbnb-typescript": "12.3.1",
|
||||||
"eslint-plugin-import": "2.22.1",
|
"eslint-plugin-import": "2.22.1",
|
||||||
"eslint-plugin-jsx-a11y": "6.4.1",
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
||||||
"eslint-plugin-react": "7.21.5",
|
"eslint-plugin-react": "7.22.0",
|
||||||
"eslint-plugin-react-hooks": "4.2.0",
|
"eslint-plugin-react-hooks": "4.2.0",
|
||||||
"husky": "1.3.1",
|
"husky": "1.3.1",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user