@zayne-labs/eslint-config 0.0.7 → 0.1.1
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 +934 -6
- package/dist/index.js +51 -8
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -275,6 +275,237 @@ interface Rules {
|
|
|
275
275
|
* @deprecated
|
|
276
276
|
*/
|
|
277
277
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
278
|
+
/**
|
|
279
|
+
* 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.1/docs/rules/consistent-type-specifier-style.md
|
|
281
|
+
*/
|
|
282
|
+
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
283
|
+
/**
|
|
284
|
+
* Ensure a default export is present, given a default import.
|
|
285
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
|
|
286
|
+
*/
|
|
287
|
+
'import/default'?: Linter.RuleEntry<[]>
|
|
288
|
+
/**
|
|
289
|
+
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
290
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
|
|
291
|
+
*/
|
|
292
|
+
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
293
|
+
/**
|
|
294
|
+
* 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.1/docs/rules/export.md
|
|
296
|
+
*/
|
|
297
|
+
'import/export'?: Linter.RuleEntry<[]>
|
|
298
|
+
/**
|
|
299
|
+
* Ensure all exports appear after other statements.
|
|
300
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
|
|
301
|
+
*/
|
|
302
|
+
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
303
|
+
/**
|
|
304
|
+
* Ensure consistent use of file extension within the import path.
|
|
305
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
|
|
306
|
+
*/
|
|
307
|
+
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
308
|
+
/**
|
|
309
|
+
* Ensure all imports appear before other statements.
|
|
310
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
|
|
311
|
+
*/
|
|
312
|
+
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
313
|
+
/**
|
|
314
|
+
* 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.1/docs/rules/group-exports.md
|
|
316
|
+
*/
|
|
317
|
+
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
318
|
+
/**
|
|
319
|
+
* Replaced by `import-x/first`.
|
|
320
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
|
|
321
|
+
* @deprecated
|
|
322
|
+
*/
|
|
323
|
+
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
324
|
+
/**
|
|
325
|
+
* Enforce the maximum number of dependencies a module can have.
|
|
326
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
|
|
327
|
+
*/
|
|
328
|
+
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
329
|
+
/**
|
|
330
|
+
* 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.1/docs/rules/named.md
|
|
332
|
+
*/
|
|
333
|
+
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
334
|
+
/**
|
|
335
|
+
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
336
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
|
|
337
|
+
*/
|
|
338
|
+
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
339
|
+
/**
|
|
340
|
+
* Enforce a newline after import statements.
|
|
341
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
|
|
342
|
+
*/
|
|
343
|
+
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
344
|
+
/**
|
|
345
|
+
* Forbid import of modules using absolute paths.
|
|
346
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
|
|
347
|
+
*/
|
|
348
|
+
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
349
|
+
/**
|
|
350
|
+
* Forbid AMD `require` and `define` calls.
|
|
351
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
|
|
352
|
+
*/
|
|
353
|
+
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
354
|
+
/**
|
|
355
|
+
* Forbid anonymous values as default exports.
|
|
356
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
|
|
357
|
+
*/
|
|
358
|
+
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
359
|
+
/**
|
|
360
|
+
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
361
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
|
|
362
|
+
*/
|
|
363
|
+
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
364
|
+
/**
|
|
365
|
+
* 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.1/docs/rules/no-cycle.md
|
|
367
|
+
*/
|
|
368
|
+
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
369
|
+
/**
|
|
370
|
+
* Forbid default exports.
|
|
371
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
|
|
372
|
+
*/
|
|
373
|
+
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
374
|
+
/**
|
|
375
|
+
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
376
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
|
|
377
|
+
*/
|
|
378
|
+
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
379
|
+
/**
|
|
380
|
+
* Forbid repeated import of the same module in multiple places.
|
|
381
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
|
|
382
|
+
*/
|
|
383
|
+
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
384
|
+
/**
|
|
385
|
+
* Forbid `require()` calls with expressions.
|
|
386
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
|
|
387
|
+
*/
|
|
388
|
+
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
389
|
+
/**
|
|
390
|
+
* Forbid empty named import blocks.
|
|
391
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
|
|
392
|
+
*/
|
|
393
|
+
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
394
|
+
/**
|
|
395
|
+
* Forbid the use of extraneous packages.
|
|
396
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
|
|
397
|
+
*/
|
|
398
|
+
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
399
|
+
/**
|
|
400
|
+
* Forbid import statements with CommonJS module.exports.
|
|
401
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
|
|
402
|
+
*/
|
|
403
|
+
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
404
|
+
/**
|
|
405
|
+
* Forbid importing the submodules of other modules.
|
|
406
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
|
|
407
|
+
*/
|
|
408
|
+
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
409
|
+
/**
|
|
410
|
+
* Forbid the use of mutable exports with `var` or `let`.
|
|
411
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
|
|
412
|
+
*/
|
|
413
|
+
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
414
|
+
/**
|
|
415
|
+
* Forbid use of exported name as identifier of default export.
|
|
416
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
|
|
417
|
+
*/
|
|
418
|
+
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
419
|
+
/**
|
|
420
|
+
* Forbid use of exported name as property of default export.
|
|
421
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
|
|
422
|
+
*/
|
|
423
|
+
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
424
|
+
/**
|
|
425
|
+
* Forbid named default exports.
|
|
426
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
|
|
427
|
+
*/
|
|
428
|
+
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
429
|
+
/**
|
|
430
|
+
* Forbid named exports.
|
|
431
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
|
|
432
|
+
*/
|
|
433
|
+
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
434
|
+
/**
|
|
435
|
+
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
436
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
|
|
437
|
+
*/
|
|
438
|
+
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
439
|
+
/**
|
|
440
|
+
* Forbid Node.js builtin modules.
|
|
441
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
|
|
442
|
+
*/
|
|
443
|
+
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
444
|
+
/**
|
|
445
|
+
* Forbid importing packages through relative paths.
|
|
446
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
|
|
447
|
+
*/
|
|
448
|
+
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
449
|
+
/**
|
|
450
|
+
* Forbid importing modules from parent directories.
|
|
451
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
|
|
452
|
+
*/
|
|
453
|
+
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
454
|
+
/**
|
|
455
|
+
* Forbid importing a default export by a different name.
|
|
456
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
|
|
457
|
+
*/
|
|
458
|
+
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
459
|
+
/**
|
|
460
|
+
* Enforce which files can be imported in a given folder.
|
|
461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
|
|
462
|
+
*/
|
|
463
|
+
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
464
|
+
/**
|
|
465
|
+
* Forbid a module from importing itself.
|
|
466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
|
|
467
|
+
*/
|
|
468
|
+
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
469
|
+
/**
|
|
470
|
+
* Forbid unassigned imports.
|
|
471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
|
|
472
|
+
*/
|
|
473
|
+
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
474
|
+
/**
|
|
475
|
+
* 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.1/docs/rules/no-unresolved.md
|
|
477
|
+
*/
|
|
478
|
+
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
479
|
+
/**
|
|
480
|
+
* 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.1/docs/rules/no-unused-modules.md
|
|
482
|
+
*/
|
|
483
|
+
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
484
|
+
/**
|
|
485
|
+
* Forbid unnecessary path segments in import and require statements.
|
|
486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
|
|
487
|
+
*/
|
|
488
|
+
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
489
|
+
/**
|
|
490
|
+
* Forbid webpack loader syntax in imports.
|
|
491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
|
|
492
|
+
*/
|
|
493
|
+
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
494
|
+
/**
|
|
495
|
+
* Enforce a convention in module import order.
|
|
496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
|
|
497
|
+
*/
|
|
498
|
+
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
499
|
+
/**
|
|
500
|
+
* 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.1/docs/rules/prefer-default-export.md
|
|
502
|
+
*/
|
|
503
|
+
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
504
|
+
/**
|
|
505
|
+
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
|
|
507
|
+
*/
|
|
508
|
+
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
278
509
|
/**
|
|
279
510
|
* Enforce consistent indentation
|
|
280
511
|
* @see https://eslint.org/docs/latest/rules/indent
|
|
@@ -1737,6 +1968,208 @@ interface Rules {
|
|
|
1737
1968
|
* @see https://eslint.org/docs/latest/rules/no-with
|
|
1738
1969
|
*/
|
|
1739
1970
|
'no-with'?: Linter.RuleEntry<[]>
|
|
1971
|
+
/**
|
|
1972
|
+
* require `return` statements after callbacks
|
|
1973
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
|
|
1974
|
+
*/
|
|
1975
|
+
'node/callback-return'?: Linter.RuleEntry<NodeCallbackReturn>
|
|
1976
|
+
/**
|
|
1977
|
+
* enforce either `module.exports` or `exports`
|
|
1978
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/exports-style.md
|
|
1979
|
+
*/
|
|
1980
|
+
'node/exports-style'?: Linter.RuleEntry<NodeExportsStyle>
|
|
1981
|
+
/**
|
|
1982
|
+
* enforce the style of file extensions in `import` declarations
|
|
1983
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/file-extension-in-import.md
|
|
1984
|
+
*/
|
|
1985
|
+
'node/file-extension-in-import'?: Linter.RuleEntry<NodeFileExtensionInImport>
|
|
1986
|
+
/**
|
|
1987
|
+
* require `require()` calls to be placed at top-level module scope
|
|
1988
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/global-require.md
|
|
1989
|
+
*/
|
|
1990
|
+
'node/global-require'?: Linter.RuleEntry<[]>
|
|
1991
|
+
/**
|
|
1992
|
+
* require error handling in callbacks
|
|
1993
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/handle-callback-err.md
|
|
1994
|
+
*/
|
|
1995
|
+
'node/handle-callback-err'?: Linter.RuleEntry<NodeHandleCallbackErr>
|
|
1996
|
+
/**
|
|
1997
|
+
* require correct usage of hashbang
|
|
1998
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
|
|
1999
|
+
*/
|
|
2000
|
+
'node/hashbang'?: Linter.RuleEntry<NodeHashbang>
|
|
2001
|
+
/**
|
|
2002
|
+
* enforce Node.js-style error-first callback pattern is followed
|
|
2003
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-callback-literal.md
|
|
2004
|
+
*/
|
|
2005
|
+
'node/no-callback-literal'?: Linter.RuleEntry<[]>
|
|
2006
|
+
/**
|
|
2007
|
+
* disallow deprecated APIs
|
|
2008
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-deprecated-api.md
|
|
2009
|
+
*/
|
|
2010
|
+
'node/no-deprecated-api'?: Linter.RuleEntry<NodeNoDeprecatedApi>
|
|
2011
|
+
/**
|
|
2012
|
+
* disallow the assignment to `exports`
|
|
2013
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-exports-assign.md
|
|
2014
|
+
*/
|
|
2015
|
+
'node/no-exports-assign'?: Linter.RuleEntry<[]>
|
|
2016
|
+
/**
|
|
2017
|
+
* disallow `import` declarations which import extraneous modules
|
|
2018
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-import.md
|
|
2019
|
+
*/
|
|
2020
|
+
'node/no-extraneous-import'?: Linter.RuleEntry<NodeNoExtraneousImport>
|
|
2021
|
+
/**
|
|
2022
|
+
* disallow `require()` expressions which import extraneous modules
|
|
2023
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-require.md
|
|
2024
|
+
*/
|
|
2025
|
+
'node/no-extraneous-require'?: Linter.RuleEntry<NodeNoExtraneousRequire>
|
|
2026
|
+
/**
|
|
2027
|
+
* disallow third-party modules which are hiding core modules
|
|
2028
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-hide-core-modules.md
|
|
2029
|
+
* @deprecated
|
|
2030
|
+
*/
|
|
2031
|
+
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>
|
|
2032
|
+
/**
|
|
2033
|
+
* disallow `import` declarations which import non-existence modules
|
|
2034
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2035
|
+
*/
|
|
2036
|
+
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>
|
|
2037
|
+
/**
|
|
2038
|
+
* disallow `require()` expressions which import non-existence modules
|
|
2039
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2040
|
+
*/
|
|
2041
|
+
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>
|
|
2042
|
+
/**
|
|
2043
|
+
* disallow `require` calls to be mixed with regular variable declarations
|
|
2044
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-mixed-requires.md
|
|
2045
|
+
*/
|
|
2046
|
+
'node/no-mixed-requires'?: Linter.RuleEntry<NodeNoMixedRequires>
|
|
2047
|
+
/**
|
|
2048
|
+
* disallow `new` operators with calls to `require`
|
|
2049
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-new-require.md
|
|
2050
|
+
*/
|
|
2051
|
+
'node/no-new-require'?: Linter.RuleEntry<[]>
|
|
2052
|
+
/**
|
|
2053
|
+
* disallow string concatenation with `__dirname` and `__filename`
|
|
2054
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-path-concat.md
|
|
2055
|
+
*/
|
|
2056
|
+
'node/no-path-concat'?: Linter.RuleEntry<[]>
|
|
2057
|
+
/**
|
|
2058
|
+
* disallow the use of `process.env`
|
|
2059
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2060
|
+
*/
|
|
2061
|
+
'node/no-process-env'?: Linter.RuleEntry<[]>
|
|
2062
|
+
/**
|
|
2063
|
+
* disallow the use of `process.exit()`
|
|
2064
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
2065
|
+
*/
|
|
2066
|
+
'node/no-process-exit'?: Linter.RuleEntry<[]>
|
|
2067
|
+
/**
|
|
2068
|
+
* disallow specified modules when loaded by `import` declarations
|
|
2069
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-import.md
|
|
2070
|
+
*/
|
|
2071
|
+
'node/no-restricted-import'?: Linter.RuleEntry<NodeNoRestrictedImport>
|
|
2072
|
+
/**
|
|
2073
|
+
* disallow specified modules when loaded by `require`
|
|
2074
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-require.md
|
|
2075
|
+
*/
|
|
2076
|
+
'node/no-restricted-require'?: Linter.RuleEntry<NodeNoRestrictedRequire>
|
|
2077
|
+
/**
|
|
2078
|
+
* disallow synchronous methods
|
|
2079
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
2080
|
+
*/
|
|
2081
|
+
'node/no-sync'?: Linter.RuleEntry<NodeNoSync>
|
|
2082
|
+
/**
|
|
2083
|
+
* disallow `bin` files that npm ignores
|
|
2084
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
2085
|
+
*/
|
|
2086
|
+
'node/no-unpublished-bin'?: Linter.RuleEntry<NodeNoUnpublishedBin>
|
|
2087
|
+
/**
|
|
2088
|
+
* disallow `import` declarations which import private modules
|
|
2089
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-import.md
|
|
2090
|
+
*/
|
|
2091
|
+
'node/no-unpublished-import'?: Linter.RuleEntry<NodeNoUnpublishedImport>
|
|
2092
|
+
/**
|
|
2093
|
+
* disallow `require()` expressions which import private modules
|
|
2094
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-require.md
|
|
2095
|
+
*/
|
|
2096
|
+
'node/no-unpublished-require'?: Linter.RuleEntry<NodeNoUnpublishedRequire>
|
|
2097
|
+
/**
|
|
2098
|
+
* disallow unsupported ECMAScript built-ins on the specified version
|
|
2099
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-builtins.md
|
|
2100
|
+
*/
|
|
2101
|
+
'node/no-unsupported-features/es-builtins'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesEsBuiltins>
|
|
2102
|
+
/**
|
|
2103
|
+
* disallow unsupported ECMAScript syntax on the specified version
|
|
2104
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-syntax.md
|
|
2105
|
+
*/
|
|
2106
|
+
'node/no-unsupported-features/es-syntax'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesEsSyntax>
|
|
2107
|
+
/**
|
|
2108
|
+
* disallow unsupported Node.js built-in APIs on the specified version
|
|
2109
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/node-builtins.md
|
|
2110
|
+
*/
|
|
2111
|
+
'node/no-unsupported-features/node-builtins'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesNodeBuiltins>
|
|
2112
|
+
/**
|
|
2113
|
+
* enforce either `Buffer` or `require("buffer").Buffer`
|
|
2114
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/buffer.md
|
|
2115
|
+
*/
|
|
2116
|
+
'node/prefer-global/buffer'?: Linter.RuleEntry<NodePreferGlobalBuffer>
|
|
2117
|
+
/**
|
|
2118
|
+
* enforce either `console` or `require("console")`
|
|
2119
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
2120
|
+
*/
|
|
2121
|
+
'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>
|
|
2122
|
+
/**
|
|
2123
|
+
* enforce either `process` or `require("process")`
|
|
2124
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
2125
|
+
*/
|
|
2126
|
+
'node/prefer-global/process'?: Linter.RuleEntry<NodePreferGlobalProcess>
|
|
2127
|
+
/**
|
|
2128
|
+
* enforce either `TextDecoder` or `require("util").TextDecoder`
|
|
2129
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-decoder.md
|
|
2130
|
+
*/
|
|
2131
|
+
'node/prefer-global/text-decoder'?: Linter.RuleEntry<NodePreferGlobalTextDecoder>
|
|
2132
|
+
/**
|
|
2133
|
+
* enforce either `TextEncoder` or `require("util").TextEncoder`
|
|
2134
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
2135
|
+
*/
|
|
2136
|
+
'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>
|
|
2137
|
+
/**
|
|
2138
|
+
* enforce either `URL` or `require("url").URL`
|
|
2139
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
2140
|
+
*/
|
|
2141
|
+
'node/prefer-global/url'?: Linter.RuleEntry<NodePreferGlobalUrl>
|
|
2142
|
+
/**
|
|
2143
|
+
* enforce either `URLSearchParams` or `require("url").URLSearchParams`
|
|
2144
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url-search-params.md
|
|
2145
|
+
*/
|
|
2146
|
+
'node/prefer-global/url-search-params'?: Linter.RuleEntry<NodePreferGlobalUrlSearchParams>
|
|
2147
|
+
/**
|
|
2148
|
+
* enforce using the `node:` protocol when importing Node.js builtin modules.
|
|
2149
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-node-protocol.md
|
|
2150
|
+
*/
|
|
2151
|
+
'node/prefer-node-protocol'?: Linter.RuleEntry<NodePreferNodeProtocol>
|
|
2152
|
+
/**
|
|
2153
|
+
* enforce `require("dns").promises`
|
|
2154
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/dns.md
|
|
2155
|
+
*/
|
|
2156
|
+
'node/prefer-promises/dns'?: Linter.RuleEntry<[]>
|
|
2157
|
+
/**
|
|
2158
|
+
* enforce `require("fs").promises`
|
|
2159
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/fs.md
|
|
2160
|
+
*/
|
|
2161
|
+
'node/prefer-promises/fs'?: Linter.RuleEntry<[]>
|
|
2162
|
+
/**
|
|
2163
|
+
* require that `process.exit()` expressions use the same code path as `throw`
|
|
2164
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/process-exit-as-throw.md
|
|
2165
|
+
*/
|
|
2166
|
+
'node/process-exit-as-throw'?: Linter.RuleEntry<[]>
|
|
2167
|
+
/**
|
|
2168
|
+
* require correct usage of hashbang
|
|
2169
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
|
|
2170
|
+
* @deprecated
|
|
2171
|
+
*/
|
|
2172
|
+
'node/shebang'?: Linter.RuleEntry<NodeShebang>
|
|
1740
2173
|
/**
|
|
1741
2174
|
* Enforce the location of single-line statements
|
|
1742
2175
|
* @see https://eslint.org/docs/latest/rules/nonblock-statement-body-position
|
|
@@ -4615,6 +5048,236 @@ type IdMatch = []|[string]|[string, {
|
|
|
4615
5048
|
}]
|
|
4616
5049
|
// ----- implicit-arrow-linebreak -----
|
|
4617
5050
|
type ImplicitArrowLinebreak = []|[("beside" | "below")]
|
|
5051
|
+
// ----- import/consistent-type-specifier-style -----
|
|
5052
|
+
type ImportConsistentTypeSpecifierStyle = []|[("prefer-inline" | "prefer-top-level")]
|
|
5053
|
+
// ----- import/dynamic-import-chunkname -----
|
|
5054
|
+
type ImportDynamicImportChunkname = []|[{
|
|
5055
|
+
importFunctions?: string[]
|
|
5056
|
+
allowEmpty?: boolean
|
|
5057
|
+
webpackChunknameFormat?: string
|
|
5058
|
+
[k: string]: unknown | undefined
|
|
5059
|
+
}]
|
|
5060
|
+
// ----- import/extensions -----
|
|
5061
|
+
type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
5062
|
+
pattern?: {
|
|
5063
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5064
|
+
}
|
|
5065
|
+
ignorePackages?: boolean
|
|
5066
|
+
[k: string]: unknown | undefined
|
|
5067
|
+
}] | []|[{
|
|
5068
|
+
pattern?: {
|
|
5069
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5070
|
+
}
|
|
5071
|
+
ignorePackages?: boolean
|
|
5072
|
+
[k: string]: unknown | undefined
|
|
5073
|
+
}] | []|[{
|
|
5074
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5075
|
+
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
5076
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
5077
|
+
}])
|
|
5078
|
+
// ----- import/first -----
|
|
5079
|
+
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
5080
|
+
// ----- import/imports-first -----
|
|
5081
|
+
type ImportImportsFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
5082
|
+
// ----- import/max-dependencies -----
|
|
5083
|
+
type ImportMaxDependencies = []|[{
|
|
5084
|
+
max?: number
|
|
5085
|
+
ignoreTypeImports?: boolean
|
|
5086
|
+
}]
|
|
5087
|
+
// ----- import/named -----
|
|
5088
|
+
type ImportNamed = []|[{
|
|
5089
|
+
commonjs?: boolean
|
|
5090
|
+
}]
|
|
5091
|
+
// ----- import/namespace -----
|
|
5092
|
+
type ImportNamespace = []|[{
|
|
5093
|
+
|
|
5094
|
+
allowComputed?: boolean
|
|
5095
|
+
}]
|
|
5096
|
+
// ----- import/newline-after-import -----
|
|
5097
|
+
type ImportNewlineAfterImport = []|[{
|
|
5098
|
+
count?: number
|
|
5099
|
+
exactCount?: boolean
|
|
5100
|
+
considerComments?: boolean
|
|
5101
|
+
}]
|
|
5102
|
+
// ----- import/no-absolute-path -----
|
|
5103
|
+
type ImportNoAbsolutePath = []|[{
|
|
5104
|
+
commonjs?: boolean
|
|
5105
|
+
amd?: boolean
|
|
5106
|
+
esmodule?: boolean
|
|
5107
|
+
|
|
5108
|
+
ignore?: [string, ...(string)[]]
|
|
5109
|
+
}]
|
|
5110
|
+
// ----- import/no-anonymous-default-export -----
|
|
5111
|
+
type ImportNoAnonymousDefaultExport = []|[{
|
|
5112
|
+
|
|
5113
|
+
allowArray?: boolean
|
|
5114
|
+
|
|
5115
|
+
allowArrowFunction?: boolean
|
|
5116
|
+
|
|
5117
|
+
allowCallExpression?: boolean
|
|
5118
|
+
|
|
5119
|
+
allowAnonymousClass?: boolean
|
|
5120
|
+
|
|
5121
|
+
allowAnonymousFunction?: boolean
|
|
5122
|
+
|
|
5123
|
+
allowLiteral?: boolean
|
|
5124
|
+
|
|
5125
|
+
allowObject?: boolean
|
|
5126
|
+
|
|
5127
|
+
allowNew?: boolean
|
|
5128
|
+
}]
|
|
5129
|
+
// ----- import/no-commonjs -----
|
|
5130
|
+
type ImportNoCommonjs = ([]|["allow-primitive-modules"] | []|[{
|
|
5131
|
+
allowPrimitiveModules?: boolean
|
|
5132
|
+
allowRequire?: boolean
|
|
5133
|
+
allowConditionalRequire?: boolean
|
|
5134
|
+
}])
|
|
5135
|
+
// ----- import/no-cycle -----
|
|
5136
|
+
type ImportNoCycle = []|[{
|
|
5137
|
+
commonjs?: boolean
|
|
5138
|
+
amd?: boolean
|
|
5139
|
+
esmodule?: boolean
|
|
5140
|
+
|
|
5141
|
+
ignore?: [string, ...(string)[]]
|
|
5142
|
+
maxDepth?: (number | "∞")
|
|
5143
|
+
|
|
5144
|
+
ignoreExternal?: boolean
|
|
5145
|
+
|
|
5146
|
+
allowUnsafeDynamicCyclicDependency?: boolean
|
|
5147
|
+
}]
|
|
5148
|
+
// ----- import/no-duplicates -----
|
|
5149
|
+
type ImportNoDuplicates = []|[{
|
|
5150
|
+
considerQueryString?: boolean
|
|
5151
|
+
"prefer-inline"?: boolean
|
|
5152
|
+
}]
|
|
5153
|
+
// ----- import/no-dynamic-require -----
|
|
5154
|
+
type ImportNoDynamicRequire = []|[{
|
|
5155
|
+
esmodule?: boolean
|
|
5156
|
+
}]
|
|
5157
|
+
// ----- import/no-extraneous-dependencies -----
|
|
5158
|
+
type ImportNoExtraneousDependencies = []|[{
|
|
5159
|
+
devDependencies?: (boolean | unknown[])
|
|
5160
|
+
optionalDependencies?: (boolean | unknown[])
|
|
5161
|
+
peerDependencies?: (boolean | unknown[])
|
|
5162
|
+
bundledDependencies?: (boolean | unknown[])
|
|
5163
|
+
packageDir?: (string | unknown[])
|
|
5164
|
+
includeInternal?: boolean
|
|
5165
|
+
includeTypes?: boolean
|
|
5166
|
+
whitelist?: unknown[]
|
|
5167
|
+
}]
|
|
5168
|
+
// ----- import/no-import-module-exports -----
|
|
5169
|
+
type ImportNoImportModuleExports = []|[{
|
|
5170
|
+
exceptions?: unknown[]
|
|
5171
|
+
}]
|
|
5172
|
+
// ----- import/no-internal-modules -----
|
|
5173
|
+
type ImportNoInternalModules = []|[({
|
|
5174
|
+
allow?: string[]
|
|
5175
|
+
} | {
|
|
5176
|
+
forbid?: string[]
|
|
5177
|
+
})]
|
|
5178
|
+
// ----- import/no-namespace -----
|
|
5179
|
+
type ImportNoNamespace = []|[{
|
|
5180
|
+
ignore?: string[]
|
|
5181
|
+
[k: string]: unknown | undefined
|
|
5182
|
+
}]
|
|
5183
|
+
// ----- import/no-nodejs-modules -----
|
|
5184
|
+
type ImportNoNodejsModules = []|[{
|
|
5185
|
+
allow?: string[]
|
|
5186
|
+
}]
|
|
5187
|
+
// ----- import/no-relative-packages -----
|
|
5188
|
+
type ImportNoRelativePackages = []|[{
|
|
5189
|
+
commonjs?: boolean
|
|
5190
|
+
amd?: boolean
|
|
5191
|
+
esmodule?: boolean
|
|
5192
|
+
|
|
5193
|
+
ignore?: [string, ...(string)[]]
|
|
5194
|
+
}]
|
|
5195
|
+
// ----- import/no-relative-parent-imports -----
|
|
5196
|
+
type ImportNoRelativeParentImports = []|[{
|
|
5197
|
+
commonjs?: boolean
|
|
5198
|
+
amd?: boolean
|
|
5199
|
+
esmodule?: boolean
|
|
5200
|
+
|
|
5201
|
+
ignore?: [string, ...(string)[]]
|
|
5202
|
+
}]
|
|
5203
|
+
// ----- import/no-rename-default -----
|
|
5204
|
+
type ImportNoRenameDefault = []|[{
|
|
5205
|
+
commonjs?: boolean
|
|
5206
|
+
preventRenamingBindings?: boolean
|
|
5207
|
+
}]
|
|
5208
|
+
// ----- import/no-restricted-paths -----
|
|
5209
|
+
type ImportNoRestrictedPaths = []|[{
|
|
5210
|
+
|
|
5211
|
+
zones?: [{
|
|
5212
|
+
target?: (string | [string, ...(string)[]])
|
|
5213
|
+
from?: (string | [string, ...(string)[]])
|
|
5214
|
+
except?: string[]
|
|
5215
|
+
message?: string
|
|
5216
|
+
}, ...({
|
|
5217
|
+
target?: (string | [string, ...(string)[]])
|
|
5218
|
+
from?: (string | [string, ...(string)[]])
|
|
5219
|
+
except?: string[]
|
|
5220
|
+
message?: string
|
|
5221
|
+
})[]]
|
|
5222
|
+
basePath?: string
|
|
5223
|
+
}]
|
|
5224
|
+
// ----- import/no-unassigned-import -----
|
|
5225
|
+
type ImportNoUnassignedImport = []|[{
|
|
5226
|
+
devDependencies?: (boolean | unknown[])
|
|
5227
|
+
optionalDependencies?: (boolean | unknown[])
|
|
5228
|
+
peerDependencies?: (boolean | unknown[])
|
|
5229
|
+
allow?: string[]
|
|
5230
|
+
}]
|
|
5231
|
+
// ----- import/no-unresolved -----
|
|
5232
|
+
type ImportNoUnresolved = []|[{
|
|
5233
|
+
commonjs?: boolean
|
|
5234
|
+
amd?: boolean
|
|
5235
|
+
esmodule?: boolean
|
|
5236
|
+
|
|
5237
|
+
ignore?: [string, ...(string)[]]
|
|
5238
|
+
caseSensitive?: boolean
|
|
5239
|
+
caseSensitiveStrict?: boolean
|
|
5240
|
+
}]
|
|
5241
|
+
// ----- import/no-unused-modules -----
|
|
5242
|
+
type ImportNoUnusedModules = []|[({
|
|
5243
|
+
unusedExports: true
|
|
5244
|
+
|
|
5245
|
+
src?: [unknown, ...(unknown)[]]
|
|
5246
|
+
[k: string]: unknown | undefined
|
|
5247
|
+
} | {
|
|
5248
|
+
missingExports: true
|
|
5249
|
+
[k: string]: unknown | undefined
|
|
5250
|
+
})]
|
|
5251
|
+
// ----- import/no-useless-path-segments -----
|
|
5252
|
+
type ImportNoUselessPathSegments = []|[{
|
|
5253
|
+
commonjs?: boolean
|
|
5254
|
+
noUselessIndex?: boolean
|
|
5255
|
+
}]
|
|
5256
|
+
// ----- import/order -----
|
|
5257
|
+
type ImportOrder = []|[{
|
|
5258
|
+
groups?: unknown[]
|
|
5259
|
+
pathGroupsExcludedImportTypes?: unknown[]
|
|
5260
|
+
distinctGroup?: boolean
|
|
5261
|
+
pathGroups?: {
|
|
5262
|
+
pattern: string
|
|
5263
|
+
patternOptions?: {
|
|
5264
|
+
[k: string]: unknown | undefined
|
|
5265
|
+
}
|
|
5266
|
+
group: ("builtin" | "external" | "internal" | "unknown" | "parent" | "sibling" | "index" | "object" | "type")
|
|
5267
|
+
position?: ("after" | "before")
|
|
5268
|
+
}[]
|
|
5269
|
+
"newlines-between"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
|
|
5270
|
+
alphabetize?: {
|
|
5271
|
+
caseInsensitive?: boolean
|
|
5272
|
+
order?: ("ignore" | "asc" | "desc")
|
|
5273
|
+
orderImportKind?: ("ignore" | "asc" | "desc")
|
|
5274
|
+
}
|
|
5275
|
+
warnOnUnassignedImports?: boolean
|
|
5276
|
+
}]
|
|
5277
|
+
// ----- import/prefer-default-export -----
|
|
5278
|
+
type ImportPreferDefaultExport = []|[{
|
|
5279
|
+
target?: ("single" | "any")
|
|
5280
|
+
}]
|
|
4618
5281
|
// ----- indent -----
|
|
4619
5282
|
type Indent = []|[("tab" | number)]|[("tab" | number), {
|
|
4620
5283
|
SwitchCase?: number
|
|
@@ -6287,6 +6950,257 @@ type NoWarningComments = []|[{
|
|
|
6287
6950
|
|
|
6288
6951
|
decoration?: [string, ...(string)[]]
|
|
6289
6952
|
}]
|
|
6953
|
+
// ----- node/callback-return -----
|
|
6954
|
+
type NodeCallbackReturn = []|[string[]]
|
|
6955
|
+
// ----- node/exports-style -----
|
|
6956
|
+
type NodeExportsStyle = []|[("module.exports" | "exports")]|[("module.exports" | "exports"), {
|
|
6957
|
+
allowBatchAssign?: boolean
|
|
6958
|
+
}]
|
|
6959
|
+
// ----- node/file-extension-in-import -----
|
|
6960
|
+
type NodeFileExtensionInImport = []|[("always" | "never")]|[("always" | "never"), {
|
|
6961
|
+
[k: string]: ("always" | "never") | undefined
|
|
6962
|
+
}]
|
|
6963
|
+
// ----- node/handle-callback-err -----
|
|
6964
|
+
type NodeHandleCallbackErr = []|[string]
|
|
6965
|
+
// ----- node/hashbang -----
|
|
6966
|
+
type NodeHashbang = []|[{
|
|
6967
|
+
convertPath?: ({
|
|
6968
|
+
|
|
6969
|
+
[k: string]: [string, string]
|
|
6970
|
+
} | [{
|
|
6971
|
+
|
|
6972
|
+
include: [string, ...(string)[]]
|
|
6973
|
+
exclude?: string[]
|
|
6974
|
+
|
|
6975
|
+
replace: [string, string]
|
|
6976
|
+
}, ...({
|
|
6977
|
+
|
|
6978
|
+
include: [string, ...(string)[]]
|
|
6979
|
+
exclude?: string[]
|
|
6980
|
+
|
|
6981
|
+
replace: [string, string]
|
|
6982
|
+
})[]])
|
|
6983
|
+
ignoreUnpublished?: boolean
|
|
6984
|
+
additionalExecutables?: string[]
|
|
6985
|
+
executableMap?: {
|
|
6986
|
+
[k: string]: string
|
|
6987
|
+
}
|
|
6988
|
+
}]
|
|
6989
|
+
// ----- node/no-deprecated-api -----
|
|
6990
|
+
type NodeNoDeprecatedApi = []|[{
|
|
6991
|
+
version?: string
|
|
6992
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
6993
|
+
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
6994
|
+
ignoreIndirectDependencies?: boolean
|
|
6995
|
+
}]
|
|
6996
|
+
// ----- node/no-extraneous-import -----
|
|
6997
|
+
type NodeNoExtraneousImport = []|[{
|
|
6998
|
+
allowModules?: string[]
|
|
6999
|
+
convertPath?: ({
|
|
7000
|
+
|
|
7001
|
+
[k: string]: [string, string]
|
|
7002
|
+
} | [{
|
|
7003
|
+
|
|
7004
|
+
include: [string, ...(string)[]]
|
|
7005
|
+
exclude?: string[]
|
|
7006
|
+
|
|
7007
|
+
replace: [string, string]
|
|
7008
|
+
}, ...({
|
|
7009
|
+
|
|
7010
|
+
include: [string, ...(string)[]]
|
|
7011
|
+
exclude?: string[]
|
|
7012
|
+
|
|
7013
|
+
replace: [string, string]
|
|
7014
|
+
})[]])
|
|
7015
|
+
resolvePaths?: string[]
|
|
7016
|
+
}]
|
|
7017
|
+
// ----- node/no-extraneous-require -----
|
|
7018
|
+
type NodeNoExtraneousRequire = []|[{
|
|
7019
|
+
allowModules?: string[]
|
|
7020
|
+
convertPath?: ({
|
|
7021
|
+
|
|
7022
|
+
[k: string]: [string, string]
|
|
7023
|
+
} | [{
|
|
7024
|
+
|
|
7025
|
+
include: [string, ...(string)[]]
|
|
7026
|
+
exclude?: string[]
|
|
7027
|
+
|
|
7028
|
+
replace: [string, string]
|
|
7029
|
+
}, ...({
|
|
7030
|
+
|
|
7031
|
+
include: [string, ...(string)[]]
|
|
7032
|
+
exclude?: string[]
|
|
7033
|
+
|
|
7034
|
+
replace: [string, string]
|
|
7035
|
+
})[]])
|
|
7036
|
+
resolvePaths?: string[]
|
|
7037
|
+
tryExtensions?: string[]
|
|
7038
|
+
}]
|
|
7039
|
+
// ----- node/no-hide-core-modules -----
|
|
7040
|
+
type NodeNoHideCoreModules = []|[{
|
|
7041
|
+
allow?: ("assert" | "buffer" | "child_process" | "cluster" | "console" | "constants" | "crypto" | "dgram" | "dns" | "events" | "fs" | "http" | "https" | "module" | "net" | "os" | "path" | "querystring" | "readline" | "repl" | "stream" | "string_decoder" | "timers" | "tls" | "tty" | "url" | "util" | "vm" | "zlib")[]
|
|
7042
|
+
ignoreDirectDependencies?: boolean
|
|
7043
|
+
ignoreIndirectDependencies?: boolean
|
|
7044
|
+
}]
|
|
7045
|
+
// ----- node/no-missing-import -----
|
|
7046
|
+
type NodeNoMissingImport = []|[{
|
|
7047
|
+
allowModules?: string[]
|
|
7048
|
+
resolvePaths?: string[]
|
|
7049
|
+
tryExtensions?: string[]
|
|
7050
|
+
tsconfigPath?: string
|
|
7051
|
+
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
7052
|
+
}]
|
|
7053
|
+
// ----- node/no-missing-require -----
|
|
7054
|
+
type NodeNoMissingRequire = []|[{
|
|
7055
|
+
allowModules?: string[]
|
|
7056
|
+
tryExtensions?: string[]
|
|
7057
|
+
resolvePaths?: string[]
|
|
7058
|
+
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
7059
|
+
tsconfigPath?: string
|
|
7060
|
+
}]
|
|
7061
|
+
// ----- node/no-mixed-requires -----
|
|
7062
|
+
type NodeNoMixedRequires = []|[(boolean | {
|
|
7063
|
+
grouping?: boolean
|
|
7064
|
+
allowCall?: boolean
|
|
7065
|
+
})]
|
|
7066
|
+
// ----- node/no-restricted-import -----
|
|
7067
|
+
type NodeNoRestrictedImport = []|[(string | {
|
|
7068
|
+
name: (string | string[])
|
|
7069
|
+
message?: string
|
|
7070
|
+
})[]]
|
|
7071
|
+
// ----- node/no-restricted-require -----
|
|
7072
|
+
type NodeNoRestrictedRequire = []|[(string | {
|
|
7073
|
+
name: (string | string[])
|
|
7074
|
+
message?: string
|
|
7075
|
+
})[]]
|
|
7076
|
+
// ----- node/no-sync -----
|
|
7077
|
+
type NodeNoSync = []|[{
|
|
7078
|
+
allowAtRootLevel?: boolean
|
|
7079
|
+
}]
|
|
7080
|
+
// ----- node/no-unpublished-bin -----
|
|
7081
|
+
type NodeNoUnpublishedBin = []|[{
|
|
7082
|
+
convertPath?: ({
|
|
7083
|
+
|
|
7084
|
+
[k: string]: [string, string]
|
|
7085
|
+
} | [{
|
|
7086
|
+
|
|
7087
|
+
include: [string, ...(string)[]]
|
|
7088
|
+
exclude?: string[]
|
|
7089
|
+
|
|
7090
|
+
replace: [string, string]
|
|
7091
|
+
}, ...({
|
|
7092
|
+
|
|
7093
|
+
include: [string, ...(string)[]]
|
|
7094
|
+
exclude?: string[]
|
|
7095
|
+
|
|
7096
|
+
replace: [string, string]
|
|
7097
|
+
})[]])
|
|
7098
|
+
[k: string]: unknown | undefined
|
|
7099
|
+
}]
|
|
7100
|
+
// ----- node/no-unpublished-import -----
|
|
7101
|
+
type NodeNoUnpublishedImport = []|[{
|
|
7102
|
+
allowModules?: string[]
|
|
7103
|
+
convertPath?: ({
|
|
7104
|
+
|
|
7105
|
+
[k: string]: [string, string]
|
|
7106
|
+
} | [{
|
|
7107
|
+
|
|
7108
|
+
include: [string, ...(string)[]]
|
|
7109
|
+
exclude?: string[]
|
|
7110
|
+
|
|
7111
|
+
replace: [string, string]
|
|
7112
|
+
}, ...({
|
|
7113
|
+
|
|
7114
|
+
include: [string, ...(string)[]]
|
|
7115
|
+
exclude?: string[]
|
|
7116
|
+
|
|
7117
|
+
replace: [string, string]
|
|
7118
|
+
})[]])
|
|
7119
|
+
resolvePaths?: string[]
|
|
7120
|
+
ignoreTypeImport?: boolean
|
|
7121
|
+
ignorePrivate?: boolean
|
|
7122
|
+
}]
|
|
7123
|
+
// ----- node/no-unpublished-require -----
|
|
7124
|
+
type NodeNoUnpublishedRequire = []|[{
|
|
7125
|
+
allowModules?: string[]
|
|
7126
|
+
convertPath?: ({
|
|
7127
|
+
|
|
7128
|
+
[k: string]: [string, string]
|
|
7129
|
+
} | [{
|
|
7130
|
+
|
|
7131
|
+
include: [string, ...(string)[]]
|
|
7132
|
+
exclude?: string[]
|
|
7133
|
+
|
|
7134
|
+
replace: [string, string]
|
|
7135
|
+
}, ...({
|
|
7136
|
+
|
|
7137
|
+
include: [string, ...(string)[]]
|
|
7138
|
+
exclude?: string[]
|
|
7139
|
+
|
|
7140
|
+
replace: [string, string]
|
|
7141
|
+
})[]])
|
|
7142
|
+
resolvePaths?: string[]
|
|
7143
|
+
tryExtensions?: string[]
|
|
7144
|
+
ignorePrivate?: boolean
|
|
7145
|
+
}]
|
|
7146
|
+
// ----- node/no-unsupported-features/es-builtins -----
|
|
7147
|
+
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
7148
|
+
version?: string
|
|
7149
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
7150
|
+
}]
|
|
7151
|
+
// ----- node/no-unsupported-features/es-syntax -----
|
|
7152
|
+
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
7153
|
+
version?: string
|
|
7154
|
+
ignores?: ("no-accessor-properties" | "accessor-properties" | "accessorProperties" | "no-arbitrary-module-namespace-names" | "arbitrary-module-namespace-names" | "arbitraryModuleNamespaceNames" | "no-array-from" | "array-from" | "arrayFrom" | "no-array-isarray" | "array-isarray" | "arrayIsarray" | "no-array-of" | "array-of" | "arrayOf" | "no-array-prototype-copywithin" | "array-prototype-copywithin" | "arrayPrototypeCopywithin" | "no-array-prototype-entries" | "array-prototype-entries" | "arrayPrototypeEntries" | "no-array-prototype-every" | "array-prototype-every" | "arrayPrototypeEvery" | "no-array-prototype-fill" | "array-prototype-fill" | "arrayPrototypeFill" | "no-array-prototype-filter" | "array-prototype-filter" | "arrayPrototypeFilter" | "no-array-prototype-find" | "array-prototype-find" | "arrayPrototypeFind" | "no-array-prototype-findindex" | "array-prototype-findindex" | "arrayPrototypeFindindex" | "no-array-prototype-findlast-findlastindex" | "array-prototype-findlast-findlastindex" | "arrayPrototypeFindlastFindlastindex" | "no-array-prototype-flat" | "array-prototype-flat" | "arrayPrototypeFlat" | "no-array-prototype-foreach" | "array-prototype-foreach" | "arrayPrototypeForeach" | "no-array-prototype-includes" | "array-prototype-includes" | "arrayPrototypeIncludes" | "no-array-prototype-indexof" | "array-prototype-indexof" | "arrayPrototypeIndexof" | "no-array-prototype-keys" | "array-prototype-keys" | "arrayPrototypeKeys" | "no-array-prototype-lastindexof" | "array-prototype-lastindexof" | "arrayPrototypeLastindexof" | "no-array-prototype-map" | "array-prototype-map" | "arrayPrototypeMap" | "no-array-prototype-reduce" | "array-prototype-reduce" | "arrayPrototypeReduce" | "no-array-prototype-reduceright" | "array-prototype-reduceright" | "arrayPrototypeReduceright" | "no-array-prototype-some" | "array-prototype-some" | "arrayPrototypeSome" | "no-array-prototype-toreversed" | "array-prototype-toreversed" | "arrayPrototypeToreversed" | "no-array-prototype-tosorted" | "array-prototype-tosorted" | "arrayPrototypeTosorted" | "no-array-prototype-tospliced" | "array-prototype-tospliced" | "arrayPrototypeTospliced" | "no-array-prototype-values" | "array-prototype-values" | "arrayPrototypeValues" | "no-array-prototype-with" | "array-prototype-with" | "arrayPrototypeWith" | "no-array-string-prototype-at" | "array-string-prototype-at" | "arrayStringPrototypeAt" | "no-arrow-functions" | "arrow-functions" | "arrowFunctions" | "no-async-functions" | "async-functions" | "asyncFunctions" | "no-async-iteration" | "async-iteration" | "asyncIteration" | "no-atomics-waitasync" | "atomics-waitasync" | "atomicsWaitasync" | "no-atomics" | "atomics" | "no-bigint" | "bigint" | "no-binary-numeric-literals" | "binary-numeric-literals" | "binaryNumericLiterals" | "no-block-scoped-functions" | "block-scoped-functions" | "blockScopedFunctions" | "no-block-scoped-variables" | "block-scoped-variables" | "blockScopedVariables" | "no-class-fields" | "class-fields" | "classFields" | "no-class-static-block" | "class-static-block" | "classStaticBlock" | "no-classes" | "classes" | "no-computed-properties" | "computed-properties" | "computedProperties" | "no-date-now" | "date-now" | "dateNow" | "no-date-prototype-getyear-setyear" | "date-prototype-getyear-setyear" | "datePrototypeGetyearSetyear" | "no-date-prototype-togmtstring" | "date-prototype-togmtstring" | "datePrototypeTogmtstring" | "no-default-parameters" | "default-parameters" | "defaultParameters" | "no-destructuring" | "destructuring" | "no-dynamic-import" | "dynamic-import" | "dynamicImport" | "no-error-cause" | "error-cause" | "errorCause" | "no-escape-unescape" | "escape-unescape" | "escapeUnescape" | "no-exponential-operators" | "exponential-operators" | "exponentialOperators" | "no-export-ns-from" | "export-ns-from" | "exportNsFrom" | "no-for-of-loops" | "for-of-loops" | "forOfLoops" | "no-function-declarations-in-if-statement-clauses-without-block" | "function-declarations-in-if-statement-clauses-without-block" | "functionDeclarationsInIfStatementClausesWithoutBlock" | "no-function-prototype-bind" | "function-prototype-bind" | "functionPrototypeBind" | "no-generators" | "generators" | "no-global-this" | "global-this" | "globalThis" | "no-hashbang" | "hashbang" | "no-import-meta" | "import-meta" | "importMeta" | "no-initializers-in-for-in" | "initializers-in-for-in" | "initializersInForIn" | "no-intl-datetimeformat-prototype-formatrange" | "intl-datetimeformat-prototype-formatrange" | "intlDatetimeformatPrototypeFormatrange" | "no-intl-datetimeformat-prototype-formattoparts" | "intl-datetimeformat-prototype-formattoparts" | "intlDatetimeformatPrototypeFormattoparts" | "no-intl-displaynames" | "intl-displaynames" | "intlDisplaynames" | "no-intl-getcanonicallocales" | "intl-getcanonicallocales" | "intlGetcanonicallocales" | "no-intl-listformat" | "intl-listformat" | "intlListformat" | "no-intl-locale" | "intl-locale" | "intlLocale" | "no-intl-numberformat-prototype-formatrange" | "intl-numberformat-prototype-formatrange" | "intlNumberformatPrototypeFormatrange" | "no-intl-numberformat-prototype-formatrangetoparts" | "intl-numberformat-prototype-formatrangetoparts" | "intlNumberformatPrototypeFormatrangetoparts" | "no-intl-numberformat-prototype-formattoparts" | "intl-numberformat-prototype-formattoparts" | "intlNumberformatPrototypeFormattoparts" | "no-intl-pluralrules-prototype-selectrange" | "intl-pluralrules-prototype-selectrange" | "intlPluralrulesPrototypeSelectrange" | "no-intl-pluralrules" | "intl-pluralrules" | "intlPluralrules" | "no-intl-relativetimeformat" | "intl-relativetimeformat" | "intlRelativetimeformat" | "no-intl-segmenter" | "intl-segmenter" | "intlSegmenter" | "no-intl-supportedvaluesof" | "intl-supportedvaluesof" | "intlSupportedvaluesof" | "no-json-superset" | "json-superset" | "jsonSuperset" | "no-json" | "json" | "no-keyword-properties" | "keyword-properties" | "keywordProperties" | "no-labelled-function-declarations" | "labelled-function-declarations" | "labelledFunctionDeclarations" | "no-legacy-object-prototype-accessor-methods" | "legacy-object-prototype-accessor-methods" | "legacyObjectPrototypeAccessorMethods" | "no-logical-assignment-operators" | "logical-assignment-operators" | "logicalAssignmentOperators" | "no-malformed-template-literals" | "malformed-template-literals" | "malformedTemplateLiterals" | "no-map" | "map" | "no-math-acosh" | "math-acosh" | "mathAcosh" | "no-math-asinh" | "math-asinh" | "mathAsinh" | "no-math-atanh" | "math-atanh" | "mathAtanh" | "no-math-cbrt" | "math-cbrt" | "mathCbrt" | "no-math-clz32" | "math-clz32" | "mathClz32" | "no-math-cosh" | "math-cosh" | "mathCosh" | "no-math-expm1" | "math-expm1" | "mathExpm1" | "no-math-fround" | "math-fround" | "mathFround" | "no-math-hypot" | "math-hypot" | "mathHypot" | "no-math-imul" | "math-imul" | "mathImul" | "no-math-log10" | "math-log10" | "mathLog10" | "no-math-log1p" | "math-log1p" | "mathLog1p" | "no-math-log2" | "math-log2" | "mathLog2" | "no-math-sign" | "math-sign" | "mathSign" | "no-math-sinh" | "math-sinh" | "mathSinh" | "no-math-tanh" | "math-tanh" | "mathTanh" | "no-math-trunc" | "math-trunc" | "mathTrunc" | "no-modules" | "modules" | "no-new-target" | "new-target" | "newTarget" | "new.target" | "no-nullish-coalescing-operators" | "nullish-coalescing-operators" | "nullishCoalescingOperators" | "no-number-epsilon" | "number-epsilon" | "numberEpsilon" | "no-number-isfinite" | "number-isfinite" | "numberIsfinite" | "no-number-isinteger" | "number-isinteger" | "numberIsinteger" | "no-number-isnan" | "number-isnan" | "numberIsnan" | "no-number-issafeinteger" | "number-issafeinteger" | "numberIssafeinteger" | "no-number-maxsafeinteger" | "number-maxsafeinteger" | "numberMaxsafeinteger" | "no-number-minsafeinteger" | "number-minsafeinteger" | "numberMinsafeinteger" | "no-number-parsefloat" | "number-parsefloat" | "numberParsefloat" | "no-number-parseint" | "number-parseint" | "numberParseint" | "no-numeric-separators" | "numeric-separators" | "numericSeparators" | "no-object-assign" | "object-assign" | "objectAssign" | "no-object-create" | "object-create" | "objectCreate" | "no-object-defineproperties" | "object-defineproperties" | "objectDefineproperties" | "no-object-defineproperty" | "object-defineproperty" | "objectDefineproperty" | "no-object-entries" | "object-entries" | "objectEntries" | "no-object-freeze" | "object-freeze" | "objectFreeze" | "no-object-fromentries" | "object-fromentries" | "objectFromentries" | "no-object-getownpropertydescriptor" | "object-getownpropertydescriptor" | "objectGetownpropertydescriptor" | "no-object-getownpropertydescriptors" | "object-getownpropertydescriptors" | "objectGetownpropertydescriptors" | "no-object-getownpropertynames" | "object-getownpropertynames" | "objectGetownpropertynames" | "no-object-getownpropertysymbols" | "object-getownpropertysymbols" | "objectGetownpropertysymbols" | "no-object-getprototypeof" | "object-getprototypeof" | "objectGetprototypeof" | "no-object-hasown" | "object-hasown" | "objectHasown" | "no-object-is" | "object-is" | "objectIs" | "no-object-isextensible" | "object-isextensible" | "objectIsextensible" | "no-object-isfrozen" | "object-isfrozen" | "objectIsfrozen" | "no-object-issealed" | "object-issealed" | "objectIssealed" | "no-object-keys" | "object-keys" | "objectKeys" | "no-object-map-groupby" | "object-map-groupby" | "objectMapGroupby" | "no-object-preventextensions" | "object-preventextensions" | "objectPreventextensions" | "no-object-seal" | "object-seal" | "objectSeal" | "no-object-setprototypeof" | "object-setprototypeof" | "objectSetprototypeof" | "no-object-super-properties" | "object-super-properties" | "objectSuperProperties" | "no-object-values" | "object-values" | "objectValues" | "no-octal-numeric-literals" | "octal-numeric-literals" | "octalNumericLiterals" | "no-optional-catch-binding" | "optional-catch-binding" | "optionalCatchBinding" | "no-optional-chaining" | "optional-chaining" | "optionalChaining" | "no-private-in" | "private-in" | "privateIn" | "no-promise-all-settled" | "promise-all-settled" | "promiseAllSettled" | "no-promise-any" | "promise-any" | "promiseAny" | "no-promise-prototype-finally" | "promise-prototype-finally" | "promisePrototypeFinally" | "no-promise-withresolvers" | "promise-withresolvers" | "promiseWithresolvers" | "no-promise" | "promise" | "no-property-shorthands" | "property-shorthands" | "propertyShorthands" | "no-proxy" | "proxy" | "no-reflect" | "reflect" | "no-regexp-d-flag" | "regexp-d-flag" | "regexpDFlag" | "no-regexp-lookbehind-assertions" | "regexp-lookbehind-assertions" | "regexpLookbehindAssertions" | "regexpLookbehind" | "no-regexp-named-capture-groups" | "regexp-named-capture-groups" | "regexpNamedCaptureGroups" | "no-regexp-prototype-compile" | "regexp-prototype-compile" | "regexpPrototypeCompile" | "no-regexp-prototype-flags" | "regexp-prototype-flags" | "regexpPrototypeFlags" | "no-regexp-s-flag" | "regexp-s-flag" | "regexpSFlag" | "regexpS" | "no-regexp-u-flag" | "regexp-u-flag" | "regexpUFlag" | "regexpU" | "no-regexp-unicode-property-escapes-2019" | "regexp-unicode-property-escapes-2019" | "regexpUnicodePropertyEscapes2019" | "no-regexp-unicode-property-escapes-2020" | "regexp-unicode-property-escapes-2020" | "regexpUnicodePropertyEscapes2020" | "no-regexp-unicode-property-escapes-2021" | "regexp-unicode-property-escapes-2021" | "regexpUnicodePropertyEscapes2021" | "no-regexp-unicode-property-escapes-2022" | "regexp-unicode-property-escapes-2022" | "regexpUnicodePropertyEscapes2022" | "no-regexp-unicode-property-escapes-2023" | "regexp-unicode-property-escapes-2023" | "regexpUnicodePropertyEscapes2023" | "no-regexp-unicode-property-escapes" | "regexp-unicode-property-escapes" | "regexpUnicodePropertyEscapes" | "regexpUnicodeProperties" | "no-regexp-v-flag" | "regexp-v-flag" | "regexpVFlag" | "no-regexp-y-flag" | "regexp-y-flag" | "regexpYFlag" | "regexpY" | "no-resizable-and-growable-arraybuffers" | "resizable-and-growable-arraybuffers" | "resizableAndGrowableArraybuffers" | "no-rest-parameters" | "rest-parameters" | "restParameters" | "no-rest-spread-properties" | "rest-spread-properties" | "restSpreadProperties" | "no-set" | "set" | "no-shadow-catch-param" | "shadow-catch-param" | "shadowCatchParam" | "no-shared-array-buffer" | "shared-array-buffer" | "sharedArrayBuffer" | "no-spread-elements" | "spread-elements" | "spreadElements" | "no-string-create-html-methods" | "string-create-html-methods" | "stringCreateHtmlMethods" | "no-string-fromcodepoint" | "string-fromcodepoint" | "stringFromcodepoint" | "no-string-prototype-codepointat" | "string-prototype-codepointat" | "stringPrototypeCodepointat" | "no-string-prototype-endswith" | "string-prototype-endswith" | "stringPrototypeEndswith" | "no-string-prototype-includes" | "string-prototype-includes" | "stringPrototypeIncludes" | "no-string-prototype-iswellformed-towellformed" | "string-prototype-iswellformed-towellformed" | "stringPrototypeIswellformedTowellformed" | "no-string-prototype-matchall" | "string-prototype-matchall" | "stringPrototypeMatchall" | "no-string-prototype-normalize" | "string-prototype-normalize" | "stringPrototypeNormalize" | "no-string-prototype-padstart-padend" | "string-prototype-padstart-padend" | "stringPrototypePadstartPadend" | "no-string-prototype-repeat" | "string-prototype-repeat" | "stringPrototypeRepeat" | "no-string-prototype-replaceall" | "string-prototype-replaceall" | "stringPrototypeReplaceall" | "no-string-prototype-startswith" | "string-prototype-startswith" | "stringPrototypeStartswith" | "no-string-prototype-substr" | "string-prototype-substr" | "stringPrototypeSubstr" | "no-string-prototype-trim" | "string-prototype-trim" | "stringPrototypeTrim" | "no-string-prototype-trimleft-trimright" | "string-prototype-trimleft-trimright" | "stringPrototypeTrimleftTrimright" | "no-string-prototype-trimstart-trimend" | "string-prototype-trimstart-trimend" | "stringPrototypeTrimstartTrimend" | "no-string-raw" | "string-raw" | "stringRaw" | "no-subclassing-builtins" | "subclassing-builtins" | "subclassingBuiltins" | "no-symbol-prototype-description" | "symbol-prototype-description" | "symbolPrototypeDescription" | "no-symbol" | "symbol" | "no-template-literals" | "template-literals" | "templateLiterals" | "no-top-level-await" | "top-level-await" | "topLevelAwait" | "no-trailing-commas" | "trailing-commas" | "trailingCommas" | "no-trailing-function-commas" | "trailing-function-commas" | "trailingFunctionCommas" | "trailingCommasInFunctions" | "no-typed-arrays" | "typed-arrays" | "typedArrays" | "no-unicode-codepoint-escapes" | "unicode-codepoint-escapes" | "unicodeCodepointEscapes" | "unicodeCodePointEscapes" | "no-weak-map" | "weak-map" | "weakMap" | "no-weak-set" | "weak-set" | "weakSet" | "no-weakrefs" | "weakrefs")[]
|
|
7155
|
+
}]
|
|
7156
|
+
// ----- node/no-unsupported-features/node-builtins -----
|
|
7157
|
+
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7158
|
+
version?: string
|
|
7159
|
+
allowExperimental?: boolean
|
|
7160
|
+
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" | "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.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.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "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.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" | "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.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.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
7161
|
+
}]
|
|
7162
|
+
// ----- node/prefer-global/buffer -----
|
|
7163
|
+
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
7164
|
+
// ----- node/prefer-global/console -----
|
|
7165
|
+
type NodePreferGlobalConsole = []|[("always" | "never")]
|
|
7166
|
+
// ----- node/prefer-global/process -----
|
|
7167
|
+
type NodePreferGlobalProcess = []|[("always" | "never")]
|
|
7168
|
+
// ----- node/prefer-global/text-decoder -----
|
|
7169
|
+
type NodePreferGlobalTextDecoder = []|[("always" | "never")]
|
|
7170
|
+
// ----- node/prefer-global/text-encoder -----
|
|
7171
|
+
type NodePreferGlobalTextEncoder = []|[("always" | "never")]
|
|
7172
|
+
// ----- node/prefer-global/url -----
|
|
7173
|
+
type NodePreferGlobalUrl = []|[("always" | "never")]
|
|
7174
|
+
// ----- node/prefer-global/url-search-params -----
|
|
7175
|
+
type NodePreferGlobalUrlSearchParams = []|[("always" | "never")]
|
|
7176
|
+
// ----- node/prefer-node-protocol -----
|
|
7177
|
+
type NodePreferNodeProtocol = []|[{
|
|
7178
|
+
version?: string
|
|
7179
|
+
}]
|
|
7180
|
+
// ----- node/shebang -----
|
|
7181
|
+
type NodeShebang = []|[{
|
|
7182
|
+
convertPath?: ({
|
|
7183
|
+
|
|
7184
|
+
[k: string]: [string, string]
|
|
7185
|
+
} | [{
|
|
7186
|
+
|
|
7187
|
+
include: [string, ...(string)[]]
|
|
7188
|
+
exclude?: string[]
|
|
7189
|
+
|
|
7190
|
+
replace: [string, string]
|
|
7191
|
+
}, ...({
|
|
7192
|
+
|
|
7193
|
+
include: [string, ...(string)[]]
|
|
7194
|
+
exclude?: string[]
|
|
7195
|
+
|
|
7196
|
+
replace: [string, string]
|
|
7197
|
+
})[]])
|
|
7198
|
+
ignoreUnpublished?: boolean
|
|
7199
|
+
additionalExecutables?: string[]
|
|
7200
|
+
executableMap?: {
|
|
7201
|
+
[k: string]: string
|
|
7202
|
+
}
|
|
7203
|
+
}]
|
|
6290
7204
|
// ----- nonblock-statement-body-position -----
|
|
6291
7205
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
6292
7206
|
overrides?: {
|
|
@@ -9352,7 +10266,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
9352
10266
|
}]
|
|
9353
10267
|
|
|
9354
10268
|
// Names of all the configs
|
|
9355
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules"
|
|
10269
|
+
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/node/setup" | "zayne/node/recommended" | "zayne/node/rules"
|
|
9356
10270
|
|
|
9357
10271
|
type LiteralUnion<TUnion extends TBase, TBase = string> = TUnion | (TBase & { _ignore?: never });
|
|
9358
10272
|
|
|
@@ -9689,6 +10603,13 @@ interface OptionsRegExp {
|
|
|
9689
10603
|
*/
|
|
9690
10604
|
level?: "error" | "warn";
|
|
9691
10605
|
}
|
|
10606
|
+
interface OptionsNode {
|
|
10607
|
+
/**
|
|
10608
|
+
* Enable eslint-plugin-security
|
|
10609
|
+
* @default false
|
|
10610
|
+
*/
|
|
10611
|
+
security?: boolean;
|
|
10612
|
+
}
|
|
9692
10613
|
interface OptionsConfig extends OptionsComponentExts {
|
|
9693
10614
|
/**
|
|
9694
10615
|
* Enable ASTRO support.
|
|
@@ -9733,10 +10654,15 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
9733
10654
|
/**
|
|
9734
10655
|
* Enable linting for **code snippets** in Markdown.
|
|
9735
10656
|
*
|
|
9736
|
-
* For formatting Markdown content, enable also `formatters.markdown`.
|
|
9737
10657
|
* @default true
|
|
9738
10658
|
*/
|
|
9739
10659
|
markdown?: boolean | OptionsOverrides;
|
|
10660
|
+
/**
|
|
10661
|
+
* Enable linting for node.
|
|
10662
|
+
*
|
|
10663
|
+
* @default true
|
|
10664
|
+
*/
|
|
10665
|
+
node?: (OptionsNode & OptionsOverrides) | boolean;
|
|
9740
10666
|
/**
|
|
9741
10667
|
* Enable `perfectionist` rules.
|
|
9742
10668
|
* @default true
|
|
@@ -9824,7 +10750,7 @@ declare const typescript: (options?: OptionsComponentExts & OptionsFiles & Optio
|
|
|
9824
10750
|
|
|
9825
10751
|
declare const unicorn: (options?: OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
9826
10752
|
|
|
9827
|
-
declare const imports: (options
|
|
10753
|
+
declare const imports: (options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic) => TypedFlatConfigItem[];
|
|
9828
10754
|
|
|
9829
10755
|
declare const perfectionist: (options?: OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
9830
10756
|
|
|
@@ -9857,6 +10783,8 @@ declare const sortPackageJson: () => TypedFlatConfigItem[];
|
|
|
9857
10783
|
*/
|
|
9858
10784
|
declare const sortTsconfig: () => TypedFlatConfigItem[];
|
|
9859
10785
|
|
|
10786
|
+
declare const node: (options?: OptionsNode & OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
10787
|
+
|
|
9860
10788
|
declare const defaultPluginRenaming: {
|
|
9861
10789
|
"@stylistic": string;
|
|
9862
10790
|
"@typescript-eslint": string;
|
|
@@ -9936,8 +10864,8 @@ declare const interopDefault: <TModule>(module: Awaitable<TModule>) => Promise<T
|
|
|
9936
10864
|
* }]
|
|
9937
10865
|
* ```
|
|
9938
10866
|
*/
|
|
9939
|
-
declare const renameRules: (rules: Record<string, unknown
|
|
9940
|
-
declare const renamePlugins: (plugins: Record<string, unknown
|
|
10867
|
+
declare const renameRules: (rules: Record<string, unknown> | undefined, renameMap: Record<string, string>) => TypedFlatConfigItem["rules"];
|
|
10868
|
+
declare const renamePlugins: (plugins: Record<string, unknown> | undefined, renameMap: Record<string, string>) => Record<string, ESLint.Plugin> | undefined;
|
|
9941
10869
|
/**
|
|
9942
10870
|
* Rename plugin names a flat configs array
|
|
9943
10871
|
*
|
|
@@ -9956,4 +10884,4 @@ declare const renamePluginInConfigs: (configs: TypedFlatConfigItem[], renameMap:
|
|
|
9956
10884
|
declare const isPackageInScope: (name: string) => boolean;
|
|
9957
10885
|
declare const ensurePackages: (packages: Array<string | undefined>) => Promise<void>;
|
|
9958
10886
|
|
|
9959
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, zayne as default, defaultPluginRenaming, ensurePackages, eslintReactRenameMap, gitIgnores, ignores, imports, interopDefault, isPackageInScope, javascript, jsdoc, jsonc, perfectionist, react, renamePluginInConfigs, renamePlugins, renameRules, sortPackageJson, sortTsconfig, stylistic, tailwindcss, typescript, unicorn, zayne };
|
|
10887
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsNode, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, zayne as default, defaultPluginRenaming, ensurePackages, eslintReactRenameMap, gitIgnores, ignores, imports, interopDefault, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, react, renamePluginInConfigs, renamePlugins, renameRules, sortPackageJson, sortTsconfig, stylistic, tailwindcss, typescript, unicorn, zayne };
|