Skip to content

Commit b45fdcd

Browse files
committed
[eslint config] [base] add some import plugin settings
1 parent 1f87054 commit b45fdcd

File tree

1 file changed

+10
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+10
-1
lines changed

packages/eslint-config-airbnb-base/rules/imports.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@ module.exports = {
1515
node: {
1616
extensions: ['.js', '.json']
1717
}
18-
}
18+
},
19+
'import/extensions': [
20+
'node_modules',
21+
],
22+
'import/core-modules': [
23+
],
24+
'import/ignore': [
25+
'node_modules',
26+
'\\.(coffee|scss|css|less|hbs|svg|json)$',
27+
],
1928
},
2029

2130
rules: {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy