-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 887 Bytes
/
.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
{
"extends": [
"eslint:recommended",
"airbnb-base"
],
"plugins": [
"import",
"sort-requires"
],
"rules": {
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"linebreak-style": [ 0 ],
"camelcase": 0,
"prefer-destructuring": 0,
"no-underscore-dangle": 0,
"func-names": 0,
"no-param-reassign": 0,
"no-console": 2,
"global-require": 2,
"import/no-unresolved": 2,
"import/newline-after-import": 2,
"import/order": ["error", {"newlines-between": "always", "groups": ["builtin", "external", "internal"]}],
"import/no-dynamic-require": 2,
"import/no-self-import": 2,
"import/no-useless-path-segments": 2,
"import/no-duplicates": 2,
"import/no-absolute-path": 2,
"sort-requires/sort-requires": 2
},
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"node": true,
"es6": true
}
}