Skip to content

Commit

Permalink
explicit test confirming no-extraneous-dependencies considers import/…
Browse files Browse the repository at this point in the history
…core-modules (#275)
  • Loading branch information
benmosher committed Jun 16, 2016
1 parent c069789 commit 5cd25e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/rules/no-extraneous-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ruleTester.run('no-extraneous-dependencies', rule, {
test({ code: 'import "lodash.isarray"'}),
test({ code: 'import "@scope/core"'}),

test({ code: 'import "electron"', settings: { 'import/core-modules': ['electron'] } }),

// 'project' type
test({
code: 'import "importType"',
Expand Down

0 comments on commit 5cd25e9

Please sign in to comment.