-
Notifications
You must be signed in to change notification settings - Fork 19
/
.eslintrc
46 lines (46 loc) · 1.08 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": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-loop-func": 0,
"no-nested-ternary": 0,
"global-require": 0,
"space-before-function-paren": 0,
"func-names": 0,
"no-use-before-define": 0,
"no-param-reassign": 0,
"dot-notation": 0,
"quote-props": 0,
"arrow-body-style": 0,
"no-continue": 0,
"no-bitwise": 0,
"no-alert": 0,
"array-bracket-spacing": ["error", "always", {
"singleValue": true
}],
"no-plusplus": [ 0, {
"allowForLoopAfterthoughts": true
}],
"max-len": [ 1, 200 ],
"valid-jsdoc": [ "error", {
"requireReturn": true,
"requireReturnType": true,
"requireParamDescription": true,
"requireReturnDescription": true
}],
"require-jsdoc": [ "error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}]
}
}