Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
amanteaux committed Dec 26, 2022
1 parent c1b2381 commit 68c90cc
Show file tree
Hide file tree
Showing 5 changed files with 629 additions and 240 deletions.
3 changes: 3 additions & 0 deletions templates/admin/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ module.exports = {
'@typescript-eslint'
],
settings: {
react: {
version: "detect",
},
polyfills: [
'AbortController',
'PromiseConstructor.allSettled',
Expand Down
8 changes: 4 additions & 4 deletions templates/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@
"@types/react-router": "^5.1.19",
"@types/react-router-dom": "^5.3.3",
"@types/validator": "^13.7.7",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"@vitejs/plugin-react-refresh": "^1.3.6",
"@wessberg/di-compiler": "^2.2.6",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"concurrently": "^7.4.0",
"enzyme": "^3.11.0",
"eslint": "^8.25.0",
"eslint": "^8.30.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-typescript-compat": "^0.3.1",
"fetch-mock": "^9.11.0",
Expand Down
Loading

0 comments on commit 68c90cc

Please sign in to comment.