Skip to content

Commit

Permalink
refactor: 💡 remove eslint plugin
Browse files Browse the repository at this point in the history
remove eslint plugin
  • Loading branch information
Tal Rofe committed Jul 16, 2022
1 parent de20220 commit 8aadfdb
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 163 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
sourceType: 'module',
extraFileExtensions: ['.cjs'],
},
plugins: ['@typescript-eslint', 'unused-imports', 'import', 'deprecation', 'no-secrets'],
plugins: ['@typescript-eslint', 'unused-imports', 'import', 'deprecation'],
rules: {
'max-lines': ['error', { max: 100, skipBlankLines: true, skipComments: true }],
'indent': ['error', 'tab', { SwitchCase: 1 }],
Expand Down Expand Up @@ -157,8 +157,6 @@ module.exports = {
],

'deprecation/deprecation': 'error',

'no-secrets/no-secrets': 'error',
},
overrides: [
{
Expand Down
1 change: 0 additions & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"eslint-config-prettier": "8.5.0",
"eslint-plugin-deprecation": "1.3.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-secrets": "0.8.9",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-unused-imports": "2.0.0",
"open-cli": "7.0.1",
Expand Down
1 change: 0 additions & 1 deletion apps/cli-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"eslint-config-prettier": "8.5.0",
"eslint-plugin-deprecation": "1.3.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-secrets": "0.8.9",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-unused-imports": "2.0.0",
"open-cli": "7.0.1",
Expand Down
11 changes: 5 additions & 6 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
},
"dependencies": {
"@reduxjs/toolkit": "1.8.3",
"axios": "0.27.2",
"react-redux": "8.0.2",
"react-router-dom": "6.3.0",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"axios": "0.27.2",
"i18next": "21.8.14",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "11.18.1",
"react-redux": "8.0.2",
"react-router-dom": "6.3.0",
"react-scripts": "5.0.1",
"typescript": "4.7.4"
},
Expand All @@ -48,7 +48,6 @@
"eslint-plugin-deprecation": "1.3.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.0",
"eslint-plugin-no-secrets": "0.8.9",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unused-imports": "2.0.0",
Expand All @@ -59,9 +58,9 @@
"stylelint": "14.9.1",
"stylelint-config-prettier-scss": "0.0.1",
"stylelint-config-recess-order": "3.0.0",
"stylelint-config-standard-scss": "5.0.0",
"tsconfig-paths-webpack-plugin": "3.5.2",
"typescript-plugin-css-modules": "3.4.0",
"stylelint-config-standard-scss": "5.0.0"
"typescript-plugin-css-modules": "3.4.0"
},
"peerDependencies": {
"@babel/core": "7.18.6",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"eslint-config-prettier": "8.5.0",
"eslint-plugin-deprecation": "1.3.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-secrets": "0.8.9",
"eslint-plugin-unused-imports": "2.0.0",
"figlet": "1.5.2",
"husky": "8.0.1",
Expand Down
Loading

0 comments on commit 8aadfdb

Please sign in to comment.