Skip to content

Commit

Permalink
Add @typescript-eslint/no-duplicate-imports rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 5, 2020
1 parent f5e34cc commit 924e4ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ module.exports = {
'@typescript-eslint/no-array-constructor': 'error',
'no-dupe-class-members': 'off',
'@typescript-eslint/no-dupe-class-members': 'error',
'no-duplicate-imports': 'off',
'@typescript-eslint/no-duplicate-imports': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'error',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"ava": "^2.4.0",
"eslint": "^7.8.1",
"temp-write": "^4.0.0",
"typescript": "^4.0.2"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=4.2.0",
"@typescript-eslint/eslint-plugin": ">=4.4.0",
"eslint": ">=7.8.0",
"typescript": ">=3.6.0"
}
Expand Down

0 comments on commit 924e4ed

Please sign in to comment.