This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.61 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
55
{
"extends":
[
"eslint:recommended",
"plugin:jsdoc/recommended"
],
"rules":
{
"array-bracket-spacing": [ 2, "always" ],
"arrow-spacing": [ 2, { "before": true, "after": true } ],
"block-spacing": [ 2, "always" ],
"brace-style": [ 2, "1tbs", { "allowSingleLine": false } ],
"comma-spacing": [ 2, {"before": false, "after": true} ],
"comma-style": [ 2, "last" ],
"computed-property-spacing": [ 2, "always" ],
"curly": [ 2, "all" ],
"dot-location": [ 2, "property" ],
"eol-last": [2],
"func-names": [1],
"indent": [2, 2],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"keyword-spacing": [ 2 ],
"linebreak-style": [ 2 ],
"no-eq-null": [ 0 ],
"no-func-assign": [ 2 ],
"no-inline-comments": [ 2 ],
"no-mixed-spaces-and-tabs": [ 2 ],
"no-multi-spaces": [ 2 ],
"no-spaced-func": [ 2 ],
"no-trailing-spaces": [ 2 ],
"object-curly-spacing": [ 2, "always" ],
"one-var": [ 2, "always" ],
"one-var-declaration-per-line": [ 2, "always" ],
"quotes": [ 2, "single" ],
"semi-spacing": [ 2, {"before": false, "after": true} ],
"space-before-blocks": [ 2 ],
"space-before-function-paren": [ 2, "never" ],
"space-in-parens": [ 2, "always", { "exceptions": ["{}", "[]", "()", "empty" ] } ],
"space-infix-ops": [ 2 ],
"space-unary-ops": [ 2, { "words": true, "nonwords": false } ],
"vars-on-top": [ 2 ]
},
"parserOptions":
{
"ecmaVersion": 2020,
"sourceType" : "module"
},
"env":
{
"node" : true,
"mocha" : true,
"es6" : true
},
"plugins" : [ "jsdoc" ]
}