Skip to content

Commit

Permalink
Move import plugin definition out of rule file
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Nov 1, 2016
1 parent c0833d1 commit 0f51d4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
sourceType: 'module'
},
plugins: [
'import',
'wyze'
]
};
3 changes: 0 additions & 3 deletions rules/es6.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module.exports = {
'plugins': [
'import'
],
'rules': {
// require parens in arrow function arguments
'arrow-parens': [2, 'as-needed'],
Expand Down
2 changes: 1 addition & 1 deletion test/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('extends files', async t => {
})

test('plugins', async t => {
const expected = [ 'wyze' ]
const expected = [ 'import', 'wyze' ]

t.deepEqual(base.plugins, expected, `plugins are not set to ${expected}`)
})
Expand Down

0 comments on commit 0f51d4f

Please sign in to comment.