forked from matthewmatician/xml-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
93 lines (89 loc) · 2.71 KB
/
.eslintrc.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"extends": "eslint:recommended",
"plugins": [ "mocha" ],
"env": {
"es6": true,
"node": true
},
"rules": {
"mocha/no-exclusive-tests": 2,
"mocha/no-skipped-tests": 1,
"mocha/no-global-tests": 2,
"mocha/no-top-level-hooks": 2,
"mocha/no-sibling-hooks": 2,
"mocha/no-identical-title": 2,
"mocha/handle-done-callback": 2,
"mocha/no-return-and-callback": 2,
"complexity": [1, {"max": 9}],
"eqeqeq": [1, "smart"],
"implicit-arrow-linebreak": 1,
"no-console": [2, { "allow": ["warn", "error"]}],
"no-const-assign": 2,
"no-eq-null": 0,
"no-useless-escape": 0,
"no-implicit-coercion": 1,
"no-process-env": 2,
"no-self-assign": 2,
"no-unmodified-loop-condition": 2,
"no-useless-return": 2,
"arrow-body-style": 1,
"arrow-parens": [1, "as-needed"],
"arrow-spacing": 2,
"no-confusing-arrow": [2, { "allowParens": true }],
"no-duplicate-imports": 2,
"no-useless-computed-key": 2,
"no-useless-constructor": 2,
"no-var": 2,
"object-shorthand": 1,
"prefer-arrow-callback": 1,
"prefer-const": 2,
"prefer-destructuring": 1,
"prefer-numeric-literals": 1,
"prefer-rest-params": 2,
"prefer-spread": 2,
"prefer-template": 2,
"rest-spread-spacing": 2,
"template-curly-spacing": 2,
"array-bracket-spacing": [1, "always", { "arraysInArrays": false, "objectsInArrays": false }],
"block-spacing": 1,
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"camelcase": 1,
"comma-spacing": 1,
"comma-style": 1,
"computed-property-spacing": 1,
"func-call-spacing": 2,
"function-paren-newline": [1, "consistent"],
"implicit-arrow-linebreak": 1,
"indent": [1, 2, { "SwitchCase": 1 }],
"key-spacing": 1,
"keyword-spacing": 1,
"linebreak-style": 1,
"max-params": [1, 6],
"new-cap": 1,
"new-parens": 1,
"no-array-constructor": 1,
"no-lonely-if": 1,
"no-multi-assign": 1,
"no-multiple-empty-lines": 1,
"no-nested-ternary": 1,
"no-new-object": 1,
"no-trailing-spaces": 1,
"no-underscore-dangle": 1,
"no-unneeded-ternary": 1,
"no-whitespace-before-property": 1,
"nonblock-statement-body-position": 1,
"object-curly-newline": [1, { "consistent": true }],
"object-curly-spacing": [1, "always", { "arraysInObjects": false, "objectsInObjects": false }],
"operator-linebreak": [ 1, "before" ],
"quote-props": [1, "as-needed"],
"quotes": [1, "single", { "avoidEscape": true }],
"semi": 1,
"semi-spacing": 1,
"space-before-blocks": 1,
"space-before-function-paren": [1, "never"],
"space-in-parens": 1,
"space-infix-ops": 1,
"space-unary-ops": 1,
"switch-colon-spacing": 1
}
}