Skip to content

Commit

Permalink
[eslint config] [base] add some import plugin settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 5, 2016
1 parent 1f87054 commit b45fdcd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@ module.exports = {
node: {
extensions: ['.js', '.json']
}
}
},
'import/extensions': [
'node_modules',
],
'import/core-modules': [
],
'import/ignore': [
'node_modules',
'\\.(coffee|scss|css|less|hbs|svg|json)$',
],
},

rules: {
Expand Down

0 comments on commit b45fdcd

Please sign in to comment.