UNPKG

2.37 kBPlain TextView Raw
1{
2 "extends": "eslint:recommended",
3 "env": {
4 "node": true,
5 "mocha": true
6 },
7 "rules": {
8 "array-bracket-spacing": [
9 2,
10 "never"
11 ],
12 "brace-style": [
13 2,
14 "1tbs"
15 ],
16 "consistent-return": 0,
17 "indent": [
18 2,
19 4,
20 {
21 "SwitchCase": 1
22 }
23 ],
24 "no-multiple-empty-lines": [
25 2,
26 {
27 "max": 2
28 }
29 ],
30 "no-use-before-define": [
31 2,
32 "nofunc"
33 ],
34 "one-var": [
35 2,
36 "never"
37 ],
38 "quote-props": [
39 2,
40 "as-needed"
41 ],
42 "quotes": [
43 2,
44 "single"
45 ],
46 "space-before-blocks": [
47 2,
48 "always"
49 ],
50 "space-after-keywords": [
51 2,
52 "always"
53 ],
54 "space-before-function-paren": [
55 2,
56 {
57 "anonymous": "always",
58 "named": "never"
59 }
60 ],
61 "space-in-parens": [
62 2,
63 "never"
64 ],
65 "strict": [
66 2,
67 "global"
68 ],
69 "curly": [
70 2,
71 "all"
72 ],
73 "eol-last": 2,
74 "key-spacing": [
75 2,
76 {
77 "beforeColon": false,
78 "afterColon": true
79 }
80 ],
81 "no-eval": 2,
82 "no-with": 2,
83 "space-infix-ops": 2,
84 "dot-notation": [
85 2,
86 {
87 "allowKeywords": true
88 }
89 ],
90 "eqeqeq": [
91 2,
92 "allow-null"
93 ],
94 "no-alert": 2,
95 "no-caller": 2,
96 "no-console": 0,
97 "no-empty-label": 2,
98 "no-extend-native": 2,
99 "no-extra-bind": 2,
100 "no-implied-eval": 2,
101 "no-iterator": 2,
102 "no-label-var": 2,
103 "no-labels": 2,
104 "no-lone-blocks": 2,
105 "no-loop-func": 2,
106 "no-multi-spaces": 2,
107 "no-multi-str": 2,
108 "no-native-reassign": 2,
109 "no-new": 2,
110 "no-new-func": 2,
111 "no-new-wrappers": 2,
112 "no-octal-escape": 2,
113 "no-proto": 2,
114 "no-return-assign": 2,
115 "no-script-url": 2,
116 "no-sequences": 2,
117 "no-unused-expressions": 2,
118 "yoda": 2,
119 "no-shadow": 2,
120 "no-shadow-restricted-names": 2,
121 "no-undef-init": 2,
122 "camelcase": 2,
123 "comma-spacing": 2,
124 "new-cap": 2,
125 "new-parens": 2,
126 "no-array-constructor": 2,
127 "no-extra-parens": 2,
128 "no-new-object": 2,
129 "no-spaced-func": 2,
130 "no-trailing-spaces": 2,
131 "semi": 2,
132 "semi-spacing": [
133 2,
134 {
135 "before": false,
136 "after": true
137 }
138 ],
139 "space-return-throw-case": 2
140 }
141}