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

Commit

Permalink
Disable import/no-named-default rule
Browse files Browse the repository at this point in the history
Until issue has been fixed:
import-js/eslint-plugin-import#653
  • Loading branch information
preco21 committed Nov 7, 2016
1 parent 8e0791a commit efbde99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"ava": "^0.16.0",
"babel-eslint": "^7.1.0",
"eslint": "^3.9.1",
"eslint-plugin-import": "^2.1.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-react": "^6.5.0",
"is-plain-obj": "^1.1.0"
},
"peerDependencies": {
"babel-eslint": "^7.1.0",
"eslint": "^3.9.1",
"eslint-plugin-import": "^2.1.0"
"eslint-plugin-import": "^2.0.1"
}
}
3 changes: 2 additions & 1 deletion rules/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
'import/prefer-default-export': 'error',
'import/max-dependencies': 'off',
'import/no-unassigned-import': 'off',
'import/no-named-default': 'error',
// disabled until issue has been fixed: https://github.com/benmosher/eslint-plugin-import/issues/653
// 'import/no-named-default': 'error',
},
};

0 comments on commit efbde99

Please sign in to comment.