1 | env:
|
2 | es6: true
|
3 | node: true
|
4 | parserOptions:
|
5 | ecmaVersion: 2018
|
6 | rules:
|
7 | accessor-pairs: [ 2, { "setWithoutGet": true } ]
|
8 | array-bracket-spacing: [ 2, "always" ]
|
9 | array-callback-return: 2
|
10 | arrow-body-style: 0
|
11 | arrow-parens: 0
|
12 | arrow-spacing: [ 2, { "before": true, "after": true } ]
|
13 | block-scoped-var: 1
|
14 | block-spacing: [ 2, "always" ]
|
15 | brace-style: [ 2, "1tbs" ]
|
16 | callback-return: 0
|
17 | camelcase: [ 2, { "properties": "always" } ]
|
18 | comma-dangle: 0
|
19 | comma-spacing: [ 2, { "before": false, "after": true } ]
|
20 | computed-property-spacing: [ 2, "never" ]
|
21 | consistent-return: 0
|
22 | consistent-this: [ 2, "self" ]
|
23 | constructor-super: 0
|
24 | curly: [ 2, "all" ]
|
25 | default-case: 0
|
26 | dot-location: [ 2, "property" ]
|
27 | dot-notation: [ 2, { "allowKeywords": true } ]
|
28 | eol-last: 2
|
29 | eqeqeq: 2
|
30 | func-names: 0
|
31 | func-style: [ 2, "declaration" ]
|
32 | generator-star-spacing: [ 2, "after" ]
|
33 | global-require: 0
|
34 | guard-for-in: 2
|
35 | handle-callback-err: [ 2, "error" ]
|
36 | id-blacklist: 0
|
37 | id-length: 0
|
38 | id-match: 0
|
39 | indent: [ 2, 2, { "SwitchCase": 1 } ]
|
40 | init-declarations: 0
|
41 | jsx-quotes: 0
|
42 | key-spacing: [ 2, { "beforeColon": false, "afterColon": true } ]
|
43 | keyword-spacing: [ 2, { "before": true, "after": true } ]
|
44 | linebreak-style: [ 2, "unix" ]
|
45 | lines-around-comment: 0
|
46 | max-depth: [ 1, 3 ]
|
47 | max-nested-callbacks: [ 1, 2 ]
|
48 | max-params: [ 1, 4 ]
|
49 | max-statements: 0
|
50 | new-cap: 2
|
51 | new-parens: 2
|
52 | newline-after-var: 0
|
53 | newline-before-return: 0
|
54 | newline-per-chained-call: 1
|
55 | no-alert: 2
|
56 | no-array-constructor: 2
|
57 | no-bitwise: 1
|
58 | no-caller: 2
|
59 | no-case-declarations: 2
|
60 | no-catch-shadow: 2
|
61 | no-class-assign: 2
|
62 | no-cond-assign: [ 2, "always" ]
|
63 | no-confusing-arrow: 0
|
64 | no-console: 1
|
65 | no-constant-condition: 2
|
66 | no-const-assign: 2
|
67 | no-continue: 1
|
68 | no-control-regex: 2
|
69 | no-debugger: 2
|
70 | no-delete-var: 2
|
71 | no-div-regex: 0
|
72 | no-dupe-args: 2
|
73 | no-dupe-class-members: 2
|
74 | no-dupe-keys: 2
|
75 | no-duplicate-case: 2
|
76 | no-else-return: 2
|
77 | no-empty: 2
|
78 | no-empty-character-class: 2
|
79 | no-empty-function: 0
|
80 | no-empty-pattern: 2
|
81 | no-eq-null: 2
|
82 | no-eval: 2
|
83 | no-ex-assign: 2
|
84 | no-extend-native: 2
|
85 | no-extra-bind: 2
|
86 | no-extra-boolean-cast: 2
|
87 | no-extra-label: 2
|
88 | no-extra-parens: [ 2, "all", { "nestedBinaryExpressions": false } ]
|
89 | no-extra-semi: 2
|
90 | no-fallthrough: 0
|
91 | no-floating-decimal: 2
|
92 | no-func-assign: 2
|
93 | no-implicit-coercion: 0
|
94 | no-implicit-globals: 0
|
95 | no-implied-eval: 2
|
96 | no-inline-comments: 2
|
97 | no-inner-declarations: [ 2, "both" ]
|
98 | no-invalid-regexp: 2
|
99 | no-invalid-this: 1
|
100 | no-irregular-whitespace: 2
|
101 | no-iterator: 2
|
102 | no-labels: 2
|
103 | no-label-var: 2
|
104 | no-lonely-if: 2
|
105 | no-lone-blocks: 1
|
106 | no-loop-func: 2
|
107 | no-magic-numbers: 0
|
108 | no-mixed-requires: 0
|
109 | no-mixed-spaces-and-tabs: 2
|
110 | no-multiple-empty-lines: [ 2, { "max": 1, "maxEOF": 1, "maxBOF": 0 } ]
|
111 | no-multi-spaces: 2
|
112 | no-multi-str: 2
|
113 | no-native-reassign: 2
|
114 | no-negated-condition: 2
|
115 | no-negated-in-lhs: 2
|
116 | no-nested-ternary: 2
|
117 | no-new: 1
|
118 | no-new-func: 2
|
119 | no-new-object: 2
|
120 | no-new-require: 2
|
121 | no-new-symbol: 2
|
122 | no-new-wrappers: 2
|
123 | no-obj-calls: 2
|
124 | no-octal: 2
|
125 | no-octal-escape: 2
|
126 | no-param-reassign: 0
|
127 | no-path-concat: 2
|
128 | no-plusplus: 0
|
129 | no-process-env: 0
|
130 | no-process-exit: 1
|
131 | no-proto: 2
|
132 | no-redeclare: [ 2, { "builtinGlobals": true } ]
|
133 | no-regex-spaces: 2
|
134 | no-restricted-globals: 2
|
135 | no-restricted-imports: 0
|
136 | no-restricted-modules: 0
|
137 | no-restricted-syntax: 0
|
138 | no-return-assign: 0
|
139 | no-script-url: 2
|
140 | no-self-assign: 2
|
141 | no-self-compare: 2
|
142 | no-sequences: 2
|
143 | no-shadow: [ 2, { "hoist": "all" } ]
|
144 | no-shadow-restricted-names: 2
|
145 | no-spaced-func: 2
|
146 | no-sparse-arrays: 2
|
147 | no-sync: 0
|
148 | no-ternary: 1
|
149 | no-this-before-super: 2
|
150 | no-throw-literal: 1
|
151 | no-trailing-spaces: 2
|
152 | no-undef: 2
|
153 | no-undef-init: 2
|
154 | no-undefined: 2
|
155 | no-underscore-dangle: 2
|
156 | no-unexpected-multiline: 2
|
157 | no-unmodified-loop-condition: 2
|
158 | no-unneeded-ternary: 2
|
159 | no-unreachable: 2
|
160 | no-unused-expressions: 2
|
161 | no-unused-labels: 2
|
162 | no-unused-vars: [ 2, "all" ]
|
163 | no-useless-call: 2
|
164 | no-useless-concat: 2
|
165 | no-useless-constructor: 2
|
166 | no-use-before-define: 0
|
167 | no-var: 1
|
168 | no-void: 2
|
169 | no-warning-comments: 1
|
170 | no-whitespace-before-property: 2
|
171 | no-with: 2
|
172 | object-curly-spacing: [ 2, "always" ]
|
173 | object-shorthand: [ 2, "always" ]
|
174 | one-var: 0
|
175 | one-var-declaration-per-line: 0
|
176 | operator-assignment: [ 2, "always" ]
|
177 | operator-linebreak: [ 2, "after" ]
|
178 | padded-blocks: [ 2, "never" ]
|
179 | prefer-arrow-callback: 2
|
180 | prefer-const: 2
|
181 | prefer-reflect: 0
|
182 | prefer-rest-params: 2
|
183 | prefer-spread: 2
|
184 | prefer-template: 2
|
185 | quote-props: [ 2, "as-needed" ]
|
186 | radix: 0
|
187 | require-jsdoc: 0
|
188 | require-yield: 2
|
189 | semi: [ 2, "never" ]
|
190 | semi-spacing: 0
|
191 | sort-imports: 0
|
192 | sort-vars: 0
|
193 | space-before-blocks: [ 2, "always" ]
|
194 | space-before-function-paren: [ 2, { "anonymous": "always", "named": "always" } ]
|
195 | space-infix-ops: 2
|
196 | space-unary-ops: 0
|
197 | spaced-comment: [ 1, "always" ]
|
198 | strict: [ 2, "global" ]
|
199 | template-curly-spacing: [ 2, "never" ]
|
200 | use-isnan: 2
|
201 | valid-jsdoc: 0
|
202 | valid-typeof: 2
|
203 | vars-on-top: 0
|
204 | wrap-iife: 2
|
205 | wrap-regex: 0
|
206 | yield-star-spacing: [ 2, { "before": false, "after": true } ]
|
207 | yoda: [ 2, "never" ]
|