Skip to content

Commit 68c90cc

Browse files
committed
Fix eslint
1 parent c1b2381 commit 68c90cc

File tree

5 files changed

+629
-240
lines changed

5 files changed

+629
-240
lines changed

templates/admin/.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module.exports = {
2929
'@typescript-eslint'
3030
],
3131
settings: {
32+
react: {
33+
version: "detect",
34+
},
3235
polyfills: [
3336
'AbortController',
3437
'PromiseConstructor.allSettled',

templates/admin/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
"@types/react-router": "^5.1.19",
3535
"@types/react-router-dom": "^5.3.3",
3636
"@types/validator": "^13.7.7",
37-
"@typescript-eslint/eslint-plugin": "^5.40.0",
38-
"@typescript-eslint/parser": "^5.40.0",
37+
"@typescript-eslint/eslint-plugin": "^5.47.0",
38+
"@typescript-eslint/parser": "^5.47.0",
3939
"@vitejs/plugin-react-refresh": "^1.3.6",
4040
"@wessberg/di-compiler": "^2.2.6",
4141
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
4242
"concurrently": "^7.4.0",
4343
"enzyme": "^3.11.0",
44-
"eslint": "^8.25.0",
44+
"eslint": "^8.30.0",
4545
"eslint-config-airbnb-base": "^15.0.0",
4646
"eslint-config-airbnb-typescript": "^17.0.0",
4747
"eslint-plugin-compat": "^4.0.2",
4848
"eslint-plugin-import": "^2.26.0",
4949
"eslint-plugin-jsx-a11y": "^6.6.1",
50-
"eslint-plugin-react": "^7.31.10",
50+
"eslint-plugin-react": "^7.31.11",
5151
"eslint-plugin-react-hooks": "^4.6.0",
5252
"eslint-plugin-typescript-compat": "^0.3.1",
5353
"fetch-mock": "^9.11.0",

0 commit comments

Comments
 (0)