Skip to content

Commit

Permalink
feat(eslint-plugin-experience): add unused-imports plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Apr 24, 2024
1 parent c27e57e commit 463b6ff
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 64 deletions.
150 changes: 86 additions & 64 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions projects/eslint-plugin-experience/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ module.exports = {
'decorator-position',
'prettier',
'node-import',
'unused-imports',
],
extends: [
'eslint-config-airbnb-base',
Expand Down Expand Up @@ -732,6 +733,7 @@ module.exports = {
'unicorn/prefer-string-replace-all': 'error',
'unicorn/prefer-string-slice': 'error',
'unicorn/require-number-to-fixed-digits-argument': 'error',
'unused-imports/no-unused-imports': 'error',
'vars-on-top': 'error',
},
},
Expand Down
1 change: 1 addition & 0 deletions projects/eslint-plugin-experience/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"eslint-plugin-sonar": "^0.13.2",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-unused-imports": "^3.1.0",
"js-yaml": "^4.1.0"
},
"publishConfig": {
Expand Down

0 comments on commit 463b6ff

Please sign in to comment.