-
Notifications
You must be signed in to change notification settings - Fork 525
/
.eslintrc
34 lines (34 loc) · 840 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
{
"parserOptions": {
"ecmaVersion": 6
},
"extends": "google",
"rules": {
"comma-dangle": [2,"never"],
"valid-jsdoc": [2, {
"requireReturnDescription": false,
"requireParamDescription": false
}],
"brace-style": [2, "stroustrup"],
"no-trailing-spaces": [2, {"skipBlankLines": true }],
"eqeqeq":[1],
"max-len": [1, 100, 4, {"ignoreUrls": true}],
"no-useless-escape":0,
"quote-props": [
2,
"as-needed"
],
"no-var": "off",
"no-invalid-this": "off",
"indent": [
"error",
2,
{
"FunctionDeclaration": {
"body": 1,
"parameters": 2
}
}
]
}
}