@zayne-labs/eslint-config 0.2.9 → 0.2.11
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 +555 -423
- package/dist/index.js +22 -20
- package/dist/index.js.map +1 -1
- package/package.json +34 -32
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
2
2
|
import { ParserOptions as ParserOptions$1 } from '@typescript-eslint/parser';
|
|
3
|
+
import * as eslint from 'eslint';
|
|
3
4
|
import { Linter, ESLint } from 'eslint';
|
|
4
5
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
5
6
|
|
|
@@ -277,233 +278,233 @@ interface Rules {
|
|
|
277
278
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
278
279
|
/**
|
|
279
280
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
280
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
281
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/consistent-type-specifier-style.md
|
|
281
282
|
*/
|
|
282
283
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
283
284
|
/**
|
|
284
285
|
* Ensure a default export is present, given a default import.
|
|
285
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
286
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/default.md
|
|
286
287
|
*/
|
|
287
288
|
'import/default'?: Linter.RuleEntry<[]>
|
|
288
289
|
/**
|
|
289
290
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
290
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
291
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/dynamic-import-chunkname.md
|
|
291
292
|
*/
|
|
292
293
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
293
294
|
/**
|
|
294
295
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
295
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
296
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/export.md
|
|
296
297
|
*/
|
|
297
298
|
'import/export'?: Linter.RuleEntry<[]>
|
|
298
299
|
/**
|
|
299
300
|
* Ensure all exports appear after other statements.
|
|
300
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
301
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/exports-last.md
|
|
301
302
|
*/
|
|
302
303
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
303
304
|
/**
|
|
304
305
|
* Ensure consistent use of file extension within the import path.
|
|
305
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
306
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/extensions.md
|
|
306
307
|
*/
|
|
307
308
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
308
309
|
/**
|
|
309
310
|
* Ensure all imports appear before other statements.
|
|
310
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
311
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/first.md
|
|
311
312
|
*/
|
|
312
313
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
313
314
|
/**
|
|
314
315
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
315
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
316
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/group-exports.md
|
|
316
317
|
*/
|
|
317
318
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
318
319
|
/**
|
|
319
320
|
* Replaced by `import-x/first`.
|
|
320
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
321
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/imports-first.md
|
|
321
322
|
* @deprecated
|
|
322
323
|
*/
|
|
323
324
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
324
325
|
/**
|
|
325
326
|
* Enforce the maximum number of dependencies a module can have.
|
|
326
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
327
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/max-dependencies.md
|
|
327
328
|
*/
|
|
328
329
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
329
330
|
/**
|
|
330
331
|
* Ensure named imports correspond to a named export in the remote file.
|
|
331
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
332
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/named.md
|
|
332
333
|
*/
|
|
333
334
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
334
335
|
/**
|
|
335
336
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
336
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
337
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/namespace.md
|
|
337
338
|
*/
|
|
338
339
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
339
340
|
/**
|
|
340
341
|
* Enforce a newline after import statements.
|
|
341
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
342
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/newline-after-import.md
|
|
342
343
|
*/
|
|
343
344
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
344
345
|
/**
|
|
345
346
|
* Forbid import of modules using absolute paths.
|
|
346
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
347
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-absolute-path.md
|
|
347
348
|
*/
|
|
348
349
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
349
350
|
/**
|
|
350
351
|
* Forbid AMD `require` and `define` calls.
|
|
351
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
352
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-amd.md
|
|
352
353
|
*/
|
|
353
354
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
354
355
|
/**
|
|
355
356
|
* Forbid anonymous values as default exports.
|
|
356
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
357
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-anonymous-default-export.md
|
|
357
358
|
*/
|
|
358
359
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
359
360
|
/**
|
|
360
361
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
361
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
362
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-commonjs.md
|
|
362
363
|
*/
|
|
363
364
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
364
365
|
/**
|
|
365
366
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
366
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
367
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-cycle.md
|
|
367
368
|
*/
|
|
368
369
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
369
370
|
/**
|
|
370
371
|
* Forbid default exports.
|
|
371
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
372
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-default-export.md
|
|
372
373
|
*/
|
|
373
374
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
374
375
|
/**
|
|
375
376
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
376
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
377
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-deprecated.md
|
|
377
378
|
*/
|
|
378
379
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
379
380
|
/**
|
|
380
381
|
* Forbid repeated import of the same module in multiple places.
|
|
381
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
382
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-duplicates.md
|
|
382
383
|
*/
|
|
383
384
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
384
385
|
/**
|
|
385
386
|
* Forbid `require()` calls with expressions.
|
|
386
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
387
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-dynamic-require.md
|
|
387
388
|
*/
|
|
388
389
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
389
390
|
/**
|
|
390
391
|
* Forbid empty named import blocks.
|
|
391
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
392
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-empty-named-blocks.md
|
|
392
393
|
*/
|
|
393
394
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
394
395
|
/**
|
|
395
396
|
* Forbid the use of extraneous packages.
|
|
396
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
397
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-extraneous-dependencies.md
|
|
397
398
|
*/
|
|
398
399
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
399
400
|
/**
|
|
400
401
|
* Forbid import statements with CommonJS module.exports.
|
|
401
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
402
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-import-module-exports.md
|
|
402
403
|
*/
|
|
403
404
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
404
405
|
/**
|
|
405
406
|
* Forbid importing the submodules of other modules.
|
|
406
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
407
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-internal-modules.md
|
|
407
408
|
*/
|
|
408
409
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
409
410
|
/**
|
|
410
411
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
411
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
412
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-mutable-exports.md
|
|
412
413
|
*/
|
|
413
414
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
414
415
|
/**
|
|
415
416
|
* Forbid use of exported name as identifier of default export.
|
|
416
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
417
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default.md
|
|
417
418
|
*/
|
|
418
419
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
419
420
|
/**
|
|
420
421
|
* Forbid use of exported name as property of default export.
|
|
421
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
422
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default-member.md
|
|
422
423
|
*/
|
|
423
424
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
424
425
|
/**
|
|
425
426
|
* Forbid named default exports.
|
|
426
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
427
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-default.md
|
|
427
428
|
*/
|
|
428
429
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
429
430
|
/**
|
|
430
431
|
* Forbid named exports.
|
|
431
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
432
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-export.md
|
|
432
433
|
*/
|
|
433
434
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
434
435
|
/**
|
|
435
436
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
436
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
437
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-namespace.md
|
|
437
438
|
*/
|
|
438
439
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
439
440
|
/**
|
|
440
441
|
* Forbid Node.js builtin modules.
|
|
441
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
442
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-nodejs-modules.md
|
|
442
443
|
*/
|
|
443
444
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
444
445
|
/**
|
|
445
446
|
* Forbid importing packages through relative paths.
|
|
446
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-packages.md
|
|
447
448
|
*/
|
|
448
449
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
449
450
|
/**
|
|
450
451
|
* Forbid importing modules from parent directories.
|
|
451
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-parent-imports.md
|
|
452
453
|
*/
|
|
453
454
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
454
455
|
/**
|
|
455
456
|
* Forbid importing a default export by a different name.
|
|
456
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-rename-default.md
|
|
457
458
|
*/
|
|
458
459
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
459
460
|
/**
|
|
460
461
|
* Enforce which files can be imported in a given folder.
|
|
461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-restricted-paths.md
|
|
462
463
|
*/
|
|
463
464
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
464
465
|
/**
|
|
465
466
|
* Forbid a module from importing itself.
|
|
466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-self-import.md
|
|
467
468
|
*/
|
|
468
469
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
469
470
|
/**
|
|
470
471
|
* Forbid unassigned imports.
|
|
471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unassigned-import.md
|
|
472
473
|
*/
|
|
473
474
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
474
475
|
/**
|
|
475
476
|
* Ensure imports point to a file/module that can be resolved.
|
|
476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unresolved.md
|
|
477
478
|
*/
|
|
478
479
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
479
480
|
/**
|
|
480
481
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unused-modules.md
|
|
482
483
|
*/
|
|
483
484
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
484
485
|
/**
|
|
485
486
|
* Forbid unnecessary path segments in import and require statements.
|
|
486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-useless-path-segments.md
|
|
487
488
|
*/
|
|
488
489
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
489
490
|
/**
|
|
490
491
|
* Forbid webpack loader syntax in imports.
|
|
491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
492
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-webpack-loader-syntax.md
|
|
492
493
|
*/
|
|
493
494
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
494
495
|
/**
|
|
495
496
|
* Enforce a convention in module import order.
|
|
496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
497
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/order.md
|
|
497
498
|
*/
|
|
498
499
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
499
500
|
/**
|
|
500
501
|
* Prefer a default export if module exports a single name or multiple names.
|
|
501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
502
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/prefer-default-export.md
|
|
502
503
|
*/
|
|
503
504
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
504
505
|
/**
|
|
505
506
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
506
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
|
|
507
508
|
*/
|
|
508
509
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
509
510
|
/**
|
|
@@ -654,6 +655,7 @@ interface Rules {
|
|
|
654
655
|
*/
|
|
655
656
|
'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
|
|
656
657
|
/**
|
|
658
|
+
* Prevents use of multiple asterisks at the beginning of lines.
|
|
657
659
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
|
|
658
660
|
*/
|
|
659
661
|
'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
|
|
@@ -798,6 +800,7 @@ interface Rules {
|
|
|
798
800
|
*/
|
|
799
801
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
800
802
|
/**
|
|
803
|
+
* Auto-escape certain characters that are input within block and tag descriptions.
|
|
801
804
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
802
805
|
*/
|
|
803
806
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
@@ -2342,17 +2345,16 @@ interface Rules {
|
|
|
2342
2345
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2343
2346
|
*/
|
|
2344
2347
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2345
|
-
/**
|
|
2346
|
-
* Enforce sorted Astro attributes.
|
|
2347
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2348
|
-
* @deprecated
|
|
2349
|
-
*/
|
|
2350
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2351
2348
|
/**
|
|
2352
2349
|
* Enforce sorted classes.
|
|
2353
2350
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2354
2351
|
*/
|
|
2355
2352
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
2353
|
+
/**
|
|
2354
|
+
* Enforce sorted decorators.
|
|
2355
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
2356
|
+
*/
|
|
2357
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
2356
2358
|
/**
|
|
2357
2359
|
* Enforce sorted TypeScript enums.
|
|
2358
2360
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2363,6 +2365,11 @@ interface Rules {
|
|
|
2363
2365
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2364
2366
|
*/
|
|
2365
2367
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
2368
|
+
/**
|
|
2369
|
+
* Enforce sorted heritage clauses.
|
|
2370
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
2371
|
+
*/
|
|
2372
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
2366
2373
|
/**
|
|
2367
2374
|
* Enforce sorted imports.
|
|
2368
2375
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2388,6 +2395,11 @@ interface Rules {
|
|
|
2388
2395
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2389
2396
|
*/
|
|
2390
2397
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
2398
|
+
/**
|
|
2399
|
+
* Enforce sorted modules.
|
|
2400
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
2401
|
+
*/
|
|
2402
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
2391
2403
|
/**
|
|
2392
2404
|
* Enforce sorted named exports.
|
|
2393
2405
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2413,12 +2425,6 @@ interface Rules {
|
|
|
2413
2425
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2414
2426
|
*/
|
|
2415
2427
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2416
|
-
/**
|
|
2417
|
-
* Enforce sorted Svelte attributes.
|
|
2418
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2419
|
-
* @deprecated
|
|
2420
|
-
*/
|
|
2421
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2422
2428
|
/**
|
|
2423
2429
|
* Enforce sorted switch cases.
|
|
2424
2430
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2434,12 +2440,6 @@ interface Rules {
|
|
|
2434
2440
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2435
2441
|
*/
|
|
2436
2442
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2437
|
-
/**
|
|
2438
|
-
* Enforce sorted Vue attributes.
|
|
2439
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2440
|
-
* @deprecated
|
|
2441
|
-
*/
|
|
2442
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2443
2443
|
/**
|
|
2444
2444
|
* Require using arrow functions for callbacks
|
|
2445
2445
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -3734,7 +3734,7 @@ interface Rules {
|
|
|
3734
3734
|
*/
|
|
3735
3735
|
'ts-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
3736
3736
|
/**
|
|
3737
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
3737
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
3738
3738
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
3739
3739
|
*/
|
|
3740
3740
|
'ts-eslint/no-base-to-string'?: Linter.RuleEntry<TsEslintNoBaseToString>
|
|
@@ -4021,6 +4021,11 @@ interface Rules {
|
|
|
4021
4021
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
4022
4022
|
*/
|
|
4023
4023
|
'ts-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
4024
|
+
/**
|
|
4025
|
+
* Disallow type assertions that narrow a type
|
|
4026
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
4027
|
+
*/
|
|
4028
|
+
'ts-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
4024
4029
|
/**
|
|
4025
4030
|
* Require unary negation to take a number
|
|
4026
4031
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -4178,6 +4183,11 @@ interface Rules {
|
|
|
4178
4183
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
4179
4184
|
*/
|
|
4180
4185
|
'ts-eslint/promise-function-async'?: Linter.RuleEntry<TsEslintPromiseFunctionAsync>
|
|
4186
|
+
/**
|
|
4187
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
4188
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
4189
|
+
*/
|
|
4190
|
+
'ts-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
4181
4191
|
/**
|
|
4182
4192
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
4183
4193
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -4251,702 +4261,702 @@ interface Rules {
|
|
|
4251
4261
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4252
4262
|
/**
|
|
4253
4263
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
4255
4265
|
*/
|
|
4256
4266
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4257
4267
|
/**
|
|
4258
4268
|
* Enforce a specific parameter name in catch clauses.
|
|
4259
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
4260
4270
|
*/
|
|
4261
4271
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4262
4272
|
/**
|
|
4263
4273
|
* Use destructured variables over properties.
|
|
4264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
4265
4275
|
*/
|
|
4266
4276
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4267
4277
|
/**
|
|
4268
4278
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4269
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4270
4280
|
*/
|
|
4271
4281
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4272
4282
|
/**
|
|
4273
4283
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4274
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
4275
4285
|
*/
|
|
4276
4286
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4277
4287
|
/**
|
|
4278
4288
|
* Move function definitions to the highest possible scope.
|
|
4279
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
4280
4290
|
*/
|
|
4281
4291
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4282
4292
|
/**
|
|
4283
4293
|
* Enforce correct `Error` subclassing.
|
|
4284
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
4285
4295
|
*/
|
|
4286
4296
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4287
4297
|
/**
|
|
4288
4298
|
* Enforce no spaces between braces.
|
|
4289
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
4290
4300
|
*/
|
|
4291
4301
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4292
4302
|
/**
|
|
4293
4303
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4294
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
4295
4305
|
*/
|
|
4296
4306
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4297
4307
|
/**
|
|
4298
4308
|
* Require escape sequences to use uppercase values.
|
|
4299
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
4300
4310
|
*/
|
|
4301
4311
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4302
4312
|
/**
|
|
4303
4313
|
* Add expiration conditions to TODO comments.
|
|
4304
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
4305
4315
|
*/
|
|
4306
4316
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4307
4317
|
/**
|
|
4308
4318
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4309
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
4310
4320
|
*/
|
|
4311
4321
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4312
4322
|
/**
|
|
4313
4323
|
* Enforce a case style for filenames.
|
|
4314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
4315
4325
|
*/
|
|
4316
4326
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4317
4327
|
/**
|
|
4318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4328
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
4319
4329
|
* @deprecated
|
|
4320
4330
|
*/
|
|
4321
4331
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4322
4332
|
/**
|
|
4323
4333
|
* Enforce specific import styles per module.
|
|
4324
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
4325
4335
|
*/
|
|
4326
4336
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4327
4337
|
/**
|
|
4328
4338
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4329
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
4330
4340
|
*/
|
|
4331
4341
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4332
4342
|
/**
|
|
4333
4343
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4334
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4335
4345
|
*/
|
|
4336
4346
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4337
4347
|
/**
|
|
4338
4348
|
* Disallow anonymous functions and classes as the default export.
|
|
4339
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
4340
4350
|
*/
|
|
4341
4351
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4342
4352
|
/**
|
|
4343
4353
|
* Prevent passing a function reference directly to iterator methods.
|
|
4344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
4345
4355
|
*/
|
|
4346
4356
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4347
4357
|
/**
|
|
4348
4358
|
* Prefer `for…of` over the `forEach` method.
|
|
4349
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
4350
4360
|
*/
|
|
4351
4361
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4352
4362
|
/**
|
|
4353
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
4354
4364
|
* @deprecated
|
|
4355
4365
|
*/
|
|
4356
4366
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4357
4367
|
/**
|
|
4358
4368
|
* Disallow using the `this` argument in array methods.
|
|
4359
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
4360
4370
|
*/
|
|
4361
4371
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4362
4372
|
/**
|
|
4363
4373
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
4365
4375
|
*/
|
|
4366
4376
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4367
4377
|
/**
|
|
4368
4378
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4369
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
4370
4380
|
*/
|
|
4371
4381
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4372
4382
|
/**
|
|
4373
4383
|
* Disallow member access from await expression.
|
|
4374
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
4375
4385
|
*/
|
|
4376
4386
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4377
4387
|
/**
|
|
4378
4388
|
* Disallow using `await` in `Promise` method parameters.
|
|
4379
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4380
4390
|
*/
|
|
4381
4391
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4382
4392
|
/**
|
|
4383
4393
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4384
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
4385
4395
|
*/
|
|
4386
4396
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4387
4397
|
/**
|
|
4388
4398
|
* Do not use `document.cookie` directly.
|
|
4389
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
4390
4400
|
*/
|
|
4391
4401
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4392
4402
|
/**
|
|
4393
4403
|
* Disallow empty files.
|
|
4394
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
4395
4405
|
*/
|
|
4396
4406
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4397
4407
|
/**
|
|
4398
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4399
4409
|
* @deprecated
|
|
4400
4410
|
*/
|
|
4401
4411
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4402
4412
|
/**
|
|
4403
4413
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4404
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
4405
4415
|
*/
|
|
4406
4416
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4407
4417
|
/**
|
|
4408
4418
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4409
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
4410
4420
|
*/
|
|
4411
4421
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4412
4422
|
/**
|
|
4413
4423
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4414
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
4415
4425
|
*/
|
|
4416
4426
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4417
4427
|
/**
|
|
4418
4428
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4419
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4420
4430
|
*/
|
|
4421
4431
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4422
4432
|
/**
|
|
4423
4433
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4424
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4425
4435
|
*/
|
|
4426
4436
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4427
4437
|
/**
|
|
4428
4438
|
* Disallow identifiers starting with `new` or `class`.
|
|
4429
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
4430
4440
|
*/
|
|
4431
4441
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4432
4442
|
/**
|
|
4433
4443
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4434
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
4435
4445
|
*/
|
|
4436
4446
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4437
4447
|
/**
|
|
4438
4448
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4439
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
4440
4450
|
*/
|
|
4441
4451
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4442
4452
|
/**
|
|
4443
4453
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4444
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4445
4455
|
*/
|
|
4446
4456
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4447
4457
|
/**
|
|
4448
4458
|
* Disallow negated conditions.
|
|
4449
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
4450
4460
|
*/
|
|
4451
4461
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4452
4462
|
/**
|
|
4453
4463
|
* Disallow negated expression in equality check.
|
|
4454
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4455
4465
|
*/
|
|
4456
4466
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4457
4467
|
/**
|
|
4458
4468
|
* Disallow nested ternary expressions.
|
|
4459
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
4460
4470
|
*/
|
|
4461
4471
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4462
4472
|
/**
|
|
4463
4473
|
* Disallow `new Array()`.
|
|
4464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
4465
4475
|
*/
|
|
4466
4476
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4467
4477
|
/**
|
|
4468
4478
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4469
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
4470
4480
|
*/
|
|
4471
4481
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4472
4482
|
/**
|
|
4473
4483
|
* Disallow the use of the `null` literal.
|
|
4474
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
4475
4485
|
*/
|
|
4476
4486
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4477
4487
|
/**
|
|
4478
4488
|
* Disallow the use of objects as default parameters.
|
|
4479
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4480
4490
|
*/
|
|
4481
4491
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4482
4492
|
/**
|
|
4483
4493
|
* Disallow `process.exit()`.
|
|
4484
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
4485
4495
|
*/
|
|
4486
4496
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4487
4497
|
/**
|
|
4488
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4498
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
4489
4499
|
* @deprecated
|
|
4490
4500
|
*/
|
|
4491
4501
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4492
4502
|
/**
|
|
4493
4503
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4494
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4495
4505
|
*/
|
|
4496
4506
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4497
4507
|
/**
|
|
4498
4508
|
* Disallow classes that only have static members.
|
|
4499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
4500
4510
|
*/
|
|
4501
4511
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4502
4512
|
/**
|
|
4503
4513
|
* Disallow `then` property.
|
|
4504
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
4505
4515
|
*/
|
|
4506
4516
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4507
4517
|
/**
|
|
4508
4518
|
* Disallow assigning `this` to a variable.
|
|
4509
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
4510
4520
|
*/
|
|
4511
4521
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4512
4522
|
/**
|
|
4513
4523
|
* Disallow comparing `undefined` using `typeof`.
|
|
4514
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
4515
4525
|
*/
|
|
4516
4526
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4517
4527
|
/**
|
|
4518
4528
|
* Disallow awaiting non-promise values.
|
|
4519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
4520
4530
|
*/
|
|
4521
4531
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4522
4532
|
/**
|
|
4523
4533
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4524
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4525
4535
|
*/
|
|
4526
4536
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4527
4537
|
/**
|
|
4528
4538
|
* Disallow unreadable array destructuring.
|
|
4529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4530
4540
|
*/
|
|
4531
4541
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4532
4542
|
/**
|
|
4533
4543
|
* Disallow unreadable IIFEs.
|
|
4534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
4535
4545
|
*/
|
|
4536
4546
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4537
4547
|
/**
|
|
4538
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4548
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
4539
4549
|
* @deprecated
|
|
4540
4550
|
*/
|
|
4541
4551
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4542
4552
|
/**
|
|
4543
4553
|
* Disallow unused object properties.
|
|
4544
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
4545
4555
|
*/
|
|
4546
4556
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4547
4557
|
/**
|
|
4548
4558
|
* Disallow useless fallback when spreading in object literals.
|
|
4549
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4559
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4550
4560
|
*/
|
|
4551
4561
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4552
4562
|
/**
|
|
4553
4563
|
* Disallow useless array length check.
|
|
4554
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
4555
4565
|
*/
|
|
4556
4566
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4557
4567
|
/**
|
|
4558
4568
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4559
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4569
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4560
4570
|
*/
|
|
4561
4571
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4562
4572
|
/**
|
|
4563
4573
|
* Disallow unnecessary spread.
|
|
4564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
4565
4575
|
*/
|
|
4566
4576
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4567
4577
|
/**
|
|
4568
4578
|
* Disallow useless case in switch statements.
|
|
4569
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
4570
4580
|
*/
|
|
4571
4581
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4572
4582
|
/**
|
|
4573
4583
|
* Disallow useless `undefined`.
|
|
4574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
4575
4585
|
*/
|
|
4576
4586
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4577
4587
|
/**
|
|
4578
4588
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
4580
4590
|
*/
|
|
4581
4591
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4582
4592
|
/**
|
|
4583
4593
|
* Enforce proper case for numeric literals.
|
|
4584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
4585
4595
|
*/
|
|
4586
4596
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4587
4597
|
/**
|
|
4588
4598
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
4590
4600
|
*/
|
|
4591
4601
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4592
4602
|
/**
|
|
4593
4603
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
4595
4605
|
*/
|
|
4596
4606
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4597
4607
|
/**
|
|
4598
4608
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
4600
4610
|
*/
|
|
4601
4611
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4602
4612
|
/**
|
|
4603
4613
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
4605
4615
|
*/
|
|
4606
4616
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4607
4617
|
/**
|
|
4608
4618
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
4610
4620
|
*/
|
|
4611
4621
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4612
4622
|
/**
|
|
4613
4623
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
4615
4625
|
*/
|
|
4616
4626
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4617
4627
|
/**
|
|
4618
4628
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
4620
4630
|
*/
|
|
4621
4631
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4622
4632
|
/**
|
|
4623
4633
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
4625
4635
|
*/
|
|
4626
4636
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4627
4637
|
/**
|
|
4628
4638
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4630
4640
|
*/
|
|
4631
4641
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4632
4642
|
/**
|
|
4633
4643
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
4635
4645
|
*/
|
|
4636
4646
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4637
4647
|
/**
|
|
4638
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4648
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
4639
4649
|
* @deprecated
|
|
4640
4650
|
*/
|
|
4641
4651
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4642
4652
|
/**
|
|
4643
4653
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
4645
4655
|
*/
|
|
4646
4656
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4647
4657
|
/**
|
|
4648
4658
|
* Prefer default parameters over reassignment.
|
|
4649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
4650
4660
|
*/
|
|
4651
4661
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4652
4662
|
/**
|
|
4653
4663
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4664
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
4655
4665
|
*/
|
|
4656
4666
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4657
4667
|
/**
|
|
4658
4668
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4660
4670
|
*/
|
|
4661
4671
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4662
4672
|
/**
|
|
4663
4673
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4665
4675
|
*/
|
|
4666
4676
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4667
4677
|
/**
|
|
4668
4678
|
* Prefer `.textContent` over `.innerText`.
|
|
4669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4679
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4670
4680
|
*/
|
|
4671
4681
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4672
4682
|
/**
|
|
4673
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4683
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
4674
4684
|
* @deprecated
|
|
4675
4685
|
*/
|
|
4676
4686
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4677
4687
|
/**
|
|
4678
4688
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4689
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
4680
4690
|
*/
|
|
4681
4691
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4682
4692
|
/**
|
|
4683
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4693
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4684
4694
|
* @deprecated
|
|
4685
4695
|
*/
|
|
4686
4696
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4687
4697
|
/**
|
|
4688
4698
|
* Prefer `export…from` when re-exporting.
|
|
4689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
4690
4700
|
*/
|
|
4691
4701
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4692
4702
|
/**
|
|
4693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4703
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
4694
4704
|
* @deprecated
|
|
4695
4705
|
*/
|
|
4696
4706
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4697
4707
|
/**
|
|
4698
4708
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
4700
4710
|
*/
|
|
4701
4711
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4702
4712
|
/**
|
|
4703
4713
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
4705
4715
|
*/
|
|
4706
4716
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4707
4717
|
/**
|
|
4708
4718
|
* Prefer reading a JSON file as a buffer.
|
|
4709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4710
4720
|
*/
|
|
4711
4721
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4712
4722
|
/**
|
|
4713
4723
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4715
4725
|
*/
|
|
4716
4726
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4717
4727
|
/**
|
|
4718
4728
|
* Prefer using a logical operator over a ternary.
|
|
4719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4720
4730
|
*/
|
|
4721
4731
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4722
4732
|
/**
|
|
4723
4733
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
4725
4735
|
*/
|
|
4726
4736
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4727
4737
|
/**
|
|
4728
4738
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
4730
4740
|
*/
|
|
4731
4741
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4732
4742
|
/**
|
|
4733
4743
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4735
4745
|
*/
|
|
4736
4746
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4737
4747
|
/**
|
|
4738
4748
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4740
4750
|
*/
|
|
4741
4751
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4742
4752
|
/**
|
|
4743
4753
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
4745
4755
|
*/
|
|
4746
4756
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4747
4757
|
/**
|
|
4748
4758
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4750
4760
|
*/
|
|
4751
4761
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4752
4762
|
/**
|
|
4753
4763
|
* Prefer negative index over `.length - index` when possible.
|
|
4754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
4755
4765
|
*/
|
|
4756
4766
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4757
4767
|
/**
|
|
4758
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4768
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
4759
4769
|
* @deprecated
|
|
4760
4770
|
*/
|
|
4761
4771
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4762
4772
|
/**
|
|
4763
4773
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
4765
4775
|
*/
|
|
4766
4776
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4767
4777
|
/**
|
|
4768
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4778
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
4769
4779
|
* @deprecated
|
|
4770
4780
|
*/
|
|
4771
4781
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4772
4782
|
/**
|
|
4773
4783
|
* Prefer `Number` static properties over global ones.
|
|
4774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
4775
4785
|
*/
|
|
4776
4786
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4777
4787
|
/**
|
|
4778
4788
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
4780
4790
|
*/
|
|
4781
4791
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4782
4792
|
/**
|
|
4783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4793
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
4784
4794
|
* @deprecated
|
|
4785
4795
|
*/
|
|
4786
4796
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4787
4797
|
/**
|
|
4788
4798
|
* Prefer omitting the `catch` binding parameter.
|
|
4789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4790
4800
|
*/
|
|
4791
4801
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4792
4802
|
/**
|
|
4793
4803
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
4795
4805
|
*/
|
|
4796
4806
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4797
4807
|
/**
|
|
4798
4808
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
4800
4810
|
*/
|
|
4801
4811
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4802
4812
|
/**
|
|
4803
4813
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
4805
4815
|
*/
|
|
4806
4816
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4807
4817
|
/**
|
|
4808
4818
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
4810
4820
|
*/
|
|
4811
4821
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4812
4822
|
/**
|
|
4813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4823
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
4814
4824
|
* @deprecated
|
|
4815
4825
|
*/
|
|
4816
4826
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4817
4827
|
/**
|
|
4818
4828
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
4820
4830
|
*/
|
|
4821
4831
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4822
4832
|
/**
|
|
4823
4833
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
4825
4835
|
*/
|
|
4826
4836
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4827
4837
|
/**
|
|
4828
4838
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
4830
4840
|
*/
|
|
4831
4841
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4832
4842
|
/**
|
|
4833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4834
4844
|
* @deprecated
|
|
4835
4845
|
*/
|
|
4836
4846
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4837
4847
|
/**
|
|
4838
4848
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
4840
4850
|
*/
|
|
4841
4851
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4842
4852
|
/**
|
|
4843
4853
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
4845
4855
|
*/
|
|
4846
4856
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4847
4857
|
/**
|
|
4848
4858
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4849
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
4850
4860
|
*/
|
|
4851
4861
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4852
4862
|
/**
|
|
4853
4863
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4855
4865
|
*/
|
|
4856
4866
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4857
4867
|
/**
|
|
4858
4868
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4860
4870
|
*/
|
|
4861
4871
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4862
4872
|
/**
|
|
4863
4873
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
4865
4875
|
*/
|
|
4866
4876
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4867
4877
|
/**
|
|
4868
4878
|
* Prefer `switch` over multiple `else-if`.
|
|
4869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
4870
4880
|
*/
|
|
4871
4881
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4872
4882
|
/**
|
|
4873
4883
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
4875
4885
|
*/
|
|
4876
4886
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4877
4887
|
/**
|
|
4878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
4879
4889
|
* @deprecated
|
|
4880
4890
|
*/
|
|
4881
4891
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
4882
4892
|
/**
|
|
4883
4893
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
4885
4895
|
*/
|
|
4886
4896
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4887
4897
|
/**
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4889
4899
|
* @deprecated
|
|
4890
4900
|
*/
|
|
4891
4901
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4892
4902
|
/**
|
|
4893
4903
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
4895
4905
|
*/
|
|
4896
4906
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4897
4907
|
/**
|
|
4898
4908
|
* Prevent abbreviations.
|
|
4899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
4900
4910
|
*/
|
|
4901
4911
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4902
4912
|
/**
|
|
4903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
4904
4914
|
* @deprecated
|
|
4905
4915
|
*/
|
|
4906
4916
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
4907
4917
|
/**
|
|
4908
4918
|
* Enforce consistent relative URL style.
|
|
4909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
4910
4920
|
*/
|
|
4911
4921
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4912
4922
|
/**
|
|
4913
4923
|
* Enforce using the separator argument with `Array#join()`.
|
|
4914
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
4915
4925
|
*/
|
|
4916
4926
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4917
4927
|
/**
|
|
4918
4928
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4920
4930
|
*/
|
|
4921
4931
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4922
4932
|
/**
|
|
4923
4933
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4924
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
4925
4935
|
*/
|
|
4926
4936
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4927
4937
|
/**
|
|
4928
4938
|
* Enforce better string content.
|
|
4929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
4930
4940
|
*/
|
|
4931
4941
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4932
4942
|
/**
|
|
4933
4943
|
* Enforce consistent brace style for `case` clauses.
|
|
4934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
4935
4945
|
*/
|
|
4936
4946
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4937
4947
|
/**
|
|
4938
4948
|
* Fix whitespace-insensitive template indentation.
|
|
4939
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
4940
4950
|
*/
|
|
4941
4951
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4942
4952
|
/**
|
|
4943
4953
|
* Enforce consistent case for text encoding identifiers.
|
|
4944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4945
4955
|
*/
|
|
4946
4956
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4947
4957
|
/**
|
|
4948
4958
|
* Require `new` when creating an error.
|
|
4949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
4950
4960
|
*/
|
|
4951
4961
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4952
4962
|
/**
|
|
@@ -5221,17 +5231,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
5221
5231
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5222
5232
|
}
|
|
5223
5233
|
ignorePackages?: boolean
|
|
5234
|
+
checkTypeImports?: boolean
|
|
5224
5235
|
[k: string]: unknown | undefined
|
|
5225
5236
|
}] | []|[{
|
|
5226
5237
|
pattern?: {
|
|
5227
5238
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5228
5239
|
}
|
|
5229
5240
|
ignorePackages?: boolean
|
|
5241
|
+
checkTypeImports?: boolean
|
|
5230
5242
|
[k: string]: unknown | undefined
|
|
5231
|
-
}] | []|[{
|
|
5232
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5233
5243
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
5234
5244
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5245
|
+
}] | []|[{
|
|
5246
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5235
5247
|
}])
|
|
5236
5248
|
// ----- import/first -----
|
|
5237
5249
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -7241,6 +7253,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
7241
7253
|
// ----- node/no-sync -----
|
|
7242
7254
|
type NodeNoSync = []|[{
|
|
7243
7255
|
allowAtRootLevel?: boolean
|
|
7256
|
+
ignores?: string[]
|
|
7244
7257
|
}]
|
|
7245
7258
|
// ----- node/no-unpublished-bin -----
|
|
7246
7259
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -7322,7 +7335,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
7322
7335
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7323
7336
|
version?: string
|
|
7324
7337
|
allowExperimental?: boolean
|
|
7325
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
7338
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
7326
7339
|
}]
|
|
7327
7340
|
// ----- node/prefer-global/buffer -----
|
|
7328
7341
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7465,61 +7478,26 @@ type PaddingLineBetweenStatements = {
|
|
|
7465
7478
|
// ----- perfectionist/sort-array-includes -----
|
|
7466
7479
|
type PerfectionistSortArrayIncludes = []|[{
|
|
7467
7480
|
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
order?: ("asc" | "desc")
|
|
7471
|
-
|
|
7472
|
-
matcher?: ("minimatch" | "regex")
|
|
7473
|
-
|
|
7474
|
-
ignoreCase?: boolean
|
|
7475
|
-
|
|
7476
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7481
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7477
7482
|
|
|
7478
7483
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7479
7484
|
|
|
7480
|
-
partitionByComment?: (string[] | boolean | string)
|
|
7481
|
-
|
|
7482
7485
|
partitionByNewLine?: boolean
|
|
7483
|
-
}]
|
|
7484
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
7485
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
7486
|
-
|
|
7487
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7488
7486
|
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
matcher?: ("minimatch" | "regex")
|
|
7487
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7492
7488
|
|
|
7493
7489
|
ignoreCase?: boolean
|
|
7494
7490
|
|
|
7495
|
-
|
|
7491
|
+
locales?: (string | string[])
|
|
7496
7492
|
|
|
7497
|
-
|
|
7493
|
+
order?: ("asc" | "desc")
|
|
7498
7494
|
|
|
7499
|
-
|
|
7500
|
-
[k: string]: (string | string[]) | undefined
|
|
7501
|
-
}
|
|
7495
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7502
7496
|
}]
|
|
7503
7497
|
// ----- perfectionist/sort-classes -----
|
|
7504
7498
|
type PerfectionistSortClasses = []|[{
|
|
7505
7499
|
|
|
7506
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7507
|
-
|
|
7508
|
-
order?: ("asc" | "desc")
|
|
7509
|
-
|
|
7510
|
-
matcher?: ("minimatch" | "regex")
|
|
7511
|
-
|
|
7512
|
-
ignoreCase?: boolean
|
|
7513
|
-
|
|
7514
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7515
|
-
|
|
7516
|
-
partitionByComment?: (string[] | boolean | string)
|
|
7517
|
-
|
|
7518
|
-
groups?: (string | string[])[]
|
|
7519
|
-
|
|
7520
7500
|
customGroups?: ({
|
|
7521
|
-
[k: string]: (string | string[]) | undefined
|
|
7522
|
-
} | ({
|
|
7523
7501
|
|
|
7524
7502
|
groupName?: string
|
|
7525
7503
|
|
|
@@ -7528,15 +7506,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
7528
7506
|
order?: ("desc" | "asc")
|
|
7529
7507
|
anyOf?: {
|
|
7530
7508
|
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7534
|
-
|
|
7535
|
-
elementNamePattern?: string
|
|
7509
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7536
7510
|
|
|
7537
7511
|
elementValuePattern?: string
|
|
7538
7512
|
|
|
7539
7513
|
decoratorNamePattern?: string
|
|
7514
|
+
|
|
7515
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7516
|
+
|
|
7517
|
+
elementNamePattern?: string
|
|
7540
7518
|
}[]
|
|
7541
7519
|
} | {
|
|
7542
7520
|
|
|
@@ -7546,91 +7524,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
7546
7524
|
|
|
7547
7525
|
order?: ("desc" | "asc")
|
|
7548
7526
|
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7552
|
-
|
|
7553
|
-
elementNamePattern?: string
|
|
7527
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7554
7528
|
|
|
7555
7529
|
elementValuePattern?: string
|
|
7556
7530
|
|
|
7557
7531
|
decoratorNamePattern?: string
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7532
|
+
|
|
7533
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7534
|
+
|
|
7535
|
+
elementNamePattern?: string
|
|
7536
|
+
})[]
|
|
7562
7537
|
|
|
7563
|
-
|
|
7538
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
7564
7539
|
|
|
7565
|
-
|
|
7540
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7541
|
+
|
|
7542
|
+
partitionByNewLine?: boolean
|
|
7566
7543
|
|
|
7567
|
-
|
|
7544
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7545
|
+
|
|
7546
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7568
7547
|
|
|
7569
7548
|
ignoreCase?: boolean
|
|
7570
7549
|
|
|
7571
|
-
|
|
7550
|
+
locales?: (string | string[])
|
|
7572
7551
|
|
|
7573
|
-
|
|
7552
|
+
groups?: (string | string[])[]
|
|
7574
7553
|
|
|
7575
|
-
|
|
7554
|
+
order?: ("asc" | "desc")
|
|
7555
|
+
|
|
7556
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7557
|
+
}]
|
|
7558
|
+
// ----- perfectionist/sort-decorators -----
|
|
7559
|
+
type PerfectionistSortDecorators = []|[{
|
|
7576
7560
|
|
|
7577
7561
|
partitionByComment?: (string[] | boolean | string)
|
|
7578
7562
|
|
|
7579
|
-
|
|
7580
|
-
}]
|
|
7581
|
-
// ----- perfectionist/sort-exports -----
|
|
7582
|
-
type PerfectionistSortExports = []|[{
|
|
7563
|
+
sortOnParameters?: boolean
|
|
7583
7564
|
|
|
7584
|
-
|
|
7565
|
+
sortOnProperties?: boolean
|
|
7585
7566
|
|
|
7586
|
-
|
|
7567
|
+
sortOnAccessors?: boolean
|
|
7587
7568
|
|
|
7588
|
-
|
|
7569
|
+
sortOnMethods?: boolean
|
|
7589
7570
|
|
|
7590
|
-
|
|
7571
|
+
sortOnClasses?: boolean
|
|
7591
7572
|
|
|
7592
7573
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7593
7574
|
|
|
7575
|
+
customGroups?: {
|
|
7576
|
+
[k: string]: (string | string[]) | undefined
|
|
7577
|
+
}
|
|
7578
|
+
|
|
7579
|
+
ignoreCase?: boolean
|
|
7580
|
+
|
|
7581
|
+
locales?: (string | string[])
|
|
7582
|
+
|
|
7583
|
+
groups?: (string | string[])[]
|
|
7584
|
+
|
|
7585
|
+
order?: ("asc" | "desc")
|
|
7586
|
+
|
|
7587
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7588
|
+
}]
|
|
7589
|
+
// ----- perfectionist/sort-enums -----
|
|
7590
|
+
type PerfectionistSortEnums = []|[{
|
|
7591
|
+
|
|
7594
7592
|
partitionByComment?: (string[] | boolean | string)
|
|
7595
7593
|
|
|
7594
|
+
forceNumericSort?: boolean
|
|
7595
|
+
|
|
7596
|
+
sortByValue?: boolean
|
|
7597
|
+
|
|
7596
7598
|
partitionByNewLine?: boolean
|
|
7597
7599
|
|
|
7598
|
-
|
|
7599
|
-
}]
|
|
7600
|
-
// ----- perfectionist/sort-imports -----
|
|
7601
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
7602
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
7600
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7603
7601
|
|
|
7604
|
-
|
|
7602
|
+
ignoreCase?: boolean
|
|
7603
|
+
|
|
7604
|
+
locales?: (string | string[])
|
|
7605
7605
|
|
|
7606
7606
|
order?: ("asc" | "desc")
|
|
7607
7607
|
|
|
7608
|
-
|
|
7608
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7609
|
+
}]
|
|
7610
|
+
// ----- perfectionist/sort-exports -----
|
|
7611
|
+
type PerfectionistSortExports = []|[{
|
|
7609
7612
|
|
|
7610
|
-
|
|
7613
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7614
|
+
|
|
7615
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7616
|
+
|
|
7617
|
+
partitionByNewLine?: boolean
|
|
7611
7618
|
|
|
7612
7619
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7613
7620
|
|
|
7614
|
-
|
|
7621
|
+
ignoreCase?: boolean
|
|
7615
7622
|
|
|
7616
|
-
|
|
7623
|
+
locales?: (string | string[])
|
|
7617
7624
|
|
|
7618
|
-
|
|
7625
|
+
order?: ("asc" | "desc")
|
|
7619
7626
|
|
|
7620
|
-
|
|
7627
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7628
|
+
}]
|
|
7629
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
7630
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
7631
|
+
|
|
7632
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7633
|
+
|
|
7634
|
+
customGroups?: {
|
|
7635
|
+
[k: string]: (string | string[]) | undefined
|
|
7636
|
+
}
|
|
7637
|
+
|
|
7638
|
+
ignoreCase?: boolean
|
|
7639
|
+
|
|
7640
|
+
locales?: (string | string[])
|
|
7621
7641
|
|
|
7622
7642
|
groups?: (string | string[])[]
|
|
7623
7643
|
|
|
7644
|
+
order?: ("asc" | "desc")
|
|
7645
|
+
|
|
7646
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7647
|
+
}]
|
|
7648
|
+
// ----- perfectionist/sort-imports -----
|
|
7649
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
7650
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
7651
|
+
|
|
7624
7652
|
customGroups?: {
|
|
7625
|
-
|
|
7653
|
+
|
|
7654
|
+
value?: {
|
|
7626
7655
|
[k: string]: unknown | undefined
|
|
7627
7656
|
}
|
|
7628
|
-
|
|
7657
|
+
|
|
7658
|
+
type?: {
|
|
7629
7659
|
[k: string]: unknown | undefined
|
|
7630
7660
|
}
|
|
7631
7661
|
}
|
|
7632
7662
|
|
|
7663
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7664
|
+
|
|
7665
|
+
internalPattern?: string[]
|
|
7666
|
+
|
|
7667
|
+
maxLineLength?: number
|
|
7668
|
+
|
|
7669
|
+
sortSideEffects?: boolean
|
|
7670
|
+
|
|
7633
7671
|
environment?: ("node" | "bun")
|
|
7672
|
+
|
|
7673
|
+
tsconfigRootDir?: string
|
|
7674
|
+
|
|
7675
|
+
partitionByNewLine?: boolean
|
|
7676
|
+
|
|
7677
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7678
|
+
|
|
7679
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7680
|
+
|
|
7681
|
+
ignoreCase?: boolean
|
|
7682
|
+
|
|
7683
|
+
locales?: (string | string[])
|
|
7684
|
+
|
|
7685
|
+
groups?: (string | string[])[]
|
|
7686
|
+
|
|
7687
|
+
order?: ("asc" | "desc")
|
|
7688
|
+
|
|
7689
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7634
7690
|
})
|
|
7635
7691
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
7636
7692
|
[k: string]: unknown | undefined
|
|
@@ -7642,284 +7698,317 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
7642
7698
|
// ----- perfectionist/sort-interfaces -----
|
|
7643
7699
|
type PerfectionistSortInterfaces = []|[{
|
|
7644
7700
|
|
|
7645
|
-
|
|
7701
|
+
ignorePattern?: string[]
|
|
7646
7702
|
|
|
7647
|
-
|
|
7703
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7648
7704
|
|
|
7649
|
-
|
|
7705
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
7650
7706
|
|
|
7651
|
-
|
|
7707
|
+
partitionByNewLine?: boolean
|
|
7652
7708
|
|
|
7653
7709
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7654
7710
|
|
|
7655
|
-
|
|
7711
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7656
7712
|
|
|
7657
|
-
|
|
7713
|
+
customGroups?: {
|
|
7714
|
+
[k: string]: (string | string[]) | undefined
|
|
7715
|
+
}
|
|
7658
7716
|
|
|
7659
|
-
|
|
7717
|
+
ignoreCase?: boolean
|
|
7660
7718
|
|
|
7661
|
-
|
|
7719
|
+
locales?: (string | string[])
|
|
7662
7720
|
|
|
7663
7721
|
groups?: (string | string[])[]
|
|
7664
7722
|
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7723
|
+
order?: ("asc" | "desc")
|
|
7724
|
+
|
|
7725
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7668
7726
|
}]
|
|
7669
7727
|
// ----- perfectionist/sort-intersection-types -----
|
|
7670
7728
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
7671
7729
|
|
|
7672
|
-
|
|
7730
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7673
7731
|
|
|
7674
|
-
|
|
7732
|
+
partitionByNewLine?: boolean
|
|
7733
|
+
|
|
7734
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7675
7735
|
|
|
7676
|
-
|
|
7736
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7677
7737
|
|
|
7678
7738
|
ignoreCase?: boolean
|
|
7679
7739
|
|
|
7680
|
-
|
|
7740
|
+
locales?: (string | string[])
|
|
7681
7741
|
|
|
7682
7742
|
groups?: (string | string[])[]
|
|
7683
7743
|
|
|
7684
|
-
|
|
7744
|
+
order?: ("asc" | "desc")
|
|
7685
7745
|
|
|
7686
|
-
|
|
7746
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7687
7747
|
}]
|
|
7688
7748
|
// ----- perfectionist/sort-jsx-props -----
|
|
7689
7749
|
type PerfectionistSortJsxProps = []|[{
|
|
7690
7750
|
|
|
7691
|
-
|
|
7751
|
+
ignorePattern?: string[]
|
|
7692
7752
|
|
|
7693
|
-
|
|
7753
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7694
7754
|
|
|
7695
|
-
|
|
7755
|
+
customGroups?: {
|
|
7756
|
+
[k: string]: (string | string[]) | undefined
|
|
7757
|
+
}
|
|
7696
7758
|
|
|
7697
7759
|
ignoreCase?: boolean
|
|
7698
7760
|
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
ignorePattern?: string[]
|
|
7761
|
+
locales?: (string | string[])
|
|
7702
7762
|
|
|
7703
7763
|
groups?: (string | string[])[]
|
|
7704
7764
|
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7765
|
+
order?: ("asc" | "desc")
|
|
7766
|
+
|
|
7767
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7708
7768
|
}]
|
|
7709
7769
|
// ----- perfectionist/sort-maps -----
|
|
7710
7770
|
type PerfectionistSortMaps = []|[{
|
|
7711
7771
|
|
|
7712
|
-
|
|
7772
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7713
7773
|
|
|
7714
|
-
|
|
7774
|
+
partitionByNewLine?: boolean
|
|
7715
7775
|
|
|
7716
|
-
|
|
7776
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7717
7777
|
|
|
7718
7778
|
ignoreCase?: boolean
|
|
7719
7779
|
|
|
7720
|
-
|
|
7780
|
+
locales?: (string | string[])
|
|
7781
|
+
|
|
7782
|
+
order?: ("asc" | "desc")
|
|
7783
|
+
|
|
7784
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7785
|
+
}]
|
|
7786
|
+
// ----- perfectionist/sort-modules -----
|
|
7787
|
+
type PerfectionistSortModules = []|[{
|
|
7788
|
+
|
|
7789
|
+
customGroups?: ({
|
|
7790
|
+
|
|
7791
|
+
groupName?: string
|
|
7792
|
+
|
|
7793
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7794
|
+
|
|
7795
|
+
order?: ("desc" | "asc")
|
|
7796
|
+
anyOf?: {
|
|
7797
|
+
|
|
7798
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
7799
|
+
|
|
7800
|
+
elementValuePattern?: string
|
|
7801
|
+
|
|
7802
|
+
decoratorNamePattern?: string
|
|
7803
|
+
|
|
7804
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
7805
|
+
|
|
7806
|
+
elementNamePattern?: string
|
|
7807
|
+
}[]
|
|
7808
|
+
} | {
|
|
7809
|
+
|
|
7810
|
+
groupName?: string
|
|
7811
|
+
|
|
7812
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7813
|
+
|
|
7814
|
+
order?: ("desc" | "asc")
|
|
7815
|
+
|
|
7816
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
7817
|
+
|
|
7818
|
+
elementValuePattern?: string
|
|
7819
|
+
|
|
7820
|
+
decoratorNamePattern?: string
|
|
7821
|
+
|
|
7822
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
7823
|
+
|
|
7824
|
+
elementNamePattern?: string
|
|
7825
|
+
})[]
|
|
7721
7826
|
|
|
7722
7827
|
partitionByComment?: (string[] | boolean | string)
|
|
7723
7828
|
|
|
7724
7829
|
partitionByNewLine?: boolean
|
|
7830
|
+
|
|
7831
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7832
|
+
|
|
7833
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7834
|
+
|
|
7835
|
+
ignoreCase?: boolean
|
|
7836
|
+
|
|
7837
|
+
locales?: (string | string[])
|
|
7838
|
+
|
|
7839
|
+
groups?: (string | string[])[]
|
|
7840
|
+
|
|
7841
|
+
order?: ("asc" | "desc")
|
|
7842
|
+
|
|
7843
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7725
7844
|
}]
|
|
7726
7845
|
// ----- perfectionist/sort-named-exports -----
|
|
7727
7846
|
type PerfectionistSortNamedExports = []|[{
|
|
7728
7847
|
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
order?: ("asc" | "desc")
|
|
7848
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7732
7849
|
|
|
7733
|
-
|
|
7850
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7734
7851
|
|
|
7735
|
-
|
|
7852
|
+
partitionByNewLine?: boolean
|
|
7736
7853
|
|
|
7737
7854
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7738
7855
|
|
|
7739
|
-
|
|
7856
|
+
ignoreCase?: boolean
|
|
7740
7857
|
|
|
7741
|
-
|
|
7858
|
+
locales?: (string | string[])
|
|
7742
7859
|
|
|
7743
|
-
|
|
7860
|
+
order?: ("asc" | "desc")
|
|
7861
|
+
|
|
7862
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7744
7863
|
}]
|
|
7745
7864
|
// ----- perfectionist/sort-named-imports -----
|
|
7746
7865
|
type PerfectionistSortNamedImports = []|[{
|
|
7747
7866
|
|
|
7748
|
-
|
|
7867
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7749
7868
|
|
|
7750
|
-
|
|
7869
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7751
7870
|
|
|
7752
|
-
|
|
7871
|
+
ignoreAlias?: boolean
|
|
7753
7872
|
|
|
7754
|
-
|
|
7873
|
+
partitionByNewLine?: boolean
|
|
7755
7874
|
|
|
7756
7875
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7757
7876
|
|
|
7758
|
-
|
|
7877
|
+
ignoreCase?: boolean
|
|
7759
7878
|
|
|
7760
|
-
|
|
7879
|
+
locales?: (string | string[])
|
|
7761
7880
|
|
|
7762
|
-
|
|
7881
|
+
order?: ("asc" | "desc")
|
|
7763
7882
|
|
|
7764
|
-
|
|
7883
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7765
7884
|
}]
|
|
7766
7885
|
// ----- perfectionist/sort-object-types -----
|
|
7767
7886
|
type PerfectionistSortObjectTypes = []|[{
|
|
7768
7887
|
|
|
7769
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7770
|
-
|
|
7771
|
-
order?: ("asc" | "desc")
|
|
7772
|
-
|
|
7773
|
-
matcher?: ("minimatch" | "regex")
|
|
7774
|
-
|
|
7775
|
-
ignoreCase?: boolean
|
|
7776
|
-
|
|
7777
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7778
|
-
|
|
7779
7888
|
partitionByComment?: (string[] | boolean | string)
|
|
7780
7889
|
|
|
7890
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
7891
|
+
|
|
7781
7892
|
partitionByNewLine?: boolean
|
|
7782
7893
|
|
|
7783
|
-
|
|
7894
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7784
7895
|
|
|
7785
|
-
|
|
7896
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7786
7897
|
|
|
7787
7898
|
customGroups?: {
|
|
7788
7899
|
[k: string]: (string | string[]) | undefined
|
|
7789
7900
|
}
|
|
7790
|
-
}]
|
|
7791
|
-
// ----- perfectionist/sort-objects -----
|
|
7792
|
-
type PerfectionistSortObjects = []|[{
|
|
7793
7901
|
|
|
7794
|
-
|
|
7902
|
+
ignoreCase?: boolean
|
|
7795
7903
|
|
|
7796
|
-
|
|
7904
|
+
locales?: (string | string[])
|
|
7797
7905
|
|
|
7798
|
-
|
|
7906
|
+
groups?: (string | string[])[]
|
|
7799
7907
|
|
|
7800
|
-
|
|
7908
|
+
order?: ("asc" | "desc")
|
|
7801
7909
|
|
|
7802
|
-
|
|
7910
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7911
|
+
}]
|
|
7912
|
+
// ----- perfectionist/sort-objects -----
|
|
7913
|
+
type PerfectionistSortObjects = []|[{
|
|
7914
|
+
|
|
7915
|
+
ignorePattern?: string[]
|
|
7803
7916
|
|
|
7804
7917
|
partitionByComment?: (string[] | boolean | string)
|
|
7805
7918
|
|
|
7806
|
-
|
|
7919
|
+
destructureOnly?: boolean
|
|
7807
7920
|
|
|
7808
7921
|
styledComponents?: boolean
|
|
7809
7922
|
|
|
7810
|
-
|
|
7923
|
+
partitionByNewLine?: boolean
|
|
7811
7924
|
|
|
7812
|
-
|
|
7925
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7813
7926
|
|
|
7814
|
-
|
|
7927
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7815
7928
|
|
|
7816
7929
|
customGroups?: {
|
|
7817
7930
|
[k: string]: (string | string[]) | undefined
|
|
7818
7931
|
}
|
|
7819
|
-
}]
|
|
7820
|
-
// ----- perfectionist/sort-sets -----
|
|
7821
|
-
type PerfectionistSortSets = []|[{
|
|
7822
|
-
|
|
7823
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7824
|
-
|
|
7825
|
-
order?: ("asc" | "desc")
|
|
7826
|
-
|
|
7827
|
-
matcher?: ("minimatch" | "regex")
|
|
7828
7932
|
|
|
7829
7933
|
ignoreCase?: boolean
|
|
7830
7934
|
|
|
7831
|
-
|
|
7935
|
+
locales?: (string | string[])
|
|
7832
7936
|
|
|
7833
|
-
|
|
7937
|
+
groups?: (string | string[])[]
|
|
7834
7938
|
|
|
7835
|
-
|
|
7939
|
+
order?: ("asc" | "desc")
|
|
7836
7940
|
|
|
7837
|
-
|
|
7941
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7838
7942
|
}]
|
|
7839
|
-
// ----- perfectionist/sort-
|
|
7840
|
-
type
|
|
7943
|
+
// ----- perfectionist/sort-sets -----
|
|
7944
|
+
type PerfectionistSortSets = []|[{
|
|
7841
7945
|
|
|
7842
|
-
|
|
7946
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7843
7947
|
|
|
7844
|
-
|
|
7948
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7949
|
+
|
|
7950
|
+
partitionByNewLine?: boolean
|
|
7845
7951
|
|
|
7846
|
-
|
|
7952
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7847
7953
|
|
|
7848
7954
|
ignoreCase?: boolean
|
|
7849
7955
|
|
|
7850
|
-
|
|
7956
|
+
locales?: (string | string[])
|
|
7851
7957
|
|
|
7852
|
-
|
|
7958
|
+
order?: ("asc" | "desc")
|
|
7853
7959
|
|
|
7854
|
-
|
|
7855
|
-
[k: string]: (string | string[]) | undefined
|
|
7856
|
-
}
|
|
7960
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7857
7961
|
}]
|
|
7858
7962
|
// ----- perfectionist/sort-switch-case -----
|
|
7859
7963
|
type PerfectionistSortSwitchCase = []|[{
|
|
7860
7964
|
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
order?: ("asc" | "desc")
|
|
7965
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7864
7966
|
|
|
7865
7967
|
ignoreCase?: boolean
|
|
7866
7968
|
|
|
7867
|
-
|
|
7969
|
+
locales?: (string | string[])
|
|
7970
|
+
|
|
7971
|
+
order?: ("asc" | "desc")
|
|
7972
|
+
|
|
7973
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7868
7974
|
}]
|
|
7869
7975
|
// ----- perfectionist/sort-union-types -----
|
|
7870
7976
|
type PerfectionistSortUnionTypes = []|[{
|
|
7871
7977
|
|
|
7872
|
-
|
|
7978
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7873
7979
|
|
|
7874
|
-
|
|
7980
|
+
partitionByNewLine?: boolean
|
|
7875
7981
|
|
|
7876
|
-
|
|
7982
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7983
|
+
|
|
7984
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7877
7985
|
|
|
7878
7986
|
ignoreCase?: boolean
|
|
7879
7987
|
|
|
7880
|
-
|
|
7988
|
+
locales?: (string | string[])
|
|
7881
7989
|
|
|
7882
7990
|
groups?: (string | string[])[]
|
|
7883
7991
|
|
|
7884
|
-
|
|
7992
|
+
order?: ("asc" | "desc")
|
|
7885
7993
|
|
|
7886
|
-
|
|
7994
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7887
7995
|
}]
|
|
7888
7996
|
// ----- perfectionist/sort-variable-declarations -----
|
|
7889
7997
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
7890
7998
|
|
|
7891
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7892
|
-
|
|
7893
|
-
order?: ("asc" | "desc")
|
|
7894
|
-
|
|
7895
|
-
matcher?: ("minimatch" | "regex")
|
|
7896
|
-
|
|
7897
|
-
ignoreCase?: boolean
|
|
7898
|
-
|
|
7899
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7900
|
-
|
|
7901
7999
|
partitionByComment?: (string[] | boolean | string)
|
|
7902
8000
|
|
|
7903
8001
|
partitionByNewLine?: boolean
|
|
7904
|
-
}]
|
|
7905
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
7906
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
7907
|
-
|
|
7908
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7909
8002
|
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
matcher?: ("minimatch" | "regex")
|
|
8003
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7913
8004
|
|
|
7914
8005
|
ignoreCase?: boolean
|
|
7915
8006
|
|
|
7916
|
-
|
|
8007
|
+
locales?: (string | string[])
|
|
7917
8008
|
|
|
7918
|
-
|
|
8009
|
+
order?: ("asc" | "desc")
|
|
7919
8010
|
|
|
7920
|
-
|
|
7921
|
-
[k: string]: (string | string[]) | undefined
|
|
7922
|
-
}
|
|
8011
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7923
8012
|
}]
|
|
7924
8013
|
// ----- prefer-arrow-callback -----
|
|
7925
8014
|
type PreferArrowCallback = []|[{
|
|
@@ -8149,6 +8238,8 @@ type StylisticCommaDangle = []|[(_StylisticCommaDangleValue | {
|
|
|
8149
8238
|
imports?: _StylisticCommaDangleValueWithIgnore
|
|
8150
8239
|
exports?: _StylisticCommaDangleValueWithIgnore
|
|
8151
8240
|
functions?: _StylisticCommaDangleValueWithIgnore
|
|
8241
|
+
importAttributes?: _StylisticCommaDangleValueWithIgnore
|
|
8242
|
+
dynamicImports?: _StylisticCommaDangleValueWithIgnore
|
|
8152
8243
|
enums?: _StylisticCommaDangleValueWithIgnore
|
|
8153
8244
|
generics?: _StylisticCommaDangleValueWithIgnore
|
|
8154
8245
|
tuples?: _StylisticCommaDangleValueWithIgnore
|
|
@@ -8298,12 +8389,20 @@ type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
8298
8389
|
// ----- stylistic/func-call-spacing -----
|
|
8299
8390
|
type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
8300
8391
|
allowNewlines?: boolean
|
|
8392
|
+
optionalChain?: {
|
|
8393
|
+
before?: boolean
|
|
8394
|
+
after?: boolean
|
|
8395
|
+
}
|
|
8301
8396
|
}])
|
|
8302
8397
|
// ----- stylistic/function-call-argument-newline -----
|
|
8303
8398
|
type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
8304
8399
|
// ----- stylistic/function-call-spacing -----
|
|
8305
8400
|
type StylisticFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
8306
8401
|
allowNewlines?: boolean
|
|
8402
|
+
optionalChain?: {
|
|
8403
|
+
before?: boolean
|
|
8404
|
+
after?: boolean
|
|
8405
|
+
}
|
|
8307
8406
|
}])
|
|
8308
8407
|
// ----- stylistic/function-paren-newline -----
|
|
8309
8408
|
type StylisticFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -8955,6 +9054,7 @@ type StylisticMaxLen = []|[({
|
|
|
8955
9054
|
// ----- stylistic/max-statements-per-line -----
|
|
8956
9055
|
type StylisticMaxStatementsPerLine = []|[{
|
|
8957
9056
|
max?: number
|
|
9057
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
8958
9058
|
}]
|
|
8959
9059
|
// ----- stylistic/member-delimiter-style -----
|
|
8960
9060
|
type StylisticMemberDelimiterStyle = []|[{
|
|
@@ -9124,7 +9224,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never") | {
|
|
|
9124
9224
|
}]
|
|
9125
9225
|
// ----- stylistic/padding-line-between-statements -----
|
|
9126
9226
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
9127
|
-
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
9227
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
9128
9228
|
type StylisticPaddingLineBetweenStatements = {
|
|
9129
9229
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
|
|
9130
9230
|
prev: _StylisticPaddingLineBetweenStatementsStatementType
|
|
@@ -9433,9 +9533,11 @@ type TsEslintExplicitFunctionReturnType = []|[{
|
|
|
9433
9533
|
}]
|
|
9434
9534
|
// ----- ts-eslint/explicit-member-accessibility -----
|
|
9435
9535
|
type TsEslintExplicitMemberAccessibility = []|[{
|
|
9536
|
+
|
|
9436
9537
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
9437
9538
|
|
|
9438
9539
|
ignoredMethodNames?: string[]
|
|
9540
|
+
|
|
9439
9541
|
overrides?: {
|
|
9440
9542
|
accessors?: ("explicit" | "no-public" | "off")
|
|
9441
9543
|
constructors?: ("explicit" | "no-public" | "off")
|
|
@@ -9830,6 +9932,8 @@ type TsEslintNoConfusingVoidExpression = []|[{
|
|
|
9830
9932
|
ignoreArrowShorthand?: boolean
|
|
9831
9933
|
|
|
9832
9934
|
ignoreVoidOperator?: boolean
|
|
9935
|
+
|
|
9936
|
+
ignoreVoidReturningFunctions?: boolean
|
|
9833
9937
|
}]
|
|
9834
9938
|
// ----- ts-eslint/no-duplicate-type-constituents -----
|
|
9835
9939
|
type TsEslintNoDuplicateTypeConstituents = []|[{
|
|
@@ -9952,9 +10056,11 @@ type TsEslintNoMeaninglessVoidOperator = []|[{
|
|
|
9952
10056
|
}]
|
|
9953
10057
|
// ----- ts-eslint/no-misused-promises -----
|
|
9954
10058
|
type TsEslintNoMisusedPromises = []|[{
|
|
10059
|
+
|
|
9955
10060
|
checksConditionals?: boolean
|
|
9956
10061
|
|
|
9957
10062
|
checksSpreads?: boolean
|
|
10063
|
+
|
|
9958
10064
|
checksVoidReturn?: (boolean | {
|
|
9959
10065
|
|
|
9960
10066
|
arguments?: boolean
|
|
@@ -10026,6 +10132,7 @@ type TsEslintNoRestrictedImports = ((string | {
|
|
|
10026
10132
|
}])
|
|
10027
10133
|
// ----- ts-eslint/no-restricted-types -----
|
|
10028
10134
|
type TsEslintNoRestrictedTypes = []|[{
|
|
10135
|
+
|
|
10029
10136
|
types?: {
|
|
10030
10137
|
[k: string]: (true | string | {
|
|
10031
10138
|
|
|
@@ -10131,6 +10238,7 @@ type TsEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
|
10131
10238
|
})]
|
|
10132
10239
|
// ----- ts-eslint/no-use-before-define -----
|
|
10133
10240
|
type TsEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
10241
|
+
|
|
10134
10242
|
allowNamedExports?: boolean
|
|
10135
10243
|
|
|
10136
10244
|
classes?: boolean
|
|
@@ -10153,6 +10261,19 @@ type TsEslintNoVarRequires = []|[{
|
|
|
10153
10261
|
// ----- ts-eslint/only-throw-error -----
|
|
10154
10262
|
type TsEslintOnlyThrowError = []|[{
|
|
10155
10263
|
|
|
10264
|
+
allow?: (string | {
|
|
10265
|
+
from: "file"
|
|
10266
|
+
name: (string | [string, ...(string)[]])
|
|
10267
|
+
path?: string
|
|
10268
|
+
} | {
|
|
10269
|
+
from: "lib"
|
|
10270
|
+
name: (string | [string, ...(string)[]])
|
|
10271
|
+
} | {
|
|
10272
|
+
from: "package"
|
|
10273
|
+
name: (string | [string, ...(string)[]])
|
|
10274
|
+
package: string
|
|
10275
|
+
})[]
|
|
10276
|
+
|
|
10156
10277
|
allowThrowingAny?: boolean
|
|
10157
10278
|
|
|
10158
10279
|
allowThrowingUnknown?: boolean
|
|
@@ -10190,7 +10311,9 @@ type TsEslintPreferDestructuring = []|[({
|
|
|
10190
10311
|
array?: boolean
|
|
10191
10312
|
object?: boolean
|
|
10192
10313
|
}), {
|
|
10314
|
+
|
|
10193
10315
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
10316
|
+
|
|
10194
10317
|
enforceForRenamedProperties?: boolean
|
|
10195
10318
|
[k: string]: unknown | undefined
|
|
10196
10319
|
}]
|
|
@@ -10204,14 +10327,20 @@ type TsEslintPreferNullishCoalescing = []|[{
|
|
|
10204
10327
|
|
|
10205
10328
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
10206
10329
|
|
|
10330
|
+
ignoreBooleanCoercion?: boolean
|
|
10331
|
+
|
|
10207
10332
|
ignoreConditionalTests?: boolean
|
|
10208
10333
|
|
|
10209
10334
|
ignoreMixedLogicalExpressions?: boolean
|
|
10210
10335
|
|
|
10211
10336
|
ignorePrimitives?: ({
|
|
10337
|
+
|
|
10212
10338
|
bigint?: boolean
|
|
10339
|
+
|
|
10213
10340
|
boolean?: boolean
|
|
10341
|
+
|
|
10214
10342
|
number?: boolean
|
|
10343
|
+
|
|
10215
10344
|
string?: boolean
|
|
10216
10345
|
[k: string]: unknown | undefined
|
|
10217
10346
|
} | true)
|
|
@@ -10368,6 +10497,7 @@ type TsEslintStrictBooleanExpressions = []|[{
|
|
|
10368
10497
|
allowNullableString?: boolean
|
|
10369
10498
|
|
|
10370
10499
|
allowNumber?: boolean
|
|
10500
|
+
|
|
10371
10501
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
10372
10502
|
|
|
10373
10503
|
allowString?: boolean
|
|
@@ -10377,6 +10507,8 @@ type TsEslintSwitchExhaustivenessCheck = []|[{
|
|
|
10377
10507
|
|
|
10378
10508
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
10379
10509
|
|
|
10510
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
10511
|
+
|
|
10380
10512
|
requireDefaultForNonUnion?: boolean
|
|
10381
10513
|
}]
|
|
10382
10514
|
// ----- ts-eslint/triple-slash-reference -----
|
|
@@ -11183,7 +11315,7 @@ declare const react: (options?: OptionsFiles & OptionsHasTypeScript & OptionsOve
|
|
|
11183
11315
|
declare const tanstack: (options?: OptionsOverrides & OptionsTanstack) => Promise<TypedFlatConfigItem[]>;
|
|
11184
11316
|
|
|
11185
11317
|
/**
|
|
11186
|
-
* Sort package.json
|
|
11318
|
+
* @description - Sort package.json
|
|
11187
11319
|
*
|
|
11188
11320
|
* Requires `jsonc` config
|
|
11189
11321
|
*/
|
|
@@ -11241,14 +11373,14 @@ declare const GLOB_EXCLUDE: string[];
|
|
|
11241
11373
|
|
|
11242
11374
|
declare const isObject: <TObject extends Record<string, unknown>>(value: unknown) => value is TObject;
|
|
11243
11375
|
/**
|
|
11244
|
-
* Combine array and non-array configs into a single array.
|
|
11376
|
+
* @description - Combine array and non-array configs into a single array.
|
|
11245
11377
|
*/
|
|
11246
11378
|
declare const combine: (...configs: Array<Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>>) => Promise<TypedFlatConfigItem[]>;
|
|
11247
11379
|
declare const interopDefault: <TModule>(module: Awaitable<TModule>) => Promise<TModule extends {
|
|
11248
11380
|
default: infer TDefaultExport;
|
|
11249
11381
|
} ? TDefaultExport : TModule>;
|
|
11250
11382
|
/**
|
|
11251
|
-
* Rename plugin prefixes in a rule object.
|
|
11383
|
+
* @description - Rename plugin prefixes in a rule object.
|
|
11252
11384
|
* Accepts a map of prefixes to rename.
|
|
11253
11385
|
*
|
|
11254
11386
|
* @example
|
|
@@ -11265,10 +11397,10 @@ declare const interopDefault: <TModule>(module: Awaitable<TModule>) => Promise<T
|
|
|
11265
11397
|
* }]
|
|
11266
11398
|
* ```
|
|
11267
11399
|
*/
|
|
11268
|
-
declare const renameRules: (rules: Record<string, unknown> | undefined, renameMap: Record<string, string>) =>
|
|
11400
|
+
declare const renameRules: (rules: Record<string, unknown> | undefined, renameMap: Record<string, string>) => (Partial<eslint.Linter.RulesRecord> & Rules) | undefined;
|
|
11269
11401
|
declare const renamePlugins: (plugins: Record<string, unknown> | undefined, renameMap: Record<string, string>) => Record<string, ESLint.Plugin> | undefined;
|
|
11270
11402
|
/**
|
|
11271
|
-
* Rename plugin names a flat configs array
|
|
11403
|
+
* @description - Rename plugin names a flat configs array
|
|
11272
11404
|
*
|
|
11273
11405
|
* @example
|
|
11274
11406
|
* ```ts
|
|
@@ -11284,7 +11416,7 @@ declare const renamePlugins: (plugins: Record<string, unknown> | undefined, rena
|
|
|
11284
11416
|
declare const renamePluginInConfigs: (configs: TypedFlatConfigItem[], renameMap: Record<string, string>, extraOverrides?: TypedFlatConfigItem) => TypedFlatConfigItem[];
|
|
11285
11417
|
declare const isPackageInScope: (name: string) => boolean;
|
|
11286
11418
|
/**
|
|
11287
|
-
* Ensure that packages are installed in the current scope. If they are not
|
|
11419
|
+
* @description - Ensure that packages are installed in the current scope. If they are not
|
|
11288
11420
|
* installed, and the user is in a TTY, and the user is not in a CI environment,
|
|
11289
11421
|
* and the user is in the same scope as this package, then prompt the user to
|
|
11290
11422
|
* install the packages.
|