mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 19:08:03 -05:00
[eslint config] [base] add some import plugin settings
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user