-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.1 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
43
44
45
46
{
"extends": "eslint-config-egg",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"classes": true,
"modules": true,
"defaultParams": true
},
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"rules": {
"linebreak-style": "off",
"strict": "off",
"valid-jsdoc": "off",
"space-before-function-paren": "off",
"no-multi-spaces": "off",
"no-alert": "off",
"indent": ["warn", 2],
"array-bracket-spacing": [
"warn",
"never"
],
"arrow-parens": ["warn", "always"],
"sort-imports": [
"warn",
{
"memberSyntaxSortOrder": [
"single",
"all",
"multiple",
"none"
]
}
]
}
}