@eslinted/defaults 17.9.1 → 18.0.0-rc.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/_pattern/index.d.ts.map +1 -1
- package/dist/_pattern/index.js +1 -0
- package/dist/_pattern/index.js.map +1 -1
- package/dist/ignores/global.d.ts +2 -2
- package/dist/ignores/global.d.ts.map +1 -1
- package/dist/ignores/global.js +7 -4
- package/dist/ignores/global.js.map +1 -1
- package/dist/index.d.ts +247 -266
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/css/index.d.ts +9 -9
- package/dist/rules/css/index.js +9 -9
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/html/index.d.ts +42 -42
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js +42 -42
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +247 -266
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js.d.ts +112 -119
- package/dist/rules/js.d.ts.map +1 -1
- package/dist/rules/js.eslint.d.ts +45 -52
- package/dist/rules/js.eslint.d.ts.map +1 -1
- package/dist/rules/js.eslint.js +45 -52
- package/dist/rules/js.eslint.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +67 -67
- package/dist/rules/js.stylistic.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js +67 -67
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/json/index.d.ts +8 -11
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.d.ts +8 -11
- package/dist/rules/json/plugin/extend.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.js +8 -11
- package/dist/rules/json/plugin/extend.js.map +1 -1
- package/dist/rules/jsoncc/index.d.ts +1 -1
- package/dist/rules/jsoncc/index.js +1 -1
- package/dist/rules/mocha/index.d.ts +1 -1
- package/dist/rules/mocha/index.js +1 -1
- package/dist/rules/mocha/index.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -1
- package/dist/rules/svelte/extend.js +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +24 -24
- package/dist/rules/svelte/svelte.d.ts +23 -23
- package/dist/rules/svelte/svelte.js +23 -23
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/ts/extend.d.ts +4 -13
- package/dist/rules/ts/extend.d.ts.map +1 -1
- package/dist/rules/ts/extend.js +4 -13
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +31 -41
- package/dist/rules/ts/index.d.ts.map +1 -1
- package/dist/rules/ts/ts.d.ts +27 -28
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js +27 -28
- package/dist/rules/ts/ts.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +7 -7
- package/dist/rules/yml/extend.js +7 -7
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +19 -18
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/yml.d.ts +12 -11
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js +12 -11
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/_pattern/index.ts +1 -0
- package/src/ignores/global.ts +15 -6
- package/src/rules/css/index.ts +11 -11
- package/src/rules/html/index.ts +50 -58
- package/src/rules/js.eslint.ts +143 -162
- package/src/rules/js.stylistic.ts +87 -88
- package/src/rules/json/json.ts +3 -3
- package/src/rules/json/plugin/extend.ts +11 -14
- package/src/rules/json/plugin/index.ts +3 -3
- package/src/rules/jsonc/index.ts +1 -1
- package/src/rules/jsoncc/index.ts +2 -2
- package/src/rules/mocha/index.ts +1 -1
- package/src/rules/svelte/disable.ts +3 -3
- package/src/rules/svelte/extend.ts +3 -3
- package/src/rules/svelte/svelte.ts +26 -26
- package/src/rules/ts/disable.ts +4 -4
- package/src/rules/ts/extend.ts +7 -15
- package/src/rules/ts/ts.ts +44 -44
- package/src/rules/yml/extend.ts +7 -7
- package/src/rules/yml/yml.ts +15 -15
- package/tests/tsconfig.json +5 -0
- package/tsconfig-base.json +1 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
|
package/dist/rules/js.d.ts
CHANGED
|
@@ -71,8 +71,8 @@ declare const _default: ({
|
|
|
71
71
|
readonly "no-undef": import("./state.js").State.ON;
|
|
72
72
|
readonly "no-unexpected-multiline": import("./state.js").State.ON;
|
|
73
73
|
readonly "no-unmodified-loop-condition": import("./state.js").State.ON;
|
|
74
|
-
readonly "no-unreachable": import("./state.js").State.
|
|
75
|
-
readonly "no-unreachable-loop": import("./state.js").State.
|
|
74
|
+
readonly "no-unreachable": import("./state.js").State.WARN;
|
|
75
|
+
readonly "no-unreachable-loop": import("./state.js").State.WARN;
|
|
76
76
|
readonly "no-unsafe-finally": import("./state.js").State.ON;
|
|
77
77
|
readonly "no-unsafe-negation": readonly [
|
|
78
78
|
import("./state.js").State.ON,
|
|
@@ -86,8 +86,8 @@ declare const _default: ({
|
|
|
86
86
|
readonly disallowArithmeticOperators: true;
|
|
87
87
|
}
|
|
88
88
|
];
|
|
89
|
-
readonly "no-unused-private-class-members": import("./state.js").State.
|
|
90
|
-
readonly "no-unused-vars": import("./state.js").State.
|
|
89
|
+
readonly "no-unused-private-class-members": import("./state.js").State.WARN;
|
|
90
|
+
readonly "no-unused-vars": import("./state.js").State.WARN;
|
|
91
91
|
readonly "no-use-before-define": readonly [
|
|
92
92
|
import("./state.js").State.ON,
|
|
93
93
|
{
|
|
@@ -115,21 +115,21 @@ declare const _default: ({
|
|
|
115
115
|
readonly enforceForTSTypes: true;
|
|
116
116
|
}
|
|
117
117
|
];
|
|
118
|
-
readonly "arrow-body-style": import("./state.js").State.
|
|
118
|
+
readonly "arrow-body-style": import("./state.js").State.WARN;
|
|
119
119
|
readonly "block-scoped-var": import("./state.js").State.ON;
|
|
120
120
|
readonly "consistent-return": import("./state.js").State.ON;
|
|
121
121
|
readonly "consistent-this": import("./state.js").State.ON;
|
|
122
122
|
readonly curly: readonly [
|
|
123
|
-
import("./state.js").State.
|
|
123
|
+
import("./state.js").State.WARN,
|
|
124
124
|
"multi"
|
|
125
125
|
];
|
|
126
126
|
readonly "default-case-last": import("./state.js").State.ON;
|
|
127
127
|
readonly "default-param-last": import("./state.js").State.ON;
|
|
128
|
-
readonly "dot-notation": import("./state.js").State.
|
|
128
|
+
readonly "dot-notation": import("./state.js").State.WARN;
|
|
129
129
|
readonly eqeqeq: import("./state.js").State.ON;
|
|
130
|
-
readonly "init-declarations": import("./state.js").State.
|
|
130
|
+
readonly "init-declarations": import("./state.js").State.WARN;
|
|
131
131
|
readonly "logical-assignment-operators": readonly [
|
|
132
|
-
import("./state.js").State.
|
|
132
|
+
import("./state.js").State.WARN,
|
|
133
133
|
"always",
|
|
134
134
|
{
|
|
135
135
|
readonly enforceForIfStatements: true;
|
|
@@ -143,9 +143,10 @@ declare const _default: ({
|
|
|
143
143
|
readonly "no-continue": import("./state.js").State.ON;
|
|
144
144
|
readonly "no-delete-var": import("./state.js").State.ON;
|
|
145
145
|
readonly "no-div-regex": import("./state.js").State.ON;
|
|
146
|
+
readonly "no-else-return": import("./state.js").State.ON;
|
|
146
147
|
readonly "no-empty": import("./state.js").State.ON;
|
|
147
148
|
readonly "no-empty-function": readonly [
|
|
148
|
-
import("./state.js").State.
|
|
149
|
+
import("./state.js").State.WARN,
|
|
149
150
|
{
|
|
150
151
|
readonly allow: readonly [
|
|
151
152
|
"constructors",
|
|
@@ -156,18 +157,18 @@ declare const _default: ({
|
|
|
156
157
|
];
|
|
157
158
|
}
|
|
158
159
|
];
|
|
159
|
-
readonly "no-empty-static-block": import("./state.js").State.
|
|
160
|
+
readonly "no-empty-static-block": import("./state.js").State.WARN;
|
|
160
161
|
readonly "no-eq-null": import("./state.js").State.ON;
|
|
161
162
|
readonly "no-eval": import("./state.js").State.ON;
|
|
162
163
|
readonly "no-extend-native": import("./state.js").State.ON;
|
|
163
164
|
readonly "no-extra-bind": import("./state.js").State.ON;
|
|
164
165
|
readonly "no-extra-boolean-cast": readonly [
|
|
165
|
-
import("./state.js").State.
|
|
166
|
+
import("./state.js").State.WARN,
|
|
166
167
|
{
|
|
167
168
|
readonly enforceForLogicalOperands: true;
|
|
168
169
|
}
|
|
169
170
|
];
|
|
170
|
-
readonly "no-extra-label": import("./state.js").State.
|
|
171
|
+
readonly "no-extra-label": import("./state.js").State.WARN;
|
|
171
172
|
readonly "no-global-assign": import("./state.js").State.ON;
|
|
172
173
|
readonly "no-implicit-coercion": import("./state.js").State.ON;
|
|
173
174
|
readonly "no-implied-eval": import("./state.js").State.ON;
|
|
@@ -178,11 +179,11 @@ declare const _default: ({
|
|
|
178
179
|
}
|
|
179
180
|
];
|
|
180
181
|
readonly "no-iterator": import("./state.js").State.ON;
|
|
181
|
-
readonly "no-label-var": import("./state.js").State.
|
|
182
|
+
readonly "no-label-var": import("./state.js").State.WARN;
|
|
182
183
|
readonly "no-lone-blocks": import("./state.js").State.ON;
|
|
183
184
|
readonly "no-loop-func": import("./state.js").State.ON;
|
|
184
185
|
readonly "no-multi-assign": import("./state.js").State.ON;
|
|
185
|
-
readonly "no-multi-str": import("./state.js").State.
|
|
186
|
+
readonly "no-multi-str": import("./state.js").State.WARN;
|
|
186
187
|
readonly "no-new": import("./state.js").State.ON;
|
|
187
188
|
readonly "no-new-func": import("./state.js").State.ON;
|
|
188
189
|
readonly "no-new-wrappers": import("./state.js").State.ON;
|
|
@@ -201,33 +202,33 @@ declare const _default: ({
|
|
|
201
202
|
readonly "no-script-url": import("./state.js").State.ON;
|
|
202
203
|
readonly "no-sequences": import("./state.js").State.ON;
|
|
203
204
|
readonly "no-shadow-restricted-names": import("./state.js").State.ON;
|
|
204
|
-
readonly "no-throw-literal": import("./state.js").State.
|
|
205
|
+
readonly "no-throw-literal": import("./state.js").State.WARN;
|
|
205
206
|
readonly "no-undef-init": import("./state.js").State.ON;
|
|
206
|
-
readonly "no-unneeded-ternary": import("./state.js").State.
|
|
207
|
+
readonly "no-unneeded-ternary": import("./state.js").State.WARN;
|
|
207
208
|
readonly "no-unused-expressions": readonly [
|
|
208
|
-
import("./state.js").State.
|
|
209
|
+
import("./state.js").State.WARN,
|
|
209
210
|
{
|
|
210
211
|
readonly allowShortCircuit: true;
|
|
211
212
|
readonly allowTernary: true;
|
|
212
213
|
}
|
|
213
214
|
];
|
|
214
|
-
readonly "no-unused-labels": import("./state.js").State.
|
|
215
|
-
readonly "no-useless-call": import("./state.js").State.
|
|
216
|
-
readonly "no-useless-catch": import("./state.js").State.
|
|
217
|
-
readonly "no-useless-computed-key": import("./state.js").State.
|
|
218
|
-
readonly "no-useless-concat": import("./state.js").State.
|
|
219
|
-
readonly "no-useless-constructor": import("./state.js").State.
|
|
215
|
+
readonly "no-unused-labels": import("./state.js").State.WARN;
|
|
216
|
+
readonly "no-useless-call": import("./state.js").State.WARN;
|
|
217
|
+
readonly "no-useless-catch": import("./state.js").State.WARN;
|
|
218
|
+
readonly "no-useless-computed-key": import("./state.js").State.WARN;
|
|
219
|
+
readonly "no-useless-concat": import("./state.js").State.WARN;
|
|
220
|
+
readonly "no-useless-constructor": import("./state.js").State.WARN;
|
|
220
221
|
readonly "no-useless-escape": readonly [
|
|
221
|
-
import("./state.js").State.
|
|
222
|
+
import("./state.js").State.WARN,
|
|
222
223
|
{
|
|
223
224
|
readonly allowRegexCharacters: readonly [
|
|
224
225
|
"-"
|
|
225
226
|
];
|
|
226
227
|
}
|
|
227
228
|
];
|
|
228
|
-
readonly "no-useless-rename": import("./state.js").State.
|
|
229
|
-
readonly "no-useless-return": import("./state.js").State.
|
|
230
|
-
readonly "no-var": import("./state.js").State.
|
|
229
|
+
readonly "no-useless-rename": import("./state.js").State.WARN;
|
|
230
|
+
readonly "no-useless-return": import("./state.js").State.WARN;
|
|
231
|
+
readonly "no-var": import("./state.js").State.WARN;
|
|
231
232
|
readonly "no-void": readonly [
|
|
232
233
|
import("./state.js").State.ON,
|
|
233
234
|
{
|
|
@@ -235,9 +236,9 @@ declare const _default: ({
|
|
|
235
236
|
}
|
|
236
237
|
];
|
|
237
238
|
readonly "no-with": import("./state.js").State.ON;
|
|
238
|
-
readonly "object-shorthand": import("./state.js").State.
|
|
239
|
+
readonly "object-shorthand": import("./state.js").State.WARN;
|
|
239
240
|
readonly "one-var": readonly [
|
|
240
|
-
import("./state.js").State.
|
|
241
|
+
import("./state.js").State.WARN,
|
|
241
242
|
{
|
|
242
243
|
readonly var: "consecutive";
|
|
243
244
|
readonly let: "consecutive";
|
|
@@ -247,36 +248,27 @@ declare const _default: ({
|
|
|
247
248
|
readonly separateRequires: true;
|
|
248
249
|
}
|
|
249
250
|
];
|
|
250
|
-
readonly "operator-assignment": import("./state.js").State.
|
|
251
|
-
readonly "prefer-arrow-callback": import("./state.js").State.
|
|
251
|
+
readonly "operator-assignment": import("./state.js").State.WARN;
|
|
252
|
+
readonly "prefer-arrow-callback": import("./state.js").State.WARN;
|
|
252
253
|
readonly "prefer-const": readonly [
|
|
253
|
-
import("./state.js").State.
|
|
254
|
+
import("./state.js").State.WARN,
|
|
254
255
|
{
|
|
255
256
|
readonly destructuring: "all";
|
|
256
257
|
}
|
|
257
258
|
];
|
|
258
|
-
readonly "prefer-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
readonly object: false;
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
];
|
|
267
|
-
readonly "prefer-exponentiation-operator": import("./state.js").State.ON;
|
|
268
|
-
readonly "prefer-numeric-literals": import("./state.js").State.ON;
|
|
269
|
-
readonly "prefer-object-has-own": import("./state.js").State.ON;
|
|
270
|
-
readonly "prefer-object-spread": import("./state.js").State.ON;
|
|
271
|
-
readonly "prefer-promise-reject-errors": import("./state.js").State.ON;
|
|
259
|
+
readonly "prefer-exponentiation-operator": import("./state.js").State.WARN;
|
|
260
|
+
readonly "prefer-numeric-literals": import("./state.js").State.WARN;
|
|
261
|
+
readonly "prefer-object-has-own": import("./state.js").State.WARN;
|
|
262
|
+
readonly "prefer-object-spread": import("./state.js").State.WARN;
|
|
263
|
+
readonly "prefer-promise-reject-errors": import("./state.js").State.WARN;
|
|
272
264
|
readonly "prefer-regex-literals": readonly [
|
|
273
|
-
import("./state.js").State.
|
|
265
|
+
import("./state.js").State.WARN,
|
|
274
266
|
{
|
|
275
267
|
readonly disallowRedundantWrapping: true;
|
|
276
268
|
}
|
|
277
269
|
];
|
|
278
|
-
readonly "prefer-rest-params": import("./state.js").State.
|
|
279
|
-
readonly "prefer-spread": import("./state.js").State.
|
|
270
|
+
readonly "prefer-rest-params": import("./state.js").State.WARN;
|
|
271
|
+
readonly "prefer-spread": import("./state.js").State.WARN;
|
|
280
272
|
readonly "preserve-caught-error": readonly [
|
|
281
273
|
import("./state.js").State.ON,
|
|
282
274
|
{
|
|
@@ -290,15 +282,16 @@ declare const _default: ({
|
|
|
290
282
|
readonly "require-await": import("./state.js").State.ON;
|
|
291
283
|
readonly "require-unicode-regexp": import("./state.js").State.ON;
|
|
292
284
|
readonly "require-yield": import("./state.js").State.ON;
|
|
293
|
-
readonly "vars-on-top": import("./state.js").State.
|
|
294
|
-
readonly yoda: import("./state.js").State.
|
|
285
|
+
readonly "vars-on-top": import("./state.js").State.WARN;
|
|
286
|
+
readonly yoda: import("./state.js").State.WARN;
|
|
287
|
+
readonly "unicode-bom": import("./state.js").State.WARN;
|
|
295
288
|
};
|
|
296
289
|
} | {
|
|
297
290
|
rules: {
|
|
298
|
-
readonly "stylistic/array-bracket-newline": import("./state.js").State.
|
|
299
|
-
readonly "stylistic/array-bracket-spacing": import("./state.js").State.
|
|
291
|
+
readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
|
|
292
|
+
readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
|
|
300
293
|
readonly "stylistic/array-element-newline": readonly [
|
|
301
|
-
import("./state.js").State.
|
|
294
|
+
import("./state.js").State.WARN,
|
|
302
295
|
{
|
|
303
296
|
readonly consistent: true;
|
|
304
297
|
readonly multiline: true;
|
|
@@ -306,44 +299,44 @@ declare const _default: ({
|
|
|
306
299
|
}
|
|
307
300
|
];
|
|
308
301
|
readonly "stylistic/arrow-parens": readonly [
|
|
309
|
-
import("./state.js").State.
|
|
302
|
+
import("./state.js").State.WARN,
|
|
310
303
|
"as-needed"
|
|
311
304
|
];
|
|
312
|
-
readonly "stylistic/arrow-spacing": import("./state.js").State.
|
|
313
|
-
readonly "stylistic/block-spacing": import("./state.js").State.
|
|
305
|
+
readonly "stylistic/arrow-spacing": import("./state.js").State.WARN;
|
|
306
|
+
readonly "stylistic/block-spacing": import("./state.js").State.WARN;
|
|
314
307
|
readonly "stylistic/brace-style": readonly [
|
|
315
|
-
import("./state.js").State.
|
|
308
|
+
import("./state.js").State.WARN,
|
|
316
309
|
"stroustrup",
|
|
317
310
|
{
|
|
318
311
|
readonly allowSingleLine: true;
|
|
319
312
|
}
|
|
320
313
|
];
|
|
321
314
|
readonly "stylistic/comma-dangle": readonly [
|
|
322
|
-
import("./state.js").State.
|
|
315
|
+
import("./state.js").State.WARN,
|
|
323
316
|
"always-multiline"
|
|
324
317
|
];
|
|
325
|
-
readonly "stylistic/comma-spacing": import("./state.js").State.
|
|
326
|
-
readonly "stylistic/comma-style": import("./state.js").State.
|
|
327
|
-
readonly "stylistic/computed-property-spacing": import("./state.js").State.
|
|
328
|
-
readonly "stylistic/curly-newline": import("./state.js").State.
|
|
318
|
+
readonly "stylistic/comma-spacing": import("./state.js").State.WARN;
|
|
319
|
+
readonly "stylistic/comma-style": import("./state.js").State.WARN;
|
|
320
|
+
readonly "stylistic/computed-property-spacing": import("./state.js").State.WARN;
|
|
321
|
+
readonly "stylistic/curly-newline": import("./state.js").State.WARN;
|
|
329
322
|
readonly "stylistic/dot-location": readonly [
|
|
330
|
-
import("./state.js").State.
|
|
323
|
+
import("./state.js").State.WARN,
|
|
331
324
|
"property"
|
|
332
325
|
];
|
|
333
|
-
readonly "stylistic/eol-last": import("./state.js").State.
|
|
326
|
+
readonly "stylistic/eol-last": import("./state.js").State.WARN;
|
|
334
327
|
readonly "stylistic/function-call-argument-newline": readonly [
|
|
335
|
-
import("./state.js").State.
|
|
328
|
+
import("./state.js").State.WARN,
|
|
336
329
|
"consistent"
|
|
337
330
|
];
|
|
338
|
-
readonly "stylistic/function-call-spacing": import("./state.js").State.
|
|
331
|
+
readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
|
|
339
332
|
readonly "stylistic/function-paren-newline": readonly [
|
|
340
|
-
import("./state.js").State.
|
|
333
|
+
import("./state.js").State.WARN,
|
|
341
334
|
"multiline-arguments"
|
|
342
335
|
];
|
|
343
|
-
readonly "stylistic/generator-star-spacing": import("./state.js").State.
|
|
344
|
-
readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.
|
|
336
|
+
readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
|
|
337
|
+
readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
|
|
345
338
|
readonly "stylistic/indent": readonly [
|
|
346
|
-
import("./state.js").State.
|
|
339
|
+
import("./state.js").State.WARN,
|
|
347
340
|
2,
|
|
348
341
|
{
|
|
349
342
|
readonly assignmentOperator: 0;
|
|
@@ -357,14 +350,14 @@ declare const _default: ({
|
|
|
357
350
|
}
|
|
358
351
|
];
|
|
359
352
|
readonly "stylistic/indent-binary-ops": readonly [
|
|
360
|
-
import("./state.js").State.
|
|
353
|
+
import("./state.js").State.WARN,
|
|
361
354
|
2
|
|
362
355
|
];
|
|
363
|
-
readonly "stylistic/key-spacing": import("./state.js").State.
|
|
364
|
-
readonly "stylistic/keyword-spacing": import("./state.js").State.
|
|
365
|
-
readonly "stylistic/linebreak-style": import("./state.js").State.
|
|
356
|
+
readonly "stylistic/key-spacing": import("./state.js").State.WARN;
|
|
357
|
+
readonly "stylistic/keyword-spacing": import("./state.js").State.WARN;
|
|
358
|
+
readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
|
|
366
359
|
readonly "stylistic/lines-between-class-members": readonly [
|
|
367
|
-
import("./state.js").State.
|
|
360
|
+
import("./state.js").State.WARN,
|
|
368
361
|
{
|
|
369
362
|
readonly enforce: readonly [
|
|
370
363
|
{
|
|
@@ -386,7 +379,7 @@ declare const _default: ({
|
|
|
386
379
|
}
|
|
387
380
|
];
|
|
388
381
|
readonly "stylistic/max-len": readonly [
|
|
389
|
-
import("./state.js").State.
|
|
382
|
+
import("./state.js").State.WARN,
|
|
390
383
|
{
|
|
391
384
|
readonly code: 300;
|
|
392
385
|
readonly ignoreComments: true;
|
|
@@ -397,19 +390,19 @@ declare const _default: ({
|
|
|
397
390
|
readonly ignoreRegExpLiterals: true;
|
|
398
391
|
}
|
|
399
392
|
];
|
|
400
|
-
readonly "stylistic/max-statements-per-line": import("./state.js").State.
|
|
401
|
-
readonly "stylistic/member-delimiter-style": import("./state.js").State.
|
|
393
|
+
readonly "stylistic/max-statements-per-line": import("./state.js").State.WARN;
|
|
394
|
+
readonly "stylistic/member-delimiter-style": import("./state.js").State.WARN;
|
|
402
395
|
readonly "stylistic/multiline-ternary": readonly [
|
|
403
|
-
import("./state.js").State.
|
|
396
|
+
import("./state.js").State.WARN,
|
|
404
397
|
"always-multiline"
|
|
405
398
|
];
|
|
406
|
-
readonly "stylistic/newline-per-chained-call": import("./state.js").State.
|
|
407
|
-
readonly "stylistic/no-extra-parens": import("./state.js").State.
|
|
408
|
-
readonly "stylistic/no-extra-semi": import("./state.js").State.
|
|
409
|
-
readonly "stylistic/no-floating-decimal": import("./state.js").State.
|
|
410
|
-
readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.
|
|
399
|
+
readonly "stylistic/newline-per-chained-call": import("./state.js").State.WARN;
|
|
400
|
+
readonly "stylistic/no-extra-parens": import("./state.js").State.WARN;
|
|
401
|
+
readonly "stylistic/no-extra-semi": import("./state.js").State.WARN;
|
|
402
|
+
readonly "stylistic/no-floating-decimal": import("./state.js").State.WARN;
|
|
403
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.WARN;
|
|
411
404
|
readonly "stylistic/no-multi-spaces": readonly [
|
|
412
|
-
import("./state.js").State.
|
|
405
|
+
import("./state.js").State.WARN,
|
|
413
406
|
{
|
|
414
407
|
readonly exceptions: {
|
|
415
408
|
readonly Property: false;
|
|
@@ -418,22 +411,22 @@ declare const _default: ({
|
|
|
418
411
|
}
|
|
419
412
|
];
|
|
420
413
|
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
421
|
-
import("./state.js").State.
|
|
414
|
+
import("./state.js").State.WARN,
|
|
422
415
|
{
|
|
423
416
|
readonly max: 1;
|
|
424
417
|
readonly maxBOF: 0;
|
|
425
418
|
readonly maxEOF: 0;
|
|
426
419
|
}
|
|
427
420
|
];
|
|
428
|
-
readonly "stylistic/no-tabs": import("./state.js").State.
|
|
429
|
-
readonly "stylistic/no-trailing-spaces": import("./state.js").State.
|
|
430
|
-
readonly "stylistic/no-whitespace-before-property": import("./state.js").State.
|
|
421
|
+
readonly "stylistic/no-tabs": import("./state.js").State.WARN;
|
|
422
|
+
readonly "stylistic/no-trailing-spaces": import("./state.js").State.WARN;
|
|
423
|
+
readonly "stylistic/no-whitespace-before-property": import("./state.js").State.WARN;
|
|
431
424
|
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
432
|
-
import("./state.js").State.
|
|
425
|
+
import("./state.js").State.WARN,
|
|
433
426
|
"below"
|
|
434
427
|
];
|
|
435
428
|
readonly "stylistic/object-curly-newline": readonly [
|
|
436
|
-
import("./state.js").State.
|
|
429
|
+
import("./state.js").State.WARN,
|
|
437
430
|
{
|
|
438
431
|
readonly consistent: true;
|
|
439
432
|
readonly multiline: true;
|
|
@@ -441,59 +434,59 @@ declare const _default: ({
|
|
|
441
434
|
}
|
|
442
435
|
];
|
|
443
436
|
readonly "stylistic/object-curly-spacing": readonly [
|
|
444
|
-
import("./state.js").State.
|
|
437
|
+
import("./state.js").State.WARN,
|
|
445
438
|
"always",
|
|
446
439
|
{
|
|
447
440
|
readonly emptyObjects: "never";
|
|
448
441
|
}
|
|
449
442
|
];
|
|
450
|
-
readonly "stylistic/object-property-newline": import("./state.js").State.
|
|
443
|
+
readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
|
|
451
444
|
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
452
|
-
import("./state.js").State.
|
|
445
|
+
import("./state.js").State.WARN,
|
|
453
446
|
"always"
|
|
454
447
|
];
|
|
455
448
|
readonly "stylistic/operator-linebreak": readonly [
|
|
456
|
-
import("./state.js").State.
|
|
449
|
+
import("./state.js").State.WARN,
|
|
457
450
|
"before"
|
|
458
451
|
];
|
|
459
452
|
readonly "stylistic/padded-blocks": readonly [
|
|
460
|
-
import("./state.js").State.
|
|
453
|
+
import("./state.js").State.WARN,
|
|
461
454
|
"never",
|
|
462
455
|
{
|
|
463
456
|
readonly allowSingleLineBlocks: true;
|
|
464
457
|
}
|
|
465
458
|
];
|
|
466
459
|
readonly "stylistic/quote-props": readonly [
|
|
467
|
-
import("./state.js").State.
|
|
460
|
+
import("./state.js").State.WARN,
|
|
468
461
|
"as-needed",
|
|
469
462
|
{
|
|
470
463
|
readonly keywords: true;
|
|
471
464
|
}
|
|
472
465
|
];
|
|
473
466
|
readonly "stylistic/quotes": readonly [
|
|
474
|
-
import("./state.js").State.
|
|
467
|
+
import("./state.js").State.WARN,
|
|
475
468
|
"double",
|
|
476
469
|
{
|
|
477
470
|
readonly avoidEscape: true;
|
|
478
471
|
readonly allowTemplateLiterals: "always";
|
|
479
472
|
}
|
|
480
473
|
];
|
|
481
|
-
readonly "stylistic/rest-spread-spacing": import("./state.js").State.
|
|
482
|
-
readonly "stylistic/semi": import("./state.js").State.
|
|
483
|
-
readonly "stylistic/semi-spacing": import("./state.js").State.
|
|
484
|
-
readonly "stylistic/semi-style": import("./state.js").State.
|
|
485
|
-
readonly "stylistic/space-before-blocks": import("./state.js").State.
|
|
474
|
+
readonly "stylistic/rest-spread-spacing": import("./state.js").State.WARN;
|
|
475
|
+
readonly "stylistic/semi": import("./state.js").State.WARN;
|
|
476
|
+
readonly "stylistic/semi-spacing": import("./state.js").State.WARN;
|
|
477
|
+
readonly "stylistic/semi-style": import("./state.js").State.WARN;
|
|
478
|
+
readonly "stylistic/space-before-blocks": import("./state.js").State.WARN;
|
|
486
479
|
readonly "stylistic/space-before-function-paren": readonly [
|
|
487
|
-
import("./state.js").State.
|
|
480
|
+
import("./state.js").State.WARN,
|
|
488
481
|
{
|
|
489
482
|
readonly named: "never";
|
|
490
483
|
}
|
|
491
484
|
];
|
|
492
|
-
readonly "stylistic/space-in-parens": import("./state.js").State.
|
|
493
|
-
readonly "stylistic/space-infix-ops": import("./state.js").State.
|
|
494
|
-
readonly "stylistic/space-unary-ops": import("./state.js").State.
|
|
485
|
+
readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
|
|
486
|
+
readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
|
|
487
|
+
readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
|
|
495
488
|
readonly "stylistic/spaced-comment": readonly [
|
|
496
|
-
import("./state.js").State.
|
|
489
|
+
import("./state.js").State.WARN,
|
|
497
490
|
"always",
|
|
498
491
|
{
|
|
499
492
|
readonly line: {
|
|
@@ -527,11 +520,11 @@ declare const _default: ({
|
|
|
527
520
|
};
|
|
528
521
|
}
|
|
529
522
|
];
|
|
530
|
-
readonly "stylistic/switch-colon-spacing": import("./state.js").State.
|
|
531
|
-
readonly "stylistic/template-curly-spacing": import("./state.js").State.
|
|
532
|
-
readonly "stylistic/template-tag-spacing": import("./state.js").State.
|
|
523
|
+
readonly "stylistic/switch-colon-spacing": import("./state.js").State.WARN;
|
|
524
|
+
readonly "stylistic/template-curly-spacing": import("./state.js").State.WARN;
|
|
525
|
+
readonly "stylistic/template-tag-spacing": import("./state.js").State.WARN;
|
|
533
526
|
readonly "stylistic/type-annotation-spacing": readonly [
|
|
534
|
-
import("./state.js").State.
|
|
527
|
+
import("./state.js").State.WARN,
|
|
535
528
|
{
|
|
536
529
|
readonly before: true;
|
|
537
530
|
readonly after: true;
|
|
@@ -543,17 +536,17 @@ declare const _default: ({
|
|
|
543
536
|
};
|
|
544
537
|
}
|
|
545
538
|
];
|
|
546
|
-
readonly "stylistic/type-generic-spacing": import("./state.js").State.
|
|
547
|
-
readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.
|
|
539
|
+
readonly "stylistic/type-generic-spacing": import("./state.js").State.WARN;
|
|
540
|
+
readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.WARN;
|
|
548
541
|
readonly "stylistic/wrap-iife": readonly [
|
|
549
|
-
import("./state.js").State.
|
|
542
|
+
import("./state.js").State.WARN,
|
|
550
543
|
"inside",
|
|
551
544
|
{
|
|
552
545
|
readonly functionPrototypeMethods: true;
|
|
553
546
|
}
|
|
554
547
|
];
|
|
555
|
-
readonly "stylistic/wrap-regex": import("./state.js").State.
|
|
556
|
-
readonly "stylistic/yield-star-spacing": import("./state.js").State.
|
|
548
|
+
readonly "stylistic/wrap-regex": import("./state.js").State.WARN;
|
|
549
|
+
readonly "stylistic/yield-star-spacing": import("./state.js").State.WARN;
|
|
557
550
|
};
|
|
558
551
|
})[];
|
|
559
552
|
export default _default;
|
package/dist/rules/js.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|