Skip to content

Commit

Permalink
[eslint config] [base] [patch] Adjust imports for vue-cli
Browse files Browse the repository at this point in the history
Allows the vue-cli config file `vue.config.js` to import `devDependencies` by altering the rule `import/no-extraneous-dependencies`.
  • Loading branch information
MoritzKn authored and ljharb committed May 15, 2018
1 parent b3bbd1c commit 068d6b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module.exports = {
'test-*.{js,jsx}', // repos with multiple top-level test files
'**/*{.,_}{test,spec}.{js,jsx}', // tests where the extension or filename suffix denotes that it is a test
'**/jest.config.js', // jest config
'**/vue.config.js', // vue-cli config
'**/webpack.config.js', // webpack config
'**/webpack.config.*.js', // webpack config
'**/rollup.config.js', // rollup config
Expand Down

0 comments on commit 068d6b6

Please sign in to comment.