Skip to content

Commit

Permalink
Enable import/no-extraneous-dependencies rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed May 6, 2016
1 parent ac574c8 commit 387143f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rules/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ module.exports = {
'generators': true
}
},
'plugins': [
'import'
],
'rules': {
// require parens in arrow function arguments
'arrow-parens': [2, 'as-needed'],
Expand All @@ -22,6 +25,9 @@ module.exports = {
// disallow duplicate imports
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
'import/no-duplicates': 2,
// Forbid the use of extraneous packages
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md
'import/no-extraneous-dependencies': 2,
// disallow arrow functions where they could be confused with comparisons
// http://eslint.org/docs/rules/no-confusing-arrow
'no-confusing-arrow': 0,
Expand Down

0 comments on commit 387143f

Please sign in to comment.