Skip to content

Commit

Permalink
Merge pull request #59 from nebur395/bugfix/remove-duplicated-imports…
Browse files Browse the repository at this point in the history
…-deprecated-rule

FIX no duplicate imports deprecated rule
  • Loading branch information
RecuencoJones authored Sep 26, 2023
2 parents 8af4b27 + 141d781 commit efb1b4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-adidas-typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

- Replaced `@typescript-eslint/no-duplicate-imports` to `import/no-duplicates` since the former [is deprecated](https://typescript-eslint.io/rules/no-duplicate-imports/).

## 2.0.0

- Updated ESLint to version 8.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ module.exports = {
'@typescript-eslint/no-dupe-class-members': 'error',

'no-duplicate-imports': 'off',
'@typescript-eslint/no-duplicate-imports': 'error',
'import/no-duplicates': 'error',

'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'off',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-typescript",
"version": "2.0.0",
"version": "2.0.1",
"description": "ESLint base configuration and rules for TypeScript codebases",
"license": "MIT",
"contributors": [
Expand Down

0 comments on commit efb1b4a

Please sign in to comment.