|
5 | 5 | },
|
6 | 6 |
|
7 | 7 | parserOptions: {
|
8 |
| - sourceType: "module", |
| 8 | + sourceType: 'module', |
9 | 9 | },
|
10 | 10 |
|
11 | 11 | plugins: [
|
|
18 | 18 | ],
|
19 | 19 |
|
20 | 20 | rules: {
|
21 |
| - "jest/no-standalone-expect": 0, |
22 |
| - "jest/expect-expect": 0, |
23 |
| - "jest/no-done-callback": 0, |
24 |
| - "jest/no-identical-title": 0, |
25 |
| - |
| 21 | + 'jest/no-standalone-expect': 0, |
| 22 | + 'jest/expect-expect': 0, |
| 23 | + 'jest/no-done-callback': 0, |
| 24 | + 'jest/no-identical-title': 0, |
| 25 | + |
26 | 26 |
|
27 | 27 | // Possible Errors
|
28 |
| - comma-dangle: [2, "always-multiline"], |
| 28 | + comma-dangle: [ 2, 'always-multiline' ], |
29 | 29 | no-cond-assign: 0,
|
30 | 30 | no-console: 2,
|
31 | 31 | no-constant-condition: 0,
|
|
61 | 61 | curly: 0,
|
62 | 62 | default-case: 0,
|
63 | 63 | dot-notation: 2,
|
64 |
| - dot-location: [2, "property"], |
| 64 | + dot-location: [ 2, 'property' ], |
65 | 65 | eqeqeq: 2,
|
66 | 66 | guard-for-in: 0,
|
67 | 67 | no-alert: 2,
|
|
105 | 105 | no-with: 2,
|
106 | 106 | radix: 2,
|
107 | 107 | vars-on-top: 0,
|
108 |
| - wrap-iife: [2, "inside"], |
| 108 | + wrap-iife: [ 2, 'inside' ], |
109 | 109 | yoda: 2,
|
110 | 110 |
|
111 | 111 | // Strict Mode
|
112 |
| - strict: [2, "never"], |
| 112 | + strict: [ 2, 'never' ], |
113 | 113 |
|
114 | 114 | // Variables
|
115 | 115 | init-declarations: 0,
|
|
121 | 121 | no-undef-init: 2,
|
122 | 122 | no-undef: 2,
|
123 | 123 | no-undefined: 0,
|
124 |
| - no-unused-vars: [ 2, { args: "none" }], |
125 |
| - no-use-before-define: [2, { functions: false, classes: false }], |
| 124 | + no-unused-vars: [ 2, { args: 'none' } ], |
| 125 | + no-use-before-define: [ 2, { functions: false, classes: false } ], |
126 | 126 |
|
127 | 127 | // Node.js
|
128 | 128 | callback-return: 0,
|
|
136 | 136 |
|
137 | 137 | // Stylistic Issues
|
138 | 138 | array-bracket-spacing: 2,
|
139 |
| - arrow-parens: [2, "as-needed"], |
| 139 | + arrow-parens: [ 2, 'as-needed' ], |
140 | 140 | block-spacing: 2,
|
141 |
| - brace-style: [2, "stroustrup", { allowSingleLine: true }], |
| 141 | + brace-style: [ 2, 'stroustrup', { allowSingleLine: true } ], |
142 | 142 | camelcase: 2,
|
143 | 143 | comma-spacing: 2,
|
144 | 144 | comma-style: 2,
|
145 | 145 | computed-property-spacing: 2,
|
146 | 146 | consistent-this: 0,
|
147 | 147 | eol-last: 2,
|
148 | 148 | func-names: 0,
|
149 |
| - func-style: [2, "declaration"], |
| 149 | + func-style: [ 2, 'declaration' ], |
150 | 150 | id-length: 0,
|
151 | 151 | id-match: 2,
|
152 |
| - indent-legacy: [2, 2, { VariableDeclarator: 2 }], |
153 |
| - key-spacing: [2, { mode: "minimum" }], |
| 152 | + indent-legacy: [ 2, 2, { VariableDeclarator: 2 } ], |
| 153 | + key-spacing: [ 2, { mode: 'minimum' } ], |
154 | 154 | lines-around-comment: 2,
|
155 | 155 | linebreak-style: 2,
|
156 |
| - max-nested-callbacks: [2, 1], |
| 156 | + max-nested-callbacks: [ 2, 1 ], |
157 | 157 | new-cap: 2,
|
158 | 158 | new-parens: 2,
|
159 | 159 | newline-after-var: 0,
|
|
172 | 172 | no-underscore-dangle: 0,
|
173 | 173 | no-unneeded-ternary: 2,
|
174 | 174 | no-var: 2,
|
175 |
| - object-curly-spacing: [2, "always"], |
| 175 | + object-curly-spacing: [ 2, 'always' ], |
176 | 176 | object-curly-newline: 0,
|
177 | 177 | object-property-newline: 0,
|
178 | 178 | one-var: 0,
|
179 | 179 | operator-assignment: 2,
|
180 |
| - operator-linebreak: [2, "after", { overrides: { ":": "ignore" } }], |
181 |
| - padded-blocks: [2, "never"], |
| 180 | + operator-linebreak: [ 2, 'after', { overrides: { ':': 'ignore' } } ], |
| 181 | + padded-blocks: [ 2, 'never' ], |
182 | 182 | prefer-arrow-callback: 2,
|
183 | 183 | prefer-const: 2,
|
184 | 184 | prefer-template: 2,
|
185 |
| - quote-props: [2, "consistent-as-needed"], |
186 |
| - quotes: [2, "single", "avoid-escape"], |
| 185 | + quote-props: [ 2, 'consistent-as-needed' ], |
| 186 | + quotes: [ 2, 'single', 'avoid-escape' ], |
187 | 187 | semi-spacing: 2,
|
188 | 188 | semi: 2,
|
189 | 189 | sort-vars: 0,
|
190 | 190 | keyword-spacing: 2,
|
191 | 191 | space-before-blocks: 2,
|
192 |
| - space-before-function-paren: [2, {"anonymous": "always", "named": "never"}], |
| 192 | + space-before-function-paren: [ 2, { anonymous: 'always', named: 'never' } ], |
193 | 193 | space-in-parens: 2,
|
194 | 194 | space-infix-ops: 2,
|
195 | 195 | space-unary-ops: 2,
|
196 |
| - spaced-comment: [2, "always", { block: { markers: ["!"] } }], |
| 196 | + spaced-comment: [ 2, 'always', { block: { markers: [ '!' ] } } ], |
197 | 197 | template-curly-spacing: 2,
|
198 | 198 | wrap-regex: 0,
|
199 | 199 |
|
|
232 | 232 | 'import/first': 2,
|
233 | 233 | 'import/group-exports': 0,
|
234 | 234 | 'import/imports-first': 2,
|
235 |
| - 'import/max-dependencies': [2, {"max": 15}], |
| 235 | + 'import/max-dependencies': [ 2, { max: 15 } ], |
236 | 236 | 'import/newline-after-import': 2,
|
237 | 237 | 'import/no-anonymous-default-export': 0,
|
238 | 238 | 'import/no-default-export': 0,
|
|
0 commit comments