Skip to content

Commit 4a005b1

Browse files
committed
[eslint config] [base] disable no-duplicate-imports rule - obsoleted by import/no-duplicates.
Closes airbnb#1188. Closes airbnb#1195. Closes airbnb#1054.
1 parent e037d29 commit 4a005b1

File tree

1 file changed

+2
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+2
-1
lines changed

packages/eslint-config-airbnb-base/rules/es6.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ module.exports = {
5555

5656
// disallow importing from the same path more than once
5757
// http://eslint.org/docs/rules/no-duplicate-imports
58-
'no-duplicate-imports': 'error',
58+
// replaced by https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
59+
'no-duplicate-imports': 'off',
5960

6061
// disallow symbol constructor
6162
// http://eslint.org/docs/rules/no-new-symbol

0 commit comments

Comments
 (0)