@virmator/lint 13.16.1 → 14.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/lint.d.ts +271 -70
- package/dist/lint.js +135 -135
- package/package.json +11 -11
package/dist/lint.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NpmDepType, PackageType } from '@virmator/core';
|
|
1
|
+
import { NpmDepType } from '@virmator/core';
|
|
3
2
|
/** A virmator plugin for running ESLint. */
|
|
4
3
|
export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
5
4
|
name: string;
|
|
@@ -25,15 +24,26 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
25
24
|
readonly eslintTsconfig: {
|
|
26
25
|
readonly copyFromPath: string;
|
|
27
26
|
readonly copyToPath: string;
|
|
28
|
-
readonly env:
|
|
29
|
-
|
|
27
|
+
readonly env: {
|
|
28
|
+
readonly node: true;
|
|
29
|
+
readonly web: true;
|
|
30
|
+
};
|
|
31
|
+
readonly packageType: {
|
|
32
|
+
readonly "mono-root": true;
|
|
33
|
+
};
|
|
30
34
|
readonly required: true;
|
|
31
35
|
};
|
|
32
36
|
readonly eslint: {
|
|
33
37
|
readonly copyFromPath: string;
|
|
34
38
|
readonly copyToPath: string;
|
|
35
|
-
readonly env:
|
|
36
|
-
|
|
39
|
+
readonly env: {
|
|
40
|
+
readonly node: true;
|
|
41
|
+
readonly web: true;
|
|
42
|
+
};
|
|
43
|
+
readonly packageType: {
|
|
44
|
+
readonly "mono-root": true;
|
|
45
|
+
readonly "top-level-package": true;
|
|
46
|
+
};
|
|
37
47
|
readonly required: true;
|
|
38
48
|
readonly configFlags: ["-c", "--config"];
|
|
39
49
|
};
|
|
@@ -41,78 +51,168 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
41
51
|
readonly npmDeps: {
|
|
42
52
|
readonly eslint: {
|
|
43
53
|
readonly type: NpmDepType.Dev;
|
|
44
|
-
readonly env:
|
|
45
|
-
|
|
54
|
+
readonly env: {
|
|
55
|
+
readonly node: true;
|
|
56
|
+
readonly web: true;
|
|
57
|
+
};
|
|
58
|
+
readonly packageType: {
|
|
59
|
+
readonly "top-level-package": true;
|
|
60
|
+
readonly "mono-root": true;
|
|
61
|
+
};
|
|
46
62
|
};
|
|
47
63
|
readonly 'eslint-plugin-require-extensions': {
|
|
48
64
|
readonly type: NpmDepType.Dev;
|
|
49
|
-
readonly env:
|
|
50
|
-
|
|
65
|
+
readonly env: {
|
|
66
|
+
readonly node: true;
|
|
67
|
+
readonly web: true;
|
|
68
|
+
};
|
|
69
|
+
readonly packageType: {
|
|
70
|
+
readonly "top-level-package": true;
|
|
71
|
+
readonly "mono-root": true;
|
|
72
|
+
};
|
|
51
73
|
};
|
|
52
74
|
readonly 'eslint-plugin-unicorn': {
|
|
53
75
|
readonly type: NpmDepType.Dev;
|
|
54
|
-
readonly env:
|
|
55
|
-
|
|
76
|
+
readonly env: {
|
|
77
|
+
readonly node: true;
|
|
78
|
+
readonly web: true;
|
|
79
|
+
};
|
|
80
|
+
readonly packageType: {
|
|
81
|
+
readonly "top-level-package": true;
|
|
82
|
+
readonly "mono-root": true;
|
|
83
|
+
};
|
|
56
84
|
};
|
|
57
85
|
readonly '@eslint/js': {
|
|
58
86
|
readonly type: NpmDepType.Dev;
|
|
59
|
-
readonly env:
|
|
60
|
-
|
|
87
|
+
readonly env: {
|
|
88
|
+
readonly node: true;
|
|
89
|
+
readonly web: true;
|
|
90
|
+
};
|
|
91
|
+
readonly packageType: {
|
|
92
|
+
readonly "top-level-package": true;
|
|
93
|
+
readonly "mono-root": true;
|
|
94
|
+
};
|
|
61
95
|
};
|
|
62
96
|
readonly '@eslint/eslintrc': {
|
|
63
97
|
readonly type: NpmDepType.Dev;
|
|
64
|
-
readonly env:
|
|
65
|
-
|
|
98
|
+
readonly env: {
|
|
99
|
+
readonly node: true;
|
|
100
|
+
readonly web: true;
|
|
101
|
+
};
|
|
102
|
+
readonly packageType: {
|
|
103
|
+
readonly "top-level-package": true;
|
|
104
|
+
readonly "mono-root": true;
|
|
105
|
+
};
|
|
66
106
|
};
|
|
67
107
|
readonly '@stylistic/eslint-plugin': {
|
|
68
108
|
readonly type: NpmDepType.Dev;
|
|
69
|
-
readonly env:
|
|
70
|
-
|
|
109
|
+
readonly env: {
|
|
110
|
+
readonly node: true;
|
|
111
|
+
readonly web: true;
|
|
112
|
+
};
|
|
113
|
+
readonly packageType: {
|
|
114
|
+
readonly "top-level-package": true;
|
|
115
|
+
readonly "mono-root": true;
|
|
116
|
+
};
|
|
71
117
|
};
|
|
72
118
|
readonly 'eslint-plugin-monorepo-cop': {
|
|
73
119
|
readonly type: NpmDepType.Dev;
|
|
74
|
-
readonly env:
|
|
75
|
-
|
|
120
|
+
readonly env: {
|
|
121
|
+
readonly node: true;
|
|
122
|
+
readonly web: true;
|
|
123
|
+
};
|
|
124
|
+
readonly packageType: {
|
|
125
|
+
readonly "top-level-package": true;
|
|
126
|
+
readonly "mono-root": true;
|
|
127
|
+
};
|
|
76
128
|
};
|
|
77
129
|
readonly '@stylistic/eslint-plugin-ts': {
|
|
78
130
|
readonly type: NpmDepType.Dev;
|
|
79
|
-
readonly env:
|
|
80
|
-
|
|
131
|
+
readonly env: {
|
|
132
|
+
readonly node: true;
|
|
133
|
+
readonly web: true;
|
|
134
|
+
};
|
|
135
|
+
readonly packageType: {
|
|
136
|
+
readonly "top-level-package": true;
|
|
137
|
+
readonly "mono-root": true;
|
|
138
|
+
};
|
|
81
139
|
};
|
|
82
140
|
readonly '@typescript-eslint/eslint-plugin': {
|
|
83
141
|
readonly type: NpmDepType.Dev;
|
|
84
|
-
readonly env:
|
|
85
|
-
|
|
142
|
+
readonly env: {
|
|
143
|
+
readonly node: true;
|
|
144
|
+
readonly web: true;
|
|
145
|
+
};
|
|
146
|
+
readonly packageType: {
|
|
147
|
+
readonly "top-level-package": true;
|
|
148
|
+
readonly "mono-root": true;
|
|
149
|
+
};
|
|
86
150
|
};
|
|
87
151
|
readonly 'eslint-config-prettier': {
|
|
88
152
|
readonly type: NpmDepType.Dev;
|
|
89
|
-
readonly env:
|
|
90
|
-
|
|
153
|
+
readonly env: {
|
|
154
|
+
readonly node: true;
|
|
155
|
+
readonly web: true;
|
|
156
|
+
};
|
|
157
|
+
readonly packageType: {
|
|
158
|
+
readonly "top-level-package": true;
|
|
159
|
+
readonly "mono-root": true;
|
|
160
|
+
};
|
|
91
161
|
};
|
|
92
162
|
readonly 'eslint-plugin-jsdoc': {
|
|
93
163
|
readonly type: NpmDepType.Dev;
|
|
94
|
-
readonly env:
|
|
95
|
-
|
|
164
|
+
readonly env: {
|
|
165
|
+
readonly node: true;
|
|
166
|
+
readonly web: true;
|
|
167
|
+
};
|
|
168
|
+
readonly packageType: {
|
|
169
|
+
readonly "top-level-package": true;
|
|
170
|
+
readonly "mono-root": true;
|
|
171
|
+
};
|
|
96
172
|
};
|
|
97
173
|
readonly 'eslint-plugin-playwright': {
|
|
98
174
|
readonly type: NpmDepType.Dev;
|
|
99
|
-
readonly env:
|
|
100
|
-
|
|
175
|
+
readonly env: {
|
|
176
|
+
readonly node: true;
|
|
177
|
+
readonly web: true;
|
|
178
|
+
};
|
|
179
|
+
readonly packageType: {
|
|
180
|
+
readonly "top-level-package": true;
|
|
181
|
+
readonly "mono-root": true;
|
|
182
|
+
};
|
|
101
183
|
};
|
|
102
184
|
readonly 'eslint-plugin-prettier': {
|
|
103
185
|
readonly type: NpmDepType.Dev;
|
|
104
|
-
readonly env:
|
|
105
|
-
|
|
186
|
+
readonly env: {
|
|
187
|
+
readonly node: true;
|
|
188
|
+
readonly web: true;
|
|
189
|
+
};
|
|
190
|
+
readonly packageType: {
|
|
191
|
+
readonly "top-level-package": true;
|
|
192
|
+
readonly "mono-root": true;
|
|
193
|
+
};
|
|
106
194
|
};
|
|
107
195
|
readonly 'eslint-plugin-sonarjs': {
|
|
108
196
|
readonly type: NpmDepType.Dev;
|
|
109
|
-
readonly env:
|
|
110
|
-
|
|
197
|
+
readonly env: {
|
|
198
|
+
readonly node: true;
|
|
199
|
+
readonly web: true;
|
|
200
|
+
};
|
|
201
|
+
readonly packageType: {
|
|
202
|
+
readonly "top-level-package": true;
|
|
203
|
+
readonly "mono-root": true;
|
|
204
|
+
};
|
|
111
205
|
};
|
|
112
206
|
readonly 'typescript-eslint': {
|
|
113
207
|
readonly type: NpmDepType.Dev;
|
|
114
|
-
readonly env:
|
|
115
|
-
|
|
208
|
+
readonly env: {
|
|
209
|
+
readonly node: true;
|
|
210
|
+
readonly web: true;
|
|
211
|
+
};
|
|
212
|
+
readonly packageType: {
|
|
213
|
+
readonly "top-level-package": true;
|
|
214
|
+
readonly "mono-root": true;
|
|
215
|
+
};
|
|
116
216
|
};
|
|
117
217
|
};
|
|
118
218
|
};
|
|
@@ -141,15 +241,26 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
141
241
|
readonly eslintTsconfig: {
|
|
142
242
|
readonly copyFromPath: string;
|
|
143
243
|
readonly copyToPath: string;
|
|
144
|
-
readonly env:
|
|
145
|
-
|
|
244
|
+
readonly env: {
|
|
245
|
+
readonly node: true;
|
|
246
|
+
readonly web: true;
|
|
247
|
+
};
|
|
248
|
+
readonly packageType: {
|
|
249
|
+
readonly "mono-root": true;
|
|
250
|
+
};
|
|
146
251
|
readonly required: true;
|
|
147
252
|
};
|
|
148
253
|
readonly eslint: {
|
|
149
254
|
readonly copyFromPath: string;
|
|
150
255
|
readonly copyToPath: string;
|
|
151
|
-
readonly env:
|
|
152
|
-
|
|
256
|
+
readonly env: {
|
|
257
|
+
readonly node: true;
|
|
258
|
+
readonly web: true;
|
|
259
|
+
};
|
|
260
|
+
readonly packageType: {
|
|
261
|
+
readonly "mono-root": true;
|
|
262
|
+
readonly "top-level-package": true;
|
|
263
|
+
};
|
|
153
264
|
readonly required: true;
|
|
154
265
|
readonly configFlags: ["-c", "--config"];
|
|
155
266
|
};
|
|
@@ -157,78 +268,168 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
157
268
|
readonly npmDeps: {
|
|
158
269
|
readonly eslint: {
|
|
159
270
|
readonly type: NpmDepType.Dev;
|
|
160
|
-
readonly env:
|
|
161
|
-
|
|
271
|
+
readonly env: {
|
|
272
|
+
readonly node: true;
|
|
273
|
+
readonly web: true;
|
|
274
|
+
};
|
|
275
|
+
readonly packageType: {
|
|
276
|
+
readonly "top-level-package": true;
|
|
277
|
+
readonly "mono-root": true;
|
|
278
|
+
};
|
|
162
279
|
};
|
|
163
280
|
readonly 'eslint-plugin-require-extensions': {
|
|
164
281
|
readonly type: NpmDepType.Dev;
|
|
165
|
-
readonly env:
|
|
166
|
-
|
|
282
|
+
readonly env: {
|
|
283
|
+
readonly node: true;
|
|
284
|
+
readonly web: true;
|
|
285
|
+
};
|
|
286
|
+
readonly packageType: {
|
|
287
|
+
readonly "top-level-package": true;
|
|
288
|
+
readonly "mono-root": true;
|
|
289
|
+
};
|
|
167
290
|
};
|
|
168
291
|
readonly 'eslint-plugin-unicorn': {
|
|
169
292
|
readonly type: NpmDepType.Dev;
|
|
170
|
-
readonly env:
|
|
171
|
-
|
|
293
|
+
readonly env: {
|
|
294
|
+
readonly node: true;
|
|
295
|
+
readonly web: true;
|
|
296
|
+
};
|
|
297
|
+
readonly packageType: {
|
|
298
|
+
readonly "top-level-package": true;
|
|
299
|
+
readonly "mono-root": true;
|
|
300
|
+
};
|
|
172
301
|
};
|
|
173
302
|
readonly '@eslint/js': {
|
|
174
303
|
readonly type: NpmDepType.Dev;
|
|
175
|
-
readonly env:
|
|
176
|
-
|
|
304
|
+
readonly env: {
|
|
305
|
+
readonly node: true;
|
|
306
|
+
readonly web: true;
|
|
307
|
+
};
|
|
308
|
+
readonly packageType: {
|
|
309
|
+
readonly "top-level-package": true;
|
|
310
|
+
readonly "mono-root": true;
|
|
311
|
+
};
|
|
177
312
|
};
|
|
178
313
|
readonly '@eslint/eslintrc': {
|
|
179
314
|
readonly type: NpmDepType.Dev;
|
|
180
|
-
readonly env:
|
|
181
|
-
|
|
315
|
+
readonly env: {
|
|
316
|
+
readonly node: true;
|
|
317
|
+
readonly web: true;
|
|
318
|
+
};
|
|
319
|
+
readonly packageType: {
|
|
320
|
+
readonly "top-level-package": true;
|
|
321
|
+
readonly "mono-root": true;
|
|
322
|
+
};
|
|
182
323
|
};
|
|
183
324
|
readonly '@stylistic/eslint-plugin': {
|
|
184
325
|
readonly type: NpmDepType.Dev;
|
|
185
|
-
readonly env:
|
|
186
|
-
|
|
326
|
+
readonly env: {
|
|
327
|
+
readonly node: true;
|
|
328
|
+
readonly web: true;
|
|
329
|
+
};
|
|
330
|
+
readonly packageType: {
|
|
331
|
+
readonly "top-level-package": true;
|
|
332
|
+
readonly "mono-root": true;
|
|
333
|
+
};
|
|
187
334
|
};
|
|
188
335
|
readonly 'eslint-plugin-monorepo-cop': {
|
|
189
336
|
readonly type: NpmDepType.Dev;
|
|
190
|
-
readonly env:
|
|
191
|
-
|
|
337
|
+
readonly env: {
|
|
338
|
+
readonly node: true;
|
|
339
|
+
readonly web: true;
|
|
340
|
+
};
|
|
341
|
+
readonly packageType: {
|
|
342
|
+
readonly "top-level-package": true;
|
|
343
|
+
readonly "mono-root": true;
|
|
344
|
+
};
|
|
192
345
|
};
|
|
193
346
|
readonly '@stylistic/eslint-plugin-ts': {
|
|
194
347
|
readonly type: NpmDepType.Dev;
|
|
195
|
-
readonly env:
|
|
196
|
-
|
|
348
|
+
readonly env: {
|
|
349
|
+
readonly node: true;
|
|
350
|
+
readonly web: true;
|
|
351
|
+
};
|
|
352
|
+
readonly packageType: {
|
|
353
|
+
readonly "top-level-package": true;
|
|
354
|
+
readonly "mono-root": true;
|
|
355
|
+
};
|
|
197
356
|
};
|
|
198
357
|
readonly '@typescript-eslint/eslint-plugin': {
|
|
199
358
|
readonly type: NpmDepType.Dev;
|
|
200
|
-
readonly env:
|
|
201
|
-
|
|
359
|
+
readonly env: {
|
|
360
|
+
readonly node: true;
|
|
361
|
+
readonly web: true;
|
|
362
|
+
};
|
|
363
|
+
readonly packageType: {
|
|
364
|
+
readonly "top-level-package": true;
|
|
365
|
+
readonly "mono-root": true;
|
|
366
|
+
};
|
|
202
367
|
};
|
|
203
368
|
readonly 'eslint-config-prettier': {
|
|
204
369
|
readonly type: NpmDepType.Dev;
|
|
205
|
-
readonly env:
|
|
206
|
-
|
|
370
|
+
readonly env: {
|
|
371
|
+
readonly node: true;
|
|
372
|
+
readonly web: true;
|
|
373
|
+
};
|
|
374
|
+
readonly packageType: {
|
|
375
|
+
readonly "top-level-package": true;
|
|
376
|
+
readonly "mono-root": true;
|
|
377
|
+
};
|
|
207
378
|
};
|
|
208
379
|
readonly 'eslint-plugin-jsdoc': {
|
|
209
380
|
readonly type: NpmDepType.Dev;
|
|
210
|
-
readonly env:
|
|
211
|
-
|
|
381
|
+
readonly env: {
|
|
382
|
+
readonly node: true;
|
|
383
|
+
readonly web: true;
|
|
384
|
+
};
|
|
385
|
+
readonly packageType: {
|
|
386
|
+
readonly "top-level-package": true;
|
|
387
|
+
readonly "mono-root": true;
|
|
388
|
+
};
|
|
212
389
|
};
|
|
213
390
|
readonly 'eslint-plugin-playwright': {
|
|
214
391
|
readonly type: NpmDepType.Dev;
|
|
215
|
-
readonly env:
|
|
216
|
-
|
|
392
|
+
readonly env: {
|
|
393
|
+
readonly node: true;
|
|
394
|
+
readonly web: true;
|
|
395
|
+
};
|
|
396
|
+
readonly packageType: {
|
|
397
|
+
readonly "top-level-package": true;
|
|
398
|
+
readonly "mono-root": true;
|
|
399
|
+
};
|
|
217
400
|
};
|
|
218
401
|
readonly 'eslint-plugin-prettier': {
|
|
219
402
|
readonly type: NpmDepType.Dev;
|
|
220
|
-
readonly env:
|
|
221
|
-
|
|
403
|
+
readonly env: {
|
|
404
|
+
readonly node: true;
|
|
405
|
+
readonly web: true;
|
|
406
|
+
};
|
|
407
|
+
readonly packageType: {
|
|
408
|
+
readonly "top-level-package": true;
|
|
409
|
+
readonly "mono-root": true;
|
|
410
|
+
};
|
|
222
411
|
};
|
|
223
412
|
readonly 'eslint-plugin-sonarjs': {
|
|
224
413
|
readonly type: NpmDepType.Dev;
|
|
225
|
-
readonly env:
|
|
226
|
-
|
|
414
|
+
readonly env: {
|
|
415
|
+
readonly node: true;
|
|
416
|
+
readonly web: true;
|
|
417
|
+
};
|
|
418
|
+
readonly packageType: {
|
|
419
|
+
readonly "top-level-package": true;
|
|
420
|
+
readonly "mono-root": true;
|
|
421
|
+
};
|
|
227
422
|
};
|
|
228
423
|
readonly 'typescript-eslint': {
|
|
229
424
|
readonly type: NpmDepType.Dev;
|
|
230
|
-
readonly env:
|
|
231
|
-
|
|
425
|
+
readonly env: {
|
|
426
|
+
readonly node: true;
|
|
427
|
+
readonly web: true;
|
|
428
|
+
};
|
|
429
|
+
readonly packageType: {
|
|
430
|
+
readonly "top-level-package": true;
|
|
431
|
+
readonly "mono-root": true;
|
|
432
|
+
};
|
|
232
433
|
};
|
|
233
434
|
};
|
|
234
435
|
};
|
package/dist/lint.js
CHANGED
|
@@ -40,26 +40,26 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
40
40
|
eslintTsconfig: {
|
|
41
41
|
copyFromPath: join('configs', 'tsconfig.eslint.json'),
|
|
42
42
|
copyToPath: join('configs', 'tsconfig.eslint.json'),
|
|
43
|
-
env:
|
|
44
|
-
RuntimeEnv.Node,
|
|
45
|
-
RuntimeEnv.Web,
|
|
46
|
-
|
|
47
|
-
packageType:
|
|
48
|
-
PackageType.MonoRoot,
|
|
49
|
-
|
|
43
|
+
env: {
|
|
44
|
+
[RuntimeEnv.Node]: true,
|
|
45
|
+
[RuntimeEnv.Web]: true,
|
|
46
|
+
},
|
|
47
|
+
packageType: {
|
|
48
|
+
[PackageType.MonoRoot]: true,
|
|
49
|
+
},
|
|
50
50
|
required: true,
|
|
51
51
|
},
|
|
52
52
|
eslint: {
|
|
53
53
|
copyFromPath: join('configs', 'eslint.config.share.mjs'),
|
|
54
54
|
copyToPath: join('eslint.config.mjs'),
|
|
55
|
-
env:
|
|
56
|
-
RuntimeEnv.Node,
|
|
57
|
-
RuntimeEnv.Web,
|
|
58
|
-
|
|
59
|
-
packageType:
|
|
60
|
-
PackageType.MonoRoot,
|
|
61
|
-
PackageType.TopPackage,
|
|
62
|
-
|
|
55
|
+
env: {
|
|
56
|
+
[RuntimeEnv.Node]: true,
|
|
57
|
+
[RuntimeEnv.Web]: true,
|
|
58
|
+
},
|
|
59
|
+
packageType: {
|
|
60
|
+
[PackageType.MonoRoot]: true,
|
|
61
|
+
[PackageType.TopPackage]: true,
|
|
62
|
+
},
|
|
63
63
|
required: true,
|
|
64
64
|
configFlags: [
|
|
65
65
|
'-c',
|
|
@@ -70,168 +70,168 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
70
70
|
npmDeps: {
|
|
71
71
|
eslint: {
|
|
72
72
|
type: NpmDepType.Dev,
|
|
73
|
-
env:
|
|
74
|
-
RuntimeEnv.Node,
|
|
75
|
-
RuntimeEnv.Web,
|
|
76
|
-
|
|
77
|
-
packageType:
|
|
78
|
-
PackageType.TopPackage,
|
|
79
|
-
PackageType.MonoRoot,
|
|
80
|
-
|
|
73
|
+
env: {
|
|
74
|
+
[RuntimeEnv.Node]: true,
|
|
75
|
+
[RuntimeEnv.Web]: true,
|
|
76
|
+
},
|
|
77
|
+
packageType: {
|
|
78
|
+
[PackageType.TopPackage]: true,
|
|
79
|
+
[PackageType.MonoRoot]: true,
|
|
80
|
+
},
|
|
81
81
|
},
|
|
82
82
|
'eslint-plugin-require-extensions': {
|
|
83
83
|
type: NpmDepType.Dev,
|
|
84
|
-
env:
|
|
85
|
-
RuntimeEnv.Node,
|
|
86
|
-
RuntimeEnv.Web,
|
|
87
|
-
|
|
88
|
-
packageType:
|
|
89
|
-
PackageType.TopPackage,
|
|
90
|
-
PackageType.MonoRoot,
|
|
91
|
-
|
|
84
|
+
env: {
|
|
85
|
+
[RuntimeEnv.Node]: true,
|
|
86
|
+
[RuntimeEnv.Web]: true,
|
|
87
|
+
},
|
|
88
|
+
packageType: {
|
|
89
|
+
[PackageType.TopPackage]: true,
|
|
90
|
+
[PackageType.MonoRoot]: true,
|
|
91
|
+
},
|
|
92
92
|
},
|
|
93
93
|
'eslint-plugin-unicorn': {
|
|
94
94
|
type: NpmDepType.Dev,
|
|
95
|
-
env:
|
|
96
|
-
RuntimeEnv.Node,
|
|
97
|
-
RuntimeEnv.Web,
|
|
98
|
-
|
|
99
|
-
packageType:
|
|
100
|
-
PackageType.TopPackage,
|
|
101
|
-
PackageType.MonoRoot,
|
|
102
|
-
|
|
95
|
+
env: {
|
|
96
|
+
[RuntimeEnv.Node]: true,
|
|
97
|
+
[RuntimeEnv.Web]: true,
|
|
98
|
+
},
|
|
99
|
+
packageType: {
|
|
100
|
+
[PackageType.TopPackage]: true,
|
|
101
|
+
[PackageType.MonoRoot]: true,
|
|
102
|
+
},
|
|
103
103
|
},
|
|
104
104
|
'@eslint/js': {
|
|
105
105
|
type: NpmDepType.Dev,
|
|
106
|
-
env:
|
|
107
|
-
RuntimeEnv.Node,
|
|
108
|
-
RuntimeEnv.Web,
|
|
109
|
-
|
|
110
|
-
packageType:
|
|
111
|
-
PackageType.TopPackage,
|
|
112
|
-
PackageType.MonoRoot,
|
|
113
|
-
|
|
106
|
+
env: {
|
|
107
|
+
[RuntimeEnv.Node]: true,
|
|
108
|
+
[RuntimeEnv.Web]: true,
|
|
109
|
+
},
|
|
110
|
+
packageType: {
|
|
111
|
+
[PackageType.TopPackage]: true,
|
|
112
|
+
[PackageType.MonoRoot]: true,
|
|
113
|
+
},
|
|
114
114
|
},
|
|
115
115
|
'@eslint/eslintrc': {
|
|
116
116
|
type: NpmDepType.Dev,
|
|
117
|
-
env:
|
|
118
|
-
RuntimeEnv.Node,
|
|
119
|
-
RuntimeEnv.Web,
|
|
120
|
-
|
|
121
|
-
packageType:
|
|
122
|
-
PackageType.TopPackage,
|
|
123
|
-
PackageType.MonoRoot,
|
|
124
|
-
|
|
117
|
+
env: {
|
|
118
|
+
[RuntimeEnv.Node]: true,
|
|
119
|
+
[RuntimeEnv.Web]: true,
|
|
120
|
+
},
|
|
121
|
+
packageType: {
|
|
122
|
+
[PackageType.TopPackage]: true,
|
|
123
|
+
[PackageType.MonoRoot]: true,
|
|
124
|
+
},
|
|
125
125
|
},
|
|
126
126
|
'@stylistic/eslint-plugin': {
|
|
127
127
|
type: NpmDepType.Dev,
|
|
128
|
-
env:
|
|
129
|
-
RuntimeEnv.Node,
|
|
130
|
-
RuntimeEnv.Web,
|
|
131
|
-
|
|
132
|
-
packageType:
|
|
133
|
-
PackageType.TopPackage,
|
|
134
|
-
PackageType.MonoRoot,
|
|
135
|
-
|
|
128
|
+
env: {
|
|
129
|
+
[RuntimeEnv.Node]: true,
|
|
130
|
+
[RuntimeEnv.Web]: true,
|
|
131
|
+
},
|
|
132
|
+
packageType: {
|
|
133
|
+
[PackageType.TopPackage]: true,
|
|
134
|
+
[PackageType.MonoRoot]: true,
|
|
135
|
+
},
|
|
136
136
|
},
|
|
137
137
|
'eslint-plugin-monorepo-cop': {
|
|
138
138
|
type: NpmDepType.Dev,
|
|
139
|
-
env:
|
|
140
|
-
RuntimeEnv.Node,
|
|
141
|
-
RuntimeEnv.Web,
|
|
142
|
-
|
|
143
|
-
packageType:
|
|
144
|
-
PackageType.TopPackage,
|
|
145
|
-
PackageType.MonoRoot,
|
|
146
|
-
|
|
139
|
+
env: {
|
|
140
|
+
[RuntimeEnv.Node]: true,
|
|
141
|
+
[RuntimeEnv.Web]: true,
|
|
142
|
+
},
|
|
143
|
+
packageType: {
|
|
144
|
+
[PackageType.TopPackage]: true,
|
|
145
|
+
[PackageType.MonoRoot]: true,
|
|
146
|
+
},
|
|
147
147
|
},
|
|
148
148
|
'@stylistic/eslint-plugin-ts': {
|
|
149
149
|
type: NpmDepType.Dev,
|
|
150
|
-
env:
|
|
151
|
-
RuntimeEnv.Node,
|
|
152
|
-
RuntimeEnv.Web,
|
|
153
|
-
|
|
154
|
-
packageType:
|
|
155
|
-
PackageType.TopPackage,
|
|
156
|
-
PackageType.MonoRoot,
|
|
157
|
-
|
|
150
|
+
env: {
|
|
151
|
+
[RuntimeEnv.Node]: true,
|
|
152
|
+
[RuntimeEnv.Web]: true,
|
|
153
|
+
},
|
|
154
|
+
packageType: {
|
|
155
|
+
[PackageType.TopPackage]: true,
|
|
156
|
+
[PackageType.MonoRoot]: true,
|
|
157
|
+
},
|
|
158
158
|
},
|
|
159
159
|
'@typescript-eslint/eslint-plugin': {
|
|
160
160
|
type: NpmDepType.Dev,
|
|
161
|
-
env:
|
|
162
|
-
RuntimeEnv.Node,
|
|
163
|
-
RuntimeEnv.Web,
|
|
164
|
-
|
|
165
|
-
packageType:
|
|
166
|
-
PackageType.TopPackage,
|
|
167
|
-
PackageType.MonoRoot,
|
|
168
|
-
|
|
161
|
+
env: {
|
|
162
|
+
[RuntimeEnv.Node]: true,
|
|
163
|
+
[RuntimeEnv.Web]: true,
|
|
164
|
+
},
|
|
165
|
+
packageType: {
|
|
166
|
+
[PackageType.TopPackage]: true,
|
|
167
|
+
[PackageType.MonoRoot]: true,
|
|
168
|
+
},
|
|
169
169
|
},
|
|
170
170
|
'eslint-config-prettier': {
|
|
171
171
|
type: NpmDepType.Dev,
|
|
172
|
-
env:
|
|
173
|
-
RuntimeEnv.Node,
|
|
174
|
-
RuntimeEnv.Web,
|
|
175
|
-
|
|
176
|
-
packageType:
|
|
177
|
-
PackageType.TopPackage,
|
|
178
|
-
PackageType.MonoRoot,
|
|
179
|
-
|
|
172
|
+
env: {
|
|
173
|
+
[RuntimeEnv.Node]: true,
|
|
174
|
+
[RuntimeEnv.Web]: true,
|
|
175
|
+
},
|
|
176
|
+
packageType: {
|
|
177
|
+
[PackageType.TopPackage]: true,
|
|
178
|
+
[PackageType.MonoRoot]: true,
|
|
179
|
+
},
|
|
180
180
|
},
|
|
181
181
|
'eslint-plugin-jsdoc': {
|
|
182
182
|
type: NpmDepType.Dev,
|
|
183
|
-
env:
|
|
184
|
-
RuntimeEnv.Node,
|
|
185
|
-
RuntimeEnv.Web,
|
|
186
|
-
|
|
187
|
-
packageType:
|
|
188
|
-
PackageType.TopPackage,
|
|
189
|
-
PackageType.MonoRoot,
|
|
190
|
-
|
|
183
|
+
env: {
|
|
184
|
+
[RuntimeEnv.Node]: true,
|
|
185
|
+
[RuntimeEnv.Web]: true,
|
|
186
|
+
},
|
|
187
|
+
packageType: {
|
|
188
|
+
[PackageType.TopPackage]: true,
|
|
189
|
+
[PackageType.MonoRoot]: true,
|
|
190
|
+
},
|
|
191
191
|
},
|
|
192
192
|
'eslint-plugin-playwright': {
|
|
193
193
|
type: NpmDepType.Dev,
|
|
194
|
-
env:
|
|
195
|
-
RuntimeEnv.Node,
|
|
196
|
-
RuntimeEnv.Web,
|
|
197
|
-
|
|
198
|
-
packageType:
|
|
199
|
-
PackageType.TopPackage,
|
|
200
|
-
PackageType.MonoRoot,
|
|
201
|
-
|
|
194
|
+
env: {
|
|
195
|
+
[RuntimeEnv.Node]: true,
|
|
196
|
+
[RuntimeEnv.Web]: true,
|
|
197
|
+
},
|
|
198
|
+
packageType: {
|
|
199
|
+
[PackageType.TopPackage]: true,
|
|
200
|
+
[PackageType.MonoRoot]: true,
|
|
201
|
+
},
|
|
202
202
|
},
|
|
203
203
|
'eslint-plugin-prettier': {
|
|
204
204
|
type: NpmDepType.Dev,
|
|
205
|
-
env:
|
|
206
|
-
RuntimeEnv.Node,
|
|
207
|
-
RuntimeEnv.Web,
|
|
208
|
-
|
|
209
|
-
packageType:
|
|
210
|
-
PackageType.TopPackage,
|
|
211
|
-
PackageType.MonoRoot,
|
|
212
|
-
|
|
205
|
+
env: {
|
|
206
|
+
[RuntimeEnv.Node]: true,
|
|
207
|
+
[RuntimeEnv.Web]: true,
|
|
208
|
+
},
|
|
209
|
+
packageType: {
|
|
210
|
+
[PackageType.TopPackage]: true,
|
|
211
|
+
[PackageType.MonoRoot]: true,
|
|
212
|
+
},
|
|
213
213
|
},
|
|
214
214
|
'eslint-plugin-sonarjs': {
|
|
215
215
|
type: NpmDepType.Dev,
|
|
216
|
-
env:
|
|
217
|
-
RuntimeEnv.Node,
|
|
218
|
-
RuntimeEnv.Web,
|
|
219
|
-
|
|
220
|
-
packageType:
|
|
221
|
-
PackageType.TopPackage,
|
|
222
|
-
PackageType.MonoRoot,
|
|
223
|
-
|
|
216
|
+
env: {
|
|
217
|
+
[RuntimeEnv.Node]: true,
|
|
218
|
+
[RuntimeEnv.Web]: true,
|
|
219
|
+
},
|
|
220
|
+
packageType: {
|
|
221
|
+
[PackageType.TopPackage]: true,
|
|
222
|
+
[PackageType.MonoRoot]: true,
|
|
223
|
+
},
|
|
224
224
|
},
|
|
225
225
|
'typescript-eslint': {
|
|
226
226
|
type: NpmDepType.Dev,
|
|
227
|
-
env:
|
|
228
|
-
RuntimeEnv.Node,
|
|
229
|
-
RuntimeEnv.Web,
|
|
230
|
-
|
|
231
|
-
packageType:
|
|
232
|
-
PackageType.TopPackage,
|
|
233
|
-
PackageType.MonoRoot,
|
|
234
|
-
|
|
227
|
+
env: {
|
|
228
|
+
[RuntimeEnv.Node]: true,
|
|
229
|
+
[RuntimeEnv.Web]: true,
|
|
230
|
+
},
|
|
231
|
+
packageType: {
|
|
232
|
+
[PackageType.TopPackage]: true,
|
|
233
|
+
[PackageType.MonoRoot]: true,
|
|
234
|
+
},
|
|
235
235
|
},
|
|
236
236
|
},
|
|
237
237
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/lint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Default ESLint linting plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"test:update": "npm test update"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@augment-vir/assert": "^31.
|
|
36
|
-
"@augment-vir/common": "^31.
|
|
37
|
-
"@virmator/core": "^
|
|
35
|
+
"@augment-vir/assert": "^31.32.3",
|
|
36
|
+
"@augment-vir/common": "^31.32.3",
|
|
37
|
+
"@virmator/core": "^14.0.0",
|
|
38
38
|
"mri": "^1.2.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@augment-vir/test": "^31.
|
|
41
|
+
"@augment-vir/test": "^31.32.3",
|
|
42
42
|
"@eslint/eslintrc": "^3.3.1",
|
|
43
|
-
"@eslint/js": "9.
|
|
43
|
+
"@eslint/js": "9.33.0",
|
|
44
44
|
"@stylistic/eslint-plugin": "^5.2.3",
|
|
45
45
|
"@stylistic/eslint-plugin-ts": "^4.4.1",
|
|
46
|
-
"@types/node": "^24.
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
46
|
+
"@types/node": "^24.3.0",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
|
48
48
|
"c8": "^10.1.3",
|
|
49
|
-
"eslint": "^9.
|
|
49
|
+
"eslint": "^9.33.0",
|
|
50
50
|
"eslint-config-prettier": "^10.1.8",
|
|
51
|
-
"eslint-plugin-jsdoc": "^
|
|
51
|
+
"eslint-plugin-jsdoc": "^54.1.1",
|
|
52
52
|
"eslint-plugin-monorepo-cop": "^1.0.2",
|
|
53
53
|
"eslint-plugin-playwright": "^2.2.2",
|
|
54
54
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint-plugin-sonarjs": "^3.0.4",
|
|
57
57
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
58
58
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
59
|
-
"typescript-eslint": "^8.
|
|
59
|
+
"typescript-eslint": "^8.40.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22"
|