Update eslint to latest verstions (#3380)
Updated Eslint to v7.27.0 Also updated all the related plugins to their latest versions. Removed `eslint-plugin-standard`, no longer required with `eslint-config-standard` v16+ https://github.com/standard/standard/issues/1316
This commit is contained in:
parent
8459b11019
commit
482293578a
3 changed files with 605 additions and 345 deletions
|
@ -44,6 +44,8 @@ rules:
|
||||||
array-bracket-spacing:
|
array-bracket-spacing:
|
||||||
- warn
|
- warn
|
||||||
- always
|
- always
|
||||||
|
# Remove errors for not having newlines between operands of ternary expressions https://eslint.org/docs/rules/multiline-ternary
|
||||||
|
multiline-ternary: 0
|
||||||
"react-hooks/rules-of-hooks":
|
"react-hooks/rules-of-hooks":
|
||||||
- error
|
- error
|
||||||
"react-hooks/exhaustive-deps": 0
|
"react-hooks/exhaustive-deps": 0
|
||||||
|
|
21
package.json
21
package.json
|
@ -77,22 +77,21 @@
|
||||||
"@types/uuid": "^3.4.5",
|
"@types/uuid": "^3.4.5",
|
||||||
"@types/webpack-env": "^1.15.2",
|
"@types/webpack-env": "^1.15.2",
|
||||||
"@types/yup": "^0.29.3",
|
"@types/yup": "^0.29.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
||||||
"@typescript-eslint/parser": "^4.22.1",
|
"@typescript-eslint/parser": "^4.25.0",
|
||||||
"autoprefixer": "^10.1.0",
|
"autoprefixer": "^10.1.0",
|
||||||
"babel-loader": "^8.0.6",
|
"babel-loader": "^8.0.6",
|
||||||
"babel-plugin-styled-components": "^1.12.0",
|
"babel-plugin-styled-components": "^1.12.0",
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"css-loader": "^3.2.1",
|
"css-loader": "^3.2.1",
|
||||||
"eslint": "^7.4.0",
|
"eslint": "^7.27.0",
|
||||||
"eslint-config-standard": "^14.1.1",
|
"eslint-config-standard": "^16.0.3",
|
||||||
"eslint-plugin-import": "^2.22.0",
|
"eslint-plugin-import": "^2.23.3",
|
||||||
"eslint-plugin-node": "^9.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"eslint-plugin-promise": "^4.2.1",
|
"eslint-plugin-promise": "^5.1.0",
|
||||||
"eslint-plugin-react": "^7.20.3",
|
"eslint-plugin-react": "^7.23.2",
|
||||||
"eslint-plugin-react-hooks": "^4.0.5",
|
"eslint-plugin-react-hooks": "^4.2.0",
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"fork-ts-checker-webpack-plugin": "^6.2.10",
|
||||||
"fork-ts-checker-webpack-plugin": "^6.2.6",
|
|
||||||
"postcss": "^8.2.1",
|
"postcss": "^8.2.1",
|
||||||
"redux-devtools-extension": "^2.13.8",
|
"redux-devtools-extension": "^2.13.8",
|
||||||
"source-map-loader": "^1.0.1",
|
"source-map-loader": "^1.0.1",
|
||||||
|
|
Loading…
Reference in a new issue