Skip to content

Commit

Permalink
Chore: oppdater ESLint dependencies (#1672)
Browse files Browse the repository at this point in the history
* fjern eslint plugins og configs som ikke ble brukt

* oppdater div eslint-dependencies

* fjern config fra eslintrc som jeg mener er unødvendig og slett deps som da ikke trengs lenger
  • Loading branch information
idaame authored Mar 1, 2024
1 parent 1a604ee commit bed557b
Show file tree
Hide file tree
Showing 3 changed files with 516 additions and 400 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"extends": [
"eslint:recommended",
"plugin:import/typescript",
"plugin:import/recommended",
"plugin:flowtype/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
Expand All @@ -22,10 +17,7 @@
},
"plugins": [
"@typescript-eslint",
"flowtype",
"jsx-a11y",
"react",
"react-hooks",
"prettier",
"import"
],
Expand All @@ -48,9 +40,6 @@
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "vars": "all","args": "all", "argsIgnorePattern": "^_" }],
"react/no-children-prop": "off",
"react-hooks/exhaustive-deps": "off",
"flowtype/no-types-missing-file-annotation": "off",
"import/named": "error",
"import/namespace": "error",
"import/default": "error",
Expand Down
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,10 @@
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^6.0.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-webpack-plugin": "^4.0.1",
"express-static-gzip": "^2.1.7",
"file-loader": "^6.2.0",
Expand Down
Loading

0 comments on commit bed557b

Please sign in to comment.