-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.35 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
47
48
49
50
51
52
53
54
{
"extends" : [
"eslint:recommended"
],
"rules": {
"brace-style": [1, "stroustrup"],
"camelcase": [1, {"properties": "always"}],
"comma-dangle" : [1, "always-multiline"],
"complexity": [1, {"max": 20}],
"curly": [1, "all"],
"func-call-spacing": [1, "never"],
"key-spacing": [1, { "beforeColon": false, "afterColon": true }],
"keyword-spacing": [1, { "before": true, "after": true }],
"max-len": [1, {
"code": 100,
"tabWidth": 4,
"ignoreComments": false,
"ignoreTrailingComments": false,
"ignoreUrls": true,
"ignoreStrings": false,
"ignoreTemplateLiterals": false,
"ignoreRegExpLiterals": true
}],
"newline-after-var": 1,
"newline-before-return": 1,
"no-new": 0,
"no-multiple-empty-lines" : [1, {"max": 4, "maxBOF": 1}],
"no-trailing-spaces": 1,
"no-unused-vars" : 1,
"no-undef" : 1,
"object-curly-spacing": [1, "always"],
"operator-linebreak": [1, "before"],
"quotes" : [1, "double", {
"allowTemplateLiterals" : true
}],
"require-jsdoc": [1, {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"semi-spacing": 1,
"semi": 1,
"space-before-blocks": 1,
"space-before-function-paren": [1, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"spaced-comment": [1, "always"],
"strict": [1, "safe"]
}
}