Skip to content

Commit

Permalink
chore(sonar): add rule to turn sonarjs/unused-import 'off'
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Jan 2, 2025
1 parent a5089c8 commit b2744ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
files: ['**/*.spec.{js,ts,tsx}'],
rules: {
'sonarjs/no-duplicate-string': 'off',
'sonarjs/unused-import': 'off',
},
},
{
Expand All @@ -24,5 +25,11 @@ module.exports = {
'no-console': 'off',
},
},
{
files: ['**/*.tsx'],
rules: {
'sonarjs/unused-import': 'off',
},
},
],
}

0 comments on commit b2744ac

Please sign in to comment.