-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
42 lines (42 loc) · 1.03 KB
/
.eslintrc
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
{
"extends": "semistandard",
"plugins": ["import", "node", "promise"],
"rules": {
"import/default": "error",
"import/export": "error",
"import/extensions": [
"error",
{
"js": "never",
"json": "never"
}
],
"import/first": "error",
"import/named": "error",
"import/namespace": [
"error",
{
"allowComputed": true
}
],
"import/no-absolute-path": "error",
"import/no-webpack-loader-syntax": "error",
"import/newline-after-import": "error",
"import/no-amd": "error",
"import/no-duplicates": "error",
"import/no-extraneous-dependencies": "error",
"import/no-mutable-exports": "error",
"import/no-named-as-default-member": "error",
"import/no-named-as-default": "error",
"import/no-unresolved": [
"error",
{
"commonjs": true
}
],
"import/order": "error",
"import/prefer-default-export": "error",
"import/no-unassigned-import": "error",
"space-before-function-paren": "off"
}
}