Skip to content

Commit 141d781

Browse files
author
Ruben Moreno
committed
FIX no duplicate imports deprecated rule
1 parent 372a2e0 commit 141d781

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/eslint-config-adidas-typescript/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
- Replaced `@typescript-eslint/no-duplicate-imports` to `import/no-duplicates` since the former [is deprecated](https://typescript-eslint.io/rules/no-duplicate-imports/).
4+
15
## 2.0.0
26

37
- Updated ESLint to version 8.

packages/eslint-config-adidas-typescript/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ module.exports = {
306306
'@typescript-eslint/no-dupe-class-members': 'error',
307307

308308
'no-duplicate-imports': 'off',
309-
'@typescript-eslint/no-duplicate-imports': 'error',
309+
'import/no-duplicates': 'error',
310310

311311
'no-empty-function': 'off',
312312
'@typescript-eslint/no-empty-function': 'off',

packages/eslint-config-adidas-typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-adidas-typescript",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "ESLint base configuration and rules for TypeScript codebases",
55
"license": "MIT",
66
"contributors": [

0 commit comments

Comments
 (0)