@eslinted/defaults 20.4.0 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +48 -67
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/css/index.d.ts +1 -1
- package/dist/rules/css/index.d.ts.map +1 -1
- package/dist/rules/css/index.js +15 -17
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/html/index.d.ts +1 -1
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js +39 -41
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +48 -67
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js.d.ts +219 -221
- package/dist/rules/js.d.ts.map +1 -1
- package/dist/rules/js.js +545 -7
- package/dist/rules/js.js.map +1 -1
- package/dist/rules/json/index.d.ts +15 -17
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +29 -7
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +1 -1
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js +8 -10
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +75 -81
- package/dist/rules/svelte/index.d.ts.map +1 -1
- package/dist/rules/svelte/index.js +103 -9
- package/dist/rules/svelte/index.js.map +1 -1
- package/dist/rules/ts/index.d.ts +135 -140
- package/dist/rules/ts/index.d.ts.map +1 -1
- package/dist/rules/ts/index.js +235 -9
- package/dist/rules/ts/index.js.map +1 -1
- package/dist/rules/yml/index.d.ts +1 -1
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/index.js +30 -32
- package/dist/rules/yml/index.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/css/index.ts +18 -20
- package/src/rules/html/index.ts +72 -74
- package/src/rules/js.ts +621 -6
- package/src/rules/json/index.ts +68 -6
- package/src/rules/jsonc/index.ts +9 -11
- package/src/rules/svelte/index.ts +163 -11
- package/src/rules/ts/index.ts +275 -9
- package/src/rules/yml/index.ts +52 -54
- package/dist/rules/js.eslint.d.ts +0 -289
- package/dist/rules/js.eslint.d.ts.map +0 -1
- package/dist/rules/js.eslint.js +0 -285
- package/dist/rules/js.eslint.js.map +0 -1
- package/dist/rules/js.stylistic.d.ts +0 -271
- package/dist/rules/js.stylistic.d.ts.map +0 -1
- package/dist/rules/js.stylistic.js +0 -265
- package/dist/rules/js.stylistic.js.map +0 -1
- package/dist/rules/json/json.d.ts +0 -9
- package/dist/rules/json/json.d.ts.map +0 -1
- package/dist/rules/json/json.js +0 -7
- package/dist/rules/json/json.js.map +0 -1
- package/dist/rules/json/jsonc.d.ts +0 -29
- package/dist/rules/json/jsonc.d.ts.map +0 -1
- package/dist/rules/json/jsonc.js +0 -27
- package/dist/rules/json/jsonc.js.map +0 -1
- package/dist/rules/svelte/disable.d.ts +0 -17
- package/dist/rules/svelte/disable.d.ts.map +0 -1
- package/dist/rules/svelte/disable.js +0 -15
- package/dist/rules/svelte/disable.js.map +0 -1
- package/dist/rules/svelte/extend.d.ts +0 -13
- package/dist/rules/svelte/extend.d.ts.map +0 -1
- package/dist/rules/svelte/extend.js +0 -11
- package/dist/rules/svelte/extend.js.map +0 -1
- package/dist/rules/svelte/html.d.ts +0 -14
- package/dist/rules/svelte/html.d.ts.map +0 -1
- package/dist/rules/svelte/html.js +0 -12
- package/dist/rules/svelte/html.js.map +0 -1
- package/dist/rules/svelte/svelte.d.ts +0 -94
- package/dist/rules/svelte/svelte.d.ts.map +0 -1
- package/dist/rules/svelte/svelte.js +0 -88
- package/dist/rules/svelte/svelte.js.map +0 -1
- package/dist/rules/ts/disable.d.ts +0 -26
- package/dist/rules/ts/disable.d.ts.map +0 -1
- package/dist/rules/ts/disable.js +0 -24
- package/dist/rules/ts/disable.js.map +0 -1
- package/dist/rules/ts/extend.d.ts +0 -38
- package/dist/rules/ts/extend.d.ts.map +0 -1
- package/dist/rules/ts/extend.js +0 -36
- package/dist/rules/ts/extend.js.map +0 -1
- package/dist/rules/ts/ts.d.ts +0 -187
- package/dist/rules/ts/ts.d.ts.map +0 -1
- package/dist/rules/ts/ts.js +0 -185
- package/dist/rules/ts/ts.js.map +0 -1
- package/src/rules/js.eslint.ts +0 -348
- package/src/rules/js.stylistic.ts +0 -279
- package/src/rules/json/json.ts +0 -13
- package/src/rules/json/jsonc.ts +0 -63
- package/src/rules/svelte/disable.ts +0 -21
- package/src/rules/svelte/extend.ts +0 -14
- package/src/rules/svelte/html.ts +0 -14
- package/src/rules/svelte/svelte.ts +0 -126
- package/src/rules/ts/disable.ts +0 -26
- package/src/rules/ts/extend.ts +0 -42
- package/src/rules/ts/ts.ts +0 -210
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
import { State } from "./state.js";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
rules: {
|
|
4
|
-
readonly "array-callback-return": readonly [
|
|
5
|
-
State.ON,
|
|
6
|
-
{
|
|
7
|
-
readonly checkForEach: true;
|
|
8
|
-
readonly allowVoid: true;
|
|
9
|
-
}
|
|
10
|
-
];
|
|
11
|
-
readonly "constructor-super": State.ON;
|
|
12
|
-
readonly "for-direction": State.ON;
|
|
13
|
-
readonly "getter-return": State.ON;
|
|
14
|
-
readonly "no-async-promise-executor": State.ON;
|
|
15
|
-
readonly "no-await-in-loop": State.ON;
|
|
16
|
-
readonly "no-class-assign": State.ON;
|
|
17
|
-
readonly "no-compare-neg-zero": State.ON;
|
|
18
|
-
readonly "no-cond-assign": State.ON;
|
|
19
|
-
readonly "no-const-assign": State.ON;
|
|
20
|
-
readonly "no-constant-binary-expression": State.ON;
|
|
21
|
-
readonly "no-constant-condition": readonly [
|
|
22
|
-
State.ON,
|
|
23
|
-
{
|
|
24
|
-
readonly checkLoops: "all";
|
|
25
|
-
}
|
|
26
|
-
];
|
|
27
|
-
readonly "no-constructor-return": State.ON;
|
|
28
|
-
readonly "no-control-regex": State.ON;
|
|
29
|
-
readonly "no-debugger": State.ON;
|
|
30
|
-
readonly "no-dupe-args": State.ON;
|
|
31
|
-
readonly "no-dupe-class-members": State.ON;
|
|
32
|
-
readonly "no-dupe-else-if": State.ON;
|
|
33
|
-
readonly "no-dupe-keys": State.ON;
|
|
34
|
-
readonly "no-duplicate-case": State.ON;
|
|
35
|
-
readonly "no-duplicate-imports": readonly [
|
|
36
|
-
State.ON,
|
|
37
|
-
{
|
|
38
|
-
readonly includeExports: true;
|
|
39
|
-
readonly allowSeparateTypeImports: true;
|
|
40
|
-
}
|
|
41
|
-
];
|
|
42
|
-
readonly "no-empty-character-class": State.ON;
|
|
43
|
-
readonly "no-empty-pattern": State.ON;
|
|
44
|
-
readonly "no-ex-assign": State.ON;
|
|
45
|
-
readonly "no-fallthrough": State.ON;
|
|
46
|
-
readonly "no-func-assign": State.ON;
|
|
47
|
-
readonly "no-import-assign": State.ON;
|
|
48
|
-
readonly "no-inner-declarations": readonly [
|
|
49
|
-
State.ON,
|
|
50
|
-
"both"
|
|
51
|
-
];
|
|
52
|
-
readonly "no-invalid-regexp": State.ON;
|
|
53
|
-
readonly "no-irregular-whitespace": State.ON;
|
|
54
|
-
readonly "no-loss-of-precision": State.ON;
|
|
55
|
-
readonly "no-misleading-character-class": State.ON;
|
|
56
|
-
readonly "no-new-native-nonconstructor": State.ON;
|
|
57
|
-
readonly "no-obj-calls": State.ON;
|
|
58
|
-
readonly "no-promise-executor-return": readonly [
|
|
59
|
-
State.ON,
|
|
60
|
-
{
|
|
61
|
-
readonly allowVoid: true;
|
|
62
|
-
}
|
|
63
|
-
];
|
|
64
|
-
readonly "no-prototype-builtins": State.ON;
|
|
65
|
-
readonly "no-self-assign": State.ON;
|
|
66
|
-
readonly "no-self-compare": State.ON;
|
|
67
|
-
readonly "no-setter-return": State.ON;
|
|
68
|
-
readonly "no-sparse-arrays": State.ON;
|
|
69
|
-
readonly "no-template-curly-in-string": State.ON;
|
|
70
|
-
readonly "no-this-before-super": State.ON;
|
|
71
|
-
readonly "no-unassigned-vars": State.ON;
|
|
72
|
-
readonly "no-undef": State.ON;
|
|
73
|
-
readonly "no-unexpected-multiline": State.ON;
|
|
74
|
-
readonly "no-unmodified-loop-condition": State.ON;
|
|
75
|
-
readonly "no-unreachable": State.WARN;
|
|
76
|
-
readonly "no-unreachable-loop": State.WARN;
|
|
77
|
-
readonly "no-unsafe-finally": State.ON;
|
|
78
|
-
readonly "no-unsafe-negation": readonly [
|
|
79
|
-
State.ON,
|
|
80
|
-
{
|
|
81
|
-
readonly enforceForOrderingRelations: true;
|
|
82
|
-
}
|
|
83
|
-
];
|
|
84
|
-
readonly "no-unsafe-optional-chaining": readonly [
|
|
85
|
-
State.ON,
|
|
86
|
-
{
|
|
87
|
-
readonly disallowArithmeticOperators: true;
|
|
88
|
-
}
|
|
89
|
-
];
|
|
90
|
-
readonly "no-unused-private-class-members": State.WARN;
|
|
91
|
-
readonly "no-unused-vars": State.WARN;
|
|
92
|
-
readonly "no-use-before-define": readonly [
|
|
93
|
-
State.ON,
|
|
94
|
-
{
|
|
95
|
-
readonly typedefs: false;
|
|
96
|
-
}
|
|
97
|
-
];
|
|
98
|
-
readonly "no-useless-assignment": State.ON;
|
|
99
|
-
readonly "no-useless-backreference": State.ON;
|
|
100
|
-
readonly "require-atomic-updates": State.ON;
|
|
101
|
-
readonly "use-isnan": readonly [
|
|
102
|
-
State.ON,
|
|
103
|
-
{
|
|
104
|
-
readonly enforceForIndexOf: true;
|
|
105
|
-
}
|
|
106
|
-
];
|
|
107
|
-
readonly "valid-typeof": readonly [
|
|
108
|
-
State.ON,
|
|
109
|
-
{
|
|
110
|
-
readonly requireStringLiterals: true;
|
|
111
|
-
}
|
|
112
|
-
];
|
|
113
|
-
readonly "accessor-pairs": readonly [
|
|
114
|
-
State.ON,
|
|
115
|
-
{
|
|
116
|
-
readonly enforceForTSTypes: true;
|
|
117
|
-
}
|
|
118
|
-
];
|
|
119
|
-
readonly "arrow-body-style": State.WARN;
|
|
120
|
-
readonly "block-scoped-var": State.ON;
|
|
121
|
-
readonly "consistent-return": State.ON;
|
|
122
|
-
readonly "consistent-this": State.ON;
|
|
123
|
-
readonly curly: readonly [
|
|
124
|
-
State.WARN,
|
|
125
|
-
"multi"
|
|
126
|
-
];
|
|
127
|
-
readonly "default-case-last": State.ON;
|
|
128
|
-
readonly "default-param-last": State.ON;
|
|
129
|
-
readonly "dot-notation": State.WARN;
|
|
130
|
-
readonly eqeqeq: State.ON;
|
|
131
|
-
readonly "init-declarations": State.WARN;
|
|
132
|
-
readonly "logical-assignment-operators": readonly [
|
|
133
|
-
State.WARN,
|
|
134
|
-
"always",
|
|
135
|
-
{
|
|
136
|
-
readonly enforceForIfStatements: true;
|
|
137
|
-
}
|
|
138
|
-
];
|
|
139
|
-
readonly "no-alert": State.ON;
|
|
140
|
-
readonly "no-array-constructor": State.ON;
|
|
141
|
-
readonly "no-bitwise": State.ON;
|
|
142
|
-
readonly "no-caller": State.ON;
|
|
143
|
-
readonly "no-case-declarations": State.ON;
|
|
144
|
-
readonly "no-continue": State.ON;
|
|
145
|
-
readonly "no-delete-var": State.ON;
|
|
146
|
-
readonly "no-div-regex": State.ON;
|
|
147
|
-
readonly "no-else-return": State.ON;
|
|
148
|
-
readonly "no-empty": State.ON;
|
|
149
|
-
readonly "no-empty-function": readonly [
|
|
150
|
-
State.WARN,
|
|
151
|
-
{
|
|
152
|
-
readonly allow: readonly [
|
|
153
|
-
"constructors",
|
|
154
|
-
"privateConstructors",
|
|
155
|
-
"protectedConstructors",
|
|
156
|
-
"decoratedFunctions",
|
|
157
|
-
"overrideMethods"
|
|
158
|
-
];
|
|
159
|
-
}
|
|
160
|
-
];
|
|
161
|
-
readonly "no-empty-static-block": State.WARN;
|
|
162
|
-
readonly "no-eq-null": State.ON;
|
|
163
|
-
readonly "no-eval": State.ON;
|
|
164
|
-
readonly "no-extend-native": State.ON;
|
|
165
|
-
readonly "no-extra-bind": State.ON;
|
|
166
|
-
readonly "no-extra-boolean-cast": readonly [
|
|
167
|
-
State.WARN,
|
|
168
|
-
{
|
|
169
|
-
readonly enforceForLogicalOperands: true;
|
|
170
|
-
}
|
|
171
|
-
];
|
|
172
|
-
readonly "no-extra-label": State.WARN;
|
|
173
|
-
readonly "no-global-assign": State.ON;
|
|
174
|
-
readonly "no-implicit-coercion": State.ON;
|
|
175
|
-
readonly "no-implied-eval": State.ON;
|
|
176
|
-
readonly "no-invalid-this": readonly [
|
|
177
|
-
State.ON,
|
|
178
|
-
{
|
|
179
|
-
readonly capIsConstructor: false;
|
|
180
|
-
}
|
|
181
|
-
];
|
|
182
|
-
readonly "no-iterator": State.ON;
|
|
183
|
-
readonly "no-label-var": State.WARN;
|
|
184
|
-
readonly "no-lone-blocks": State.ON;
|
|
185
|
-
readonly "no-loop-func": State.ON;
|
|
186
|
-
readonly "no-multi-assign": State.ON;
|
|
187
|
-
readonly "no-multi-str": State.WARN;
|
|
188
|
-
readonly "no-new": State.ON;
|
|
189
|
-
readonly "no-new-func": State.ON;
|
|
190
|
-
readonly "no-new-wrappers": State.ON;
|
|
191
|
-
readonly "no-nonoctal-decimal-escape": State.ON;
|
|
192
|
-
readonly "no-object-constructor": State.ON;
|
|
193
|
-
readonly "no-octal": State.ON;
|
|
194
|
-
readonly "no-octal-escape": State.ON;
|
|
195
|
-
readonly "no-param-reassign": State.ON;
|
|
196
|
-
readonly "no-plusplus": readonly [
|
|
197
|
-
State.ON,
|
|
198
|
-
{
|
|
199
|
-
readonly allowForLoopAfterthoughts: true;
|
|
200
|
-
}
|
|
201
|
-
];
|
|
202
|
-
readonly "no-proto": State.ON;
|
|
203
|
-
readonly "no-script-url": State.ON;
|
|
204
|
-
readonly "no-sequences": State.ON;
|
|
205
|
-
readonly "no-shadow-restricted-names": State.ON;
|
|
206
|
-
readonly "no-throw-literal": State.WARN;
|
|
207
|
-
readonly "no-undef-init": State.ON;
|
|
208
|
-
readonly "no-unneeded-ternary": State.WARN;
|
|
209
|
-
readonly "no-unused-expressions": readonly [
|
|
210
|
-
State.WARN,
|
|
211
|
-
{
|
|
212
|
-
readonly allowShortCircuit: true;
|
|
213
|
-
readonly allowTernary: true;
|
|
214
|
-
}
|
|
215
|
-
];
|
|
216
|
-
readonly "no-unused-labels": State.WARN;
|
|
217
|
-
readonly "no-useless-call": State.WARN;
|
|
218
|
-
readonly "no-useless-catch": State.WARN;
|
|
219
|
-
readonly "no-useless-computed-key": State.WARN;
|
|
220
|
-
readonly "no-useless-concat": State.WARN;
|
|
221
|
-
readonly "no-useless-constructor": State.WARN;
|
|
222
|
-
readonly "no-useless-escape": readonly [
|
|
223
|
-
State.WARN,
|
|
224
|
-
{
|
|
225
|
-
readonly allowRegexCharacters: readonly [
|
|
226
|
-
"-"
|
|
227
|
-
];
|
|
228
|
-
}
|
|
229
|
-
];
|
|
230
|
-
readonly "no-useless-rename": State.WARN;
|
|
231
|
-
readonly "no-useless-return": State.WARN;
|
|
232
|
-
readonly "no-var": State.WARN;
|
|
233
|
-
readonly "no-void": readonly [
|
|
234
|
-
State.ON,
|
|
235
|
-
{
|
|
236
|
-
readonly allowAsStatement: true;
|
|
237
|
-
}
|
|
238
|
-
];
|
|
239
|
-
readonly "no-with": State.ON;
|
|
240
|
-
readonly "object-shorthand": State.WARN;
|
|
241
|
-
readonly "one-var": readonly [
|
|
242
|
-
State.WARN,
|
|
243
|
-
{
|
|
244
|
-
readonly var: "consecutive";
|
|
245
|
-
readonly let: "consecutive";
|
|
246
|
-
readonly const: "consecutive";
|
|
247
|
-
readonly using: "consecutive";
|
|
248
|
-
readonly awaitUsing: "consecutive";
|
|
249
|
-
readonly separateRequires: true;
|
|
250
|
-
}
|
|
251
|
-
];
|
|
252
|
-
readonly "operator-assignment": State.WARN;
|
|
253
|
-
readonly "prefer-arrow-callback": State.WARN;
|
|
254
|
-
readonly "prefer-const": readonly [
|
|
255
|
-
State.WARN,
|
|
256
|
-
{
|
|
257
|
-
readonly destructuring: "all";
|
|
258
|
-
}
|
|
259
|
-
];
|
|
260
|
-
readonly "prefer-exponentiation-operator": State.WARN;
|
|
261
|
-
readonly "prefer-numeric-literals": State.WARN;
|
|
262
|
-
readonly "prefer-object-has-own": State.WARN;
|
|
263
|
-
readonly "prefer-object-spread": State.WARN;
|
|
264
|
-
readonly "prefer-promise-reject-errors": State.WARN;
|
|
265
|
-
readonly "prefer-regex-literals": readonly [
|
|
266
|
-
State.WARN,
|
|
267
|
-
{
|
|
268
|
-
readonly disallowRedundantWrapping: true;
|
|
269
|
-
}
|
|
270
|
-
];
|
|
271
|
-
readonly "prefer-rest-params": State.WARN;
|
|
272
|
-
readonly "prefer-spread": State.WARN;
|
|
273
|
-
readonly "preserve-caught-error": readonly [
|
|
274
|
-
State.ON,
|
|
275
|
-
{
|
|
276
|
-
readonly requireCatchParameter: true;
|
|
277
|
-
}
|
|
278
|
-
];
|
|
279
|
-
readonly radix: State.ON;
|
|
280
|
-
readonly "require-await": State.ON;
|
|
281
|
-
readonly "require-unicode-regexp": State.ON;
|
|
282
|
-
readonly "require-yield": State.ON;
|
|
283
|
-
readonly "vars-on-top": State.WARN;
|
|
284
|
-
readonly yoda: State.WARN;
|
|
285
|
-
readonly "unicode-bom": State.WARN;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
export default _default;
|
|
289
|
-
//# sourceMappingURL=js.eslint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"js.eslint.d.ts","sourceRoot":"","sources":["../../src/rules/js.eslint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBAwVE"}
|
package/dist/rules/js.eslint.js
DELETED
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
rules: {
|
|
3
|
-
"array-callback-return": [
|
|
4
|
-
2,
|
|
5
|
-
{
|
|
6
|
-
checkForEach: true,
|
|
7
|
-
allowVoid: true,
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
"constructor-super": 2,
|
|
11
|
-
"for-direction": 2,
|
|
12
|
-
"getter-return": 2,
|
|
13
|
-
"no-async-promise-executor": 2,
|
|
14
|
-
"no-await-in-loop": 2,
|
|
15
|
-
"no-class-assign": 2,
|
|
16
|
-
"no-compare-neg-zero": 2,
|
|
17
|
-
"no-cond-assign": 2,
|
|
18
|
-
"no-const-assign": 2,
|
|
19
|
-
"no-constant-binary-expression": 2,
|
|
20
|
-
"no-constant-condition": [
|
|
21
|
-
2,
|
|
22
|
-
{
|
|
23
|
-
checkLoops: "all",
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
"no-constructor-return": 2,
|
|
27
|
-
"no-control-regex": 2,
|
|
28
|
-
"no-debugger": 2,
|
|
29
|
-
"no-dupe-args": 2,
|
|
30
|
-
"no-dupe-class-members": 2,
|
|
31
|
-
"no-dupe-else-if": 2,
|
|
32
|
-
"no-dupe-keys": 2,
|
|
33
|
-
"no-duplicate-case": 2,
|
|
34
|
-
"no-duplicate-imports": [
|
|
35
|
-
2,
|
|
36
|
-
{
|
|
37
|
-
includeExports: true,
|
|
38
|
-
allowSeparateTypeImports: true,
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
"no-empty-character-class": 2,
|
|
42
|
-
"no-empty-pattern": 2,
|
|
43
|
-
"no-ex-assign": 2,
|
|
44
|
-
"no-fallthrough": 2,
|
|
45
|
-
"no-func-assign": 2,
|
|
46
|
-
"no-import-assign": 2,
|
|
47
|
-
"no-inner-declarations": [
|
|
48
|
-
2,
|
|
49
|
-
"both",
|
|
50
|
-
],
|
|
51
|
-
"no-invalid-regexp": 2,
|
|
52
|
-
"no-irregular-whitespace": 2,
|
|
53
|
-
"no-loss-of-precision": 2,
|
|
54
|
-
"no-misleading-character-class": 2,
|
|
55
|
-
"no-new-native-nonconstructor": 2,
|
|
56
|
-
"no-obj-calls": 2,
|
|
57
|
-
"no-promise-executor-return": [
|
|
58
|
-
2,
|
|
59
|
-
{
|
|
60
|
-
allowVoid: true,
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
"no-prototype-builtins": 2,
|
|
64
|
-
"no-self-assign": 2,
|
|
65
|
-
"no-self-compare": 2,
|
|
66
|
-
"no-setter-return": 2,
|
|
67
|
-
"no-sparse-arrays": 2,
|
|
68
|
-
"no-template-curly-in-string": 2,
|
|
69
|
-
"no-this-before-super": 2,
|
|
70
|
-
"no-unassigned-vars": 2,
|
|
71
|
-
"no-undef": 2,
|
|
72
|
-
"no-unexpected-multiline": 2,
|
|
73
|
-
"no-unmodified-loop-condition": 2,
|
|
74
|
-
"no-unreachable": 1,
|
|
75
|
-
"no-unreachable-loop": 1,
|
|
76
|
-
"no-unsafe-finally": 2,
|
|
77
|
-
"no-unsafe-negation": [
|
|
78
|
-
2,
|
|
79
|
-
{
|
|
80
|
-
enforceForOrderingRelations: true,
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
"no-unsafe-optional-chaining": [
|
|
84
|
-
2,
|
|
85
|
-
{
|
|
86
|
-
disallowArithmeticOperators: true,
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
"no-unused-private-class-members": 1,
|
|
90
|
-
"no-unused-vars": 1,
|
|
91
|
-
"no-use-before-define": [
|
|
92
|
-
2,
|
|
93
|
-
{
|
|
94
|
-
typedefs: false,
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
"no-useless-assignment": 2,
|
|
98
|
-
"no-useless-backreference": 2,
|
|
99
|
-
"require-atomic-updates": 2,
|
|
100
|
-
"use-isnan": [
|
|
101
|
-
2,
|
|
102
|
-
{
|
|
103
|
-
enforceForIndexOf: true,
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
"valid-typeof": [
|
|
107
|
-
2,
|
|
108
|
-
{
|
|
109
|
-
requireStringLiterals: true,
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
"accessor-pairs": [
|
|
113
|
-
2,
|
|
114
|
-
{
|
|
115
|
-
enforceForTSTypes: true,
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
"arrow-body-style": 1,
|
|
119
|
-
"block-scoped-var": 2,
|
|
120
|
-
"consistent-return": 2,
|
|
121
|
-
"consistent-this": 2,
|
|
122
|
-
curly: [
|
|
123
|
-
1,
|
|
124
|
-
"multi",
|
|
125
|
-
],
|
|
126
|
-
"default-case-last": 2,
|
|
127
|
-
"default-param-last": 2,
|
|
128
|
-
"dot-notation": 1,
|
|
129
|
-
eqeqeq: 2,
|
|
130
|
-
"init-declarations": 1,
|
|
131
|
-
"logical-assignment-operators": [
|
|
132
|
-
1,
|
|
133
|
-
"always",
|
|
134
|
-
{
|
|
135
|
-
enforceForIfStatements: true,
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
"no-alert": 2,
|
|
139
|
-
"no-array-constructor": 2,
|
|
140
|
-
"no-bitwise": 2,
|
|
141
|
-
"no-caller": 2,
|
|
142
|
-
"no-case-declarations": 2,
|
|
143
|
-
"no-continue": 2,
|
|
144
|
-
"no-delete-var": 2,
|
|
145
|
-
"no-div-regex": 2,
|
|
146
|
-
"no-else-return": 2,
|
|
147
|
-
"no-empty": 2,
|
|
148
|
-
"no-empty-function": [
|
|
149
|
-
1,
|
|
150
|
-
{
|
|
151
|
-
allow: [
|
|
152
|
-
"constructors",
|
|
153
|
-
"privateConstructors",
|
|
154
|
-
"protectedConstructors",
|
|
155
|
-
"decoratedFunctions",
|
|
156
|
-
"overrideMethods",
|
|
157
|
-
],
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
"no-empty-static-block": 1,
|
|
161
|
-
"no-eq-null": 2,
|
|
162
|
-
"no-eval": 2,
|
|
163
|
-
"no-extend-native": 2,
|
|
164
|
-
"no-extra-bind": 2,
|
|
165
|
-
"no-extra-boolean-cast": [
|
|
166
|
-
1,
|
|
167
|
-
{
|
|
168
|
-
enforceForLogicalOperands: true,
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
"no-extra-label": 1,
|
|
172
|
-
"no-global-assign": 2,
|
|
173
|
-
"no-implicit-coercion": 2,
|
|
174
|
-
"no-implied-eval": 2,
|
|
175
|
-
"no-invalid-this": [
|
|
176
|
-
2,
|
|
177
|
-
{
|
|
178
|
-
capIsConstructor: false,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
"no-iterator": 2,
|
|
182
|
-
"no-label-var": 1,
|
|
183
|
-
"no-lone-blocks": 2,
|
|
184
|
-
"no-loop-func": 2,
|
|
185
|
-
"no-multi-assign": 2,
|
|
186
|
-
"no-multi-str": 1,
|
|
187
|
-
"no-new": 2,
|
|
188
|
-
"no-new-func": 2,
|
|
189
|
-
"no-new-wrappers": 2,
|
|
190
|
-
"no-nonoctal-decimal-escape": 2,
|
|
191
|
-
"no-object-constructor": 2,
|
|
192
|
-
"no-octal": 2,
|
|
193
|
-
"no-octal-escape": 2,
|
|
194
|
-
"no-param-reassign": 2,
|
|
195
|
-
"no-plusplus": [
|
|
196
|
-
2,
|
|
197
|
-
{
|
|
198
|
-
allowForLoopAfterthoughts: true,
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
"no-proto": 2,
|
|
202
|
-
"no-script-url": 2,
|
|
203
|
-
"no-sequences": 2,
|
|
204
|
-
"no-shadow-restricted-names": 2,
|
|
205
|
-
"no-throw-literal": 1,
|
|
206
|
-
"no-undef-init": 2,
|
|
207
|
-
"no-unneeded-ternary": 1,
|
|
208
|
-
"no-unused-expressions": [
|
|
209
|
-
1,
|
|
210
|
-
{
|
|
211
|
-
allowShortCircuit: true,
|
|
212
|
-
allowTernary: true,
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
"no-unused-labels": 1,
|
|
216
|
-
"no-useless-call": 1,
|
|
217
|
-
"no-useless-catch": 1,
|
|
218
|
-
"no-useless-computed-key": 1,
|
|
219
|
-
"no-useless-concat": 1,
|
|
220
|
-
"no-useless-constructor": 1,
|
|
221
|
-
"no-useless-escape": [
|
|
222
|
-
1,
|
|
223
|
-
{
|
|
224
|
-
allowRegexCharacters: ["-"],
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
"no-useless-rename": 1,
|
|
228
|
-
"no-useless-return": 1,
|
|
229
|
-
"no-var": 1,
|
|
230
|
-
"no-void": [
|
|
231
|
-
2,
|
|
232
|
-
{
|
|
233
|
-
allowAsStatement: true,
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
"no-with": 2,
|
|
237
|
-
"object-shorthand": 1,
|
|
238
|
-
"one-var": [
|
|
239
|
-
1,
|
|
240
|
-
{
|
|
241
|
-
"var": "consecutive",
|
|
242
|
-
let: "consecutive",
|
|
243
|
-
"const": "consecutive",
|
|
244
|
-
using: "consecutive",
|
|
245
|
-
awaitUsing: "consecutive",
|
|
246
|
-
separateRequires: true,
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
"operator-assignment": 1,
|
|
250
|
-
"prefer-arrow-callback": 1,
|
|
251
|
-
"prefer-const": [
|
|
252
|
-
1,
|
|
253
|
-
{
|
|
254
|
-
destructuring: "all",
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
"prefer-exponentiation-operator": 1,
|
|
258
|
-
"prefer-numeric-literals": 1,
|
|
259
|
-
"prefer-object-has-own": 1,
|
|
260
|
-
"prefer-object-spread": 1,
|
|
261
|
-
"prefer-promise-reject-errors": 1,
|
|
262
|
-
"prefer-regex-literals": [
|
|
263
|
-
1,
|
|
264
|
-
{
|
|
265
|
-
disallowRedundantWrapping: true,
|
|
266
|
-
},
|
|
267
|
-
],
|
|
268
|
-
"prefer-rest-params": 1,
|
|
269
|
-
"prefer-spread": 1,
|
|
270
|
-
"preserve-caught-error": [
|
|
271
|
-
2,
|
|
272
|
-
{
|
|
273
|
-
requireCatchParameter: true,
|
|
274
|
-
},
|
|
275
|
-
],
|
|
276
|
-
radix: 2,
|
|
277
|
-
"require-await": 2,
|
|
278
|
-
"require-unicode-regexp": 2,
|
|
279
|
-
"require-yield": 2,
|
|
280
|
-
"vars-on-top": 1,
|
|
281
|
-
yoda: 1,
|
|
282
|
-
"unicode-bom": 1,
|
|
283
|
-
},
|
|
284
|
-
};
|
|
285
|
-
//# sourceMappingURL=js.eslint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"js.eslint.js","sourceRoot":"","sources":["../../src/rules/js.eslint.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,uBAAuB,EAAE;;YAEvB;gBACE,YAAY,EAAE,IAAI;gBAClB,SAAS,EAAE,IAAI;aAChB;SACF;QACD,mBAAmB,GAAU;QAC7B,eAAe,GAAU;QACzB,eAAe,GAAU;QACzB,2BAA2B,GAAU;QACrC,kBAAkB,GAAU;QAC5B,iBAAiB,GAAU;QAC3B,qBAAqB,GAAU;QAC/B,gBAAgB,GAAU;QAC1B,iBAAiB,GAAU;QAC3B,+BAA+B,GAAU;QACzC,uBAAuB,EAAE;;YAEvB;gBACE,UAAU,EAAE,KAAK;aAClB;SACF;QACD,uBAAuB,GAAU;QACjC,kBAAkB,GAAU;QAC5B,aAAa,GAAU;QACvB,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,iBAAiB,GAAU;QAC3B,cAAc,GAAU;QACxB,mBAAmB,GAAU;QAC7B,sBAAsB,EAAE;;YAEtB;gBACE,cAAc,EAAE,IAAI;gBACpB,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,0BAA0B,GAAU;QACpC,kBAAkB,GAAU;QAC5B,cAAc,GAAU;QACxB,gBAAgB,GAAU;QAC1B,gBAAgB,GAAU;QAC1B,kBAAkB,GAAU;QAC5B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