-
Notifications
You must be signed in to change notification settings - Fork 0
/
import.js
43 lines (43 loc) · 1.35 KB
/
import.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
"plugins": [
"import"
],
"rules": {
"import/default": "error",
"import/export": "error",
"import/extensions": ["error", {"js": "never", "json": "always"}],
"import/exports-last": "off",
"import/first": "error",
"import/no-anonymous-default-export": "off",
"import/max-dependencies": "off",
"import/namespace": "error",
"import/named": "error",
"import/newline-after-import": "warn",
"import/no-absolute-path": "error",
"import/no-amd": "error",
"import/no-commonjs": "error",
"import/no-deprecated": "off",
"import/no-duplicates": "error",
"import/no-dynamic-require": "error",
"import/no-extraneous-dependencies": "error",
"import/no-internal-modules": "off",
"import/no-mutable-exports": "error",
"import/no-named-as-default": "error",
"import/no-named-as-default-member": "error",
"import/no-named-default": "warn",
"import/no-namespace": "off",
"import/no-nodejs-modules": "off",
"import/no-restricted-paths": "off",
"import/no-unassigned-import": "error",
"import/no-unresolved": "error",
"import/no-webpack-loader-syntax": "error",
"import/order": "warn",
"import/prefer-default-export": "warn",
"import/unambiguous": "error"
},
"settings": {
"import/resolve": {
"extensions": [".js", ".jsx", ".json"]
}
}
}