Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
Uncomment import/no-duplicates rule
Browse files Browse the repository at this point in the history
Issue has been solved:
import-js/eslint-plugin-import#242
  • Loading branch information
preco21 committed Jul 7, 2016
1 parent e658b28 commit 9aa6dc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rules/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ module.exports = {

// style guide
'import/imports-first': 2,
// issue: https://github.com/benmosher/eslint-plugin-import/issues/242
// 'import/no-duplicates': 1,
'import/no-duplicates': 0, // it's fine because `no-duplicate-imports` and `import/extensions` are enabled
'import/no-namespace': 0,
'import/extensions': [2, {js: 'never', jsx: 'never'}],
'import/order': [2, {'newlines-between': 'never'}],
Expand Down

0 comments on commit 9aa6dc7

Please sign in to comment.