Skip to content

Commit e5d9149

Browse files
committed
fix: update all the eslint dependencies
1 parent 9f41184 commit e5d9149

File tree

3 files changed

+121
-281
lines changed

3 files changed

+121
-281
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@
4444
"@types/react-redux": "^7.1.5",
4545
"@types/react-router-dom": "^5.1.3",
4646
"@types/redux-mock-store": "^1.0.1",
47-
"@typescript-eslint/eslint-plugin": "^2.16.0",
48-
"@typescript-eslint/parser": "^2.16.0",
47+
"@typescript-eslint/eslint-plugin": "^4.8.1",
48+
"@typescript-eslint/parser": "^4.8.1",
4949
"enzyme": "^3.11.0",
5050
"enzyme-adapter-react-16": "^1.15.2",
5151
"eslint": "^7.11.0",
52-
"eslint-config-airbnb-typescript": "^6.3.1",
53-
"eslint-config-prettier": "^6.9.0",
54-
"eslint-plugin-import": "^2.20.0",
55-
"eslint-plugin-jsx-a11y": "^6.2.3",
56-
"eslint-plugin-prettier": "^3.1.2",
57-
"eslint-plugin-react": "^7.17.0",
58-
"eslint-plugin-react-hooks": "^4.0.0",
52+
"eslint-config-airbnb-typescript": "^12.0.0",
53+
"eslint-config-prettier": "^6.15.0",
54+
"eslint-plugin-import": "^2.22.0",
55+
"eslint-plugin-jsx-a11y": "^6.4.1",
56+
"eslint-plugin-prettier": "^3.1.4",
57+
"eslint-plugin-react": "^7.21.5",
58+
"eslint-plugin-react-hooks": "^4.0.8",
5959
"prettier": "^2.0.0",
6060
"react": "^16.12.0",
6161
"react-dom": "^16.12.0",
@@ -65,19 +65,19 @@
6565
"redux": "^4.0.5",
6666
"redux-devtools-extension": "^2.13.8",
6767
"redux-mock-store": "^1.5.4",
68-
"typescript": "~4.0.0"
68+
"typescript": "~4.0.3"
6969
},
7070
"scripts": {
7171
"start": "react-scripts start",
7272
"build": "react-scripts build",
7373
"test": "react-scripts test",
7474
"eject": "react-scripts eject",
75-
"clean-files": "rm -rf ./template/public ./template/src && rm -f ./template/.eslintignore ./template/.eslintrc ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json",
76-
"copy-files": "cp -a ./src/. template/src && cp -a ./public/. template/public && cp .eslintignore .eslintrc .prettierrc tsconfig.json README.md README_CRA.md template/",
75+
"clean-files": "rm -rf ./template/public ./template/src && rm -f ./template/.eslintignore ./template/.eslintrc ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json ./template/tsconfig.eslint.json",
76+
"copy-files": "cp -a ./src/. template/src && cp -a ./public/. template/public && cp .eslintignore .eslintrc .prettierrc tsconfig.json tsconfig.eslint.json README.md README_CRA.md template/",
7777
"prepublishOnly": "yarn clean-files && yarn copy-files",
7878
"commit": "npx git-cz",
79-
"lint": "eslint src template cypress --ext .js,.jsx,.ts,.tsx",
80-
"fix": "eslint src template cypress --ext .js,.jsx,.ts,.tsx --fix",
79+
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
80+
"fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
8181
"format": "prettier --write src/**/*.{ts,tsx}",
8282
"e2e": "cypress run --spec 'cypress/integration/*'"
8383
},

template.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@
1313
"@typescript-eslint/parser": "2.18.0",
1414
"enzyme": "3.11.0",
1515
"enzyme-adapter-react-16": "1.15.2",
16-
"eslint": "6.8.0",
17-
"eslint-config-airbnb-typescript": "6.3.1",
18-
"eslint-config-prettier": "6.10.0",
19-
"eslint-plugin-import": "2.20.1",
20-
"eslint-plugin-jsx-a11y": "6.2.3",
21-
"eslint-plugin-prettier": "3.1.2",
22-
"eslint-plugin-react": "7.18.2",
23-
"eslint-plugin-react-hooks": "2.3.0",
16+
"eslint": "7.11.0",
17+
"eslint-config-airbnb-typescript": "12.0.0",
18+
"eslint-config-prettier": "6.15.0",
19+
"eslint-plugin-import": "2.22.0",
20+
"eslint-plugin-jsx-a11y": "6.4.1",
21+
"eslint-plugin-prettier": "3.1.4",
22+
"eslint-plugin-react": "7.21.5",
23+
"eslint-plugin-react-hooks": "4.0.8",
2424
"prettier": "2.0.0",
2525
"react-redux": "7.1.3",
2626
"react-router-dom": "5.1.2",
2727
"redux": "4.0.5",
2828
"redux-devtools-extension": "2.13.8",
2929
"redux-mock-store": "1.5.4",
30-
"typescript": "~3.9.0"
30+
"typescript": "~4.0.3"
3131
},
3232
"scripts": {
33-
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./",
34-
"fix": "eslint --ext .js,.jsx,.ts,.tsx --fix ./"
33+
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
34+
"fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix"
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)