Skip to content

Commit fdc594c

Browse files
committed
chore(deps-dev): upgrade eslint to v8
Upgrade eslint and related plugins to satisfy [email protected] peer dependencies: - eslint ^5.12.0 -> ^8.2.0 - eslint-plugin-react ^7.12.3 -> ^7.28.0 - eslint-plugin-import ^2.14.0 -> ^2.25.3 - eslint-plugin-jsx-a11y ^6.1.2 -> ^6.5.1 - eslint-config-prettier ^6.1.0 -> ^8.0.0 - Add eslint-plugin-react-hooks ^4.3.0 - Replace babel-eslint with @babel/eslint-parser Update .eslintrc for compatibility with eslint v8.
1 parent d1c39f7 commit fdc594c

File tree

3 files changed

+1028
-2863
lines changed

3 files changed

+1028
-2863
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"parser": "babel-eslint",
2+
"parser": "@babel/eslint-parser",
33
"extends": ["airbnb", "prettier"],
44
"plugins": ["babel"],
55
"globals": {
@@ -21,11 +21,13 @@
2121
"func-names": 0,
2222
"no-confusing-arrow": 0,
2323
"camelcase": 0,
24+
"prefer-regex-literals": 0,
25+
"default-param-last": 0,
2426
"no-multiple-empty-lines": [
2527
"error",
2628
{ "max": 1, "maxEOF": 0, "maxBOF": 0 }
2729
],
28-
"import/no-unresolved": false,
30+
"import/no-unresolved": 0,
2931
"import/no-extraneous-dependencies": [
3032
"error",
3133
{

0 commit comments

Comments
 (0)