@vinicunca/eslint-config 4.10.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +882 -608
- package/dist/index.mjs +47 -130
- package/dist/{lib-D3Kr7UIJ.mjs → lib-BXrNxJq9.mjs} +2878 -2330
- package/package.json +53 -54
package/dist/index.d.mts
CHANGED
|
@@ -22,12 +22,12 @@ interface RuleOptions {
|
|
|
22
22
|
*/
|
|
23
23
|
'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Enforce consistent line breaks for chaining member access
|
|
26
26
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
|
|
27
27
|
*/
|
|
28
28
|
'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Enforce consistent line breaks inside braces and parentheses
|
|
31
31
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
32
32
|
*/
|
|
33
33
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>;
|
|
@@ -53,22 +53,22 @@ interface RuleOptions {
|
|
|
53
53
|
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>;
|
|
54
54
|
/**
|
|
55
55
|
* Prevent importing modules in `dist` folder
|
|
56
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.
|
|
56
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.md
|
|
57
57
|
*/
|
|
58
58
|
'antfu/no-import-dist'?: Linter.RuleEntry<[]>;
|
|
59
59
|
/**
|
|
60
60
|
* Prevent importing modules in `node_modules` folder by relative or absolute path
|
|
61
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.
|
|
61
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.md
|
|
62
62
|
*/
|
|
63
63
|
'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>;
|
|
64
64
|
/**
|
|
65
65
|
* Prevent using top-level await
|
|
66
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.
|
|
66
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.md
|
|
67
67
|
*/
|
|
68
68
|
'antfu/no-top-level-await'?: Linter.RuleEntry<[]>;
|
|
69
69
|
/**
|
|
70
70
|
* Do not use `exports =`
|
|
71
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.
|
|
71
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.md
|
|
72
72
|
*/
|
|
73
73
|
'antfu/no-ts-export-equal'?: Linter.RuleEntry<[]>;
|
|
74
74
|
/**
|
|
@@ -331,6 +331,11 @@ interface RuleOptions {
|
|
|
331
331
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
|
|
332
332
|
*/
|
|
333
333
|
'astro/no-exports-from-components'?: Linter.RuleEntry<[]>;
|
|
334
|
+
/**
|
|
335
|
+
* disallow `prerender` export outside of pages/ directory
|
|
336
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-prerender-export-outside-pages/
|
|
337
|
+
*/
|
|
338
|
+
'astro/no-prerender-export-outside-pages'?: Linter.RuleEntry<[]>;
|
|
334
339
|
/**
|
|
335
340
|
* disallow use of `set:html` to prevent XSS attack
|
|
336
341
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
|
|
@@ -505,8 +510,7 @@ interface RuleOptions {
|
|
|
505
510
|
*/
|
|
506
511
|
'dot-notation'?: Linter.RuleEntry<DotNotation>;
|
|
507
512
|
/**
|
|
508
|
-
*
|
|
509
|
-
* @see https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/ban-dependencies.md
|
|
513
|
+
* Disallow dependencies in favor of more performant or secure alternatives
|
|
510
514
|
*/
|
|
511
515
|
'e18e/ban-dependencies'?: Linter.RuleEntry<E18EBanDependencies>;
|
|
512
516
|
/**
|
|
@@ -1685,6 +1689,11 @@ interface RuleOptions {
|
|
|
1685
1689
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
1686
1690
|
*/
|
|
1687
1691
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Require or disallow metadata for fenced code blocks
|
|
1694
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-meta.md
|
|
1695
|
+
*/
|
|
1696
|
+
'markdown/fenced-code-meta'?: Linter.RuleEntry<MarkdownFencedCodeMeta>;
|
|
1688
1697
|
/**
|
|
1689
1698
|
* Enforce heading levels increment by one
|
|
1690
1699
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
@@ -3063,6 +3072,11 @@ interface RuleOptions {
|
|
|
3063
3072
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
3064
3073
|
*/
|
|
3065
3074
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>;
|
|
3075
|
+
/**
|
|
3076
|
+
* Enforce sorted arrays.
|
|
3077
|
+
* @see https://perfectionist.dev/rules/sort-arrays
|
|
3078
|
+
*/
|
|
3079
|
+
'perfectionist/sort-arrays'?: Linter.RuleEntry<PerfectionistSortArrays>;
|
|
3066
3080
|
/**
|
|
3067
3081
|
* Enforce sorted classes.
|
|
3068
3082
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
@@ -3296,601 +3310,702 @@ interface RuleOptions {
|
|
|
3296
3310
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
3297
3311
|
*/
|
|
3298
3312
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
3313
|
+
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
|
|
3299
3314
|
/**
|
|
3300
3315
|
* Disallows DOM elements from using 'dangerouslySetInnerHTML'.
|
|
3301
3316
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
3302
3317
|
*/
|
|
3303
|
-
'react-
|
|
3318
|
+
'react/dom-no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>;
|
|
3304
3319
|
/**
|
|
3305
3320
|
* Disallows DOM elements from using 'dangerouslySetInnerHTML' and 'children' at the same time.
|
|
3306
3321
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
|
|
3307
3322
|
*/
|
|
3308
|
-
'react-
|
|
3323
|
+
'react/dom-no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>;
|
|
3309
3324
|
/**
|
|
3310
3325
|
* Disallows 'findDOMNode'.
|
|
3311
3326
|
* @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
|
|
3312
3327
|
*/
|
|
3313
|
-
'react-
|
|
3328
|
+
'react/dom-no-find-dom-node'?: Linter.RuleEntry<[]>;
|
|
3314
3329
|
/**
|
|
3315
3330
|
* Disallows 'flushSync'.
|
|
3316
3331
|
* @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
|
|
3317
3332
|
*/
|
|
3318
|
-
'react-
|
|
3333
|
+
'react/dom-no-flush-sync'?: Linter.RuleEntry<[]>;
|
|
3319
3334
|
/**
|
|
3320
3335
|
* Replaces usage of 'ReactDOM.hydrate()' with 'hydrateRoot()'.
|
|
3321
3336
|
* @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
|
|
3322
3337
|
*/
|
|
3323
|
-
'react-
|
|
3338
|
+
'react/dom-no-hydrate'?: Linter.RuleEntry<[]>;
|
|
3324
3339
|
/**
|
|
3325
3340
|
* Enforces an explicit 'type' attribute for 'button' elements.
|
|
3326
3341
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
|
|
3327
3342
|
*/
|
|
3328
|
-
'react-
|
|
3343
|
+
'react/dom-no-missing-button-type'?: Linter.RuleEntry<[]>;
|
|
3329
3344
|
/**
|
|
3330
3345
|
* Enforces an explicit 'sandbox' attribute for 'iframe' elements.
|
|
3331
3346
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
|
|
3332
3347
|
*/
|
|
3333
|
-
'react-
|
|
3334
|
-
/**
|
|
3335
|
-
* Enforces the absence of a 'namespace' in React elements.
|
|
3336
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-namespace
|
|
3337
|
-
*/
|
|
3338
|
-
'react-dom/no-namespace'?: Linter.RuleEntry<[]>;
|
|
3348
|
+
'react/dom-no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
3339
3349
|
/**
|
|
3340
3350
|
* Replaces usage of 'ReactDOM.render()' with 'createRoot(node).render()'.
|
|
3341
3351
|
* @see https://eslint-react.xyz/docs/rules/dom-no-render
|
|
3342
3352
|
*/
|
|
3343
|
-
'react-
|
|
3353
|
+
'react/dom-no-render'?: Linter.RuleEntry<[]>;
|
|
3344
3354
|
/**
|
|
3345
3355
|
* Disallows the return value of 'ReactDOM.render'.
|
|
3346
3356
|
* @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
|
|
3347
3357
|
*/
|
|
3348
|
-
'react-
|
|
3358
|
+
'react/dom-no-render-return-value'?: Linter.RuleEntry<[]>;
|
|
3349
3359
|
/**
|
|
3350
3360
|
* Disallows 'javascript:' URLs as attribute values.
|
|
3351
3361
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
3352
3362
|
*/
|
|
3353
|
-
'react-
|
|
3363
|
+
'react/dom-no-script-url'?: Linter.RuleEntry<[]>;
|
|
3354
3364
|
/**
|
|
3355
3365
|
* Disallows the use of string style prop in JSX. Use an object instead.
|
|
3356
3366
|
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
3357
3367
|
*/
|
|
3358
|
-
'react-
|
|
3368
|
+
'react/dom-no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
3359
3369
|
/**
|
|
3360
3370
|
* Disallows unknown 'DOM' properties.
|
|
3361
3371
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
3362
3372
|
*/
|
|
3363
|
-
'react-
|
|
3373
|
+
'react/dom-no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>;
|
|
3364
3374
|
/**
|
|
3365
3375
|
* Enforces that the 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
|
|
3366
3376
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
3367
3377
|
*/
|
|
3368
|
-
'react-
|
|
3378
|
+
'react/dom-no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
3369
3379
|
/**
|
|
3370
3380
|
* Disallows 'target="_blank"' without 'rel="noreferrer noopener"'.
|
|
3371
3381
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
3372
3382
|
*/
|
|
3373
|
-
'react-
|
|
3383
|
+
'react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<[]>;
|
|
3374
3384
|
/**
|
|
3375
3385
|
* Replaces usage of 'useFormState' with 'useActionState'.
|
|
3376
3386
|
* @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
|
|
3377
3387
|
*/
|
|
3378
|
-
'react-
|
|
3388
|
+
'react/dom-no-use-form-state'?: Linter.RuleEntry<[]>;
|
|
3379
3389
|
/**
|
|
3380
3390
|
* Disallows 'children' in void DOM elements.
|
|
3381
3391
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3382
3392
|
*/
|
|
3383
|
-
'react-
|
|
3393
|
+
'react/dom-no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
3384
3394
|
/**
|
|
3385
|
-
*
|
|
3386
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3395
|
+
* Validates usage of Error Boundaries instead of try/catch for errors in child components.
|
|
3396
|
+
* @see https://eslint-react.xyz/docs/rules/error-boundaries
|
|
3387
3397
|
*/
|
|
3388
|
-
'react
|
|
3398
|
+
'react/error-boundaries'?: Linter.RuleEntry<[]>;
|
|
3389
3399
|
/**
|
|
3390
|
-
*
|
|
3391
|
-
* @see https://
|
|
3400
|
+
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
3401
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
3392
3402
|
*/
|
|
3393
|
-
'react
|
|
3403
|
+
'react/exhaustive-deps'?: Linter.RuleEntry<ReactExhaustiveDeps>;
|
|
3394
3404
|
/**
|
|
3395
|
-
*
|
|
3405
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that side effects must run outside of render.
|
|
3406
|
+
* @see https://eslint-react.xyz/docs/rules/globals
|
|
3396
3407
|
*/
|
|
3397
|
-
'react
|
|
3408
|
+
'react/globals'?: Linter.RuleEntry<[]>;
|
|
3398
3409
|
/**
|
|
3399
|
-
* Validates against
|
|
3410
|
+
* Validates against mutating props, state, and other values that are immutable.
|
|
3411
|
+
* @see https://eslint-react.xyz/docs/rules/immutability
|
|
3400
3412
|
*/
|
|
3401
|
-
'react
|
|
3413
|
+
'react/immutability'?: Linter.RuleEntry<[]>;
|
|
3402
3414
|
/**
|
|
3403
|
-
*
|
|
3415
|
+
* Disallows passing 'children' as a prop.
|
|
3416
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
3404
3417
|
*/
|
|
3405
|
-
'react
|
|
3418
|
+
'react/jsx-no-children-prop'?: Linter.RuleEntry<[]>;
|
|
3406
3419
|
/**
|
|
3407
|
-
*
|
|
3420
|
+
* Disallows passing 'children' as a prop when children are also passed as nested content.
|
|
3421
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-prop-with-children
|
|
3408
3422
|
*/
|
|
3409
|
-
'react-
|
|
3423
|
+
'react/jsx-no-children-prop-with-children'?: Linter.RuleEntry<[]>;
|
|
3410
3424
|
/**
|
|
3411
|
-
*
|
|
3425
|
+
* Prevents comment strings from being accidentally inserted into a JSX element's text nodes.
|
|
3426
|
+
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
3412
3427
|
*/
|
|
3413
|
-
'react
|
|
3428
|
+
'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
3414
3429
|
/**
|
|
3415
|
-
*
|
|
3416
|
-
* @see https://
|
|
3430
|
+
* Prevent patterns that cause deoptimization when using the automatic JSX runtime.
|
|
3431
|
+
* @see https://eslint-react.xyz/docs/rules/no-key-after-spread
|
|
3417
3432
|
*/
|
|
3418
|
-
'react
|
|
3433
|
+
'react/jsx-no-key-after-spread'?: Linter.RuleEntry<[]>;
|
|
3419
3434
|
/**
|
|
3420
|
-
*
|
|
3435
|
+
* Catches `$` before `{expr}` in JSX — typically from template literal `${expr}` being copy-pasted into JSX without removing the `$`. The `$` "leaks" into the rendered output.
|
|
3436
|
+
* @see https://eslint-react.xyz/docs/rules/no-leaked-dollar
|
|
3421
3437
|
*/
|
|
3422
|
-
'react-
|
|
3438
|
+
'react/jsx-no-leaked-dollar'?: Linter.RuleEntry<[]>;
|
|
3423
3439
|
/**
|
|
3424
|
-
*
|
|
3440
|
+
* Catches `;` at the start of JSX text nodes — typically from accidentally placing a statement-ending `;` inside JSX. The `;` "leaks" into the rendered output.
|
|
3441
|
+
* @see https://eslint-react.xyz/docs/rules/no-leaked-semicolon
|
|
3425
3442
|
*/
|
|
3426
|
-
'react-
|
|
3443
|
+
'react/jsx-no-leaked-semicolon'?: Linter.RuleEntry<[]>;
|
|
3427
3444
|
/**
|
|
3428
|
-
*
|
|
3445
|
+
* Disallow JSX namespace syntax, as React does not support them.
|
|
3446
|
+
* @see https://eslint-react.xyz/docs/rules/no-namespace
|
|
3429
3447
|
*/
|
|
3430
|
-
'react-
|
|
3448
|
+
'react/jsx-no-namespace'?: Linter.RuleEntry<[]>;
|
|
3431
3449
|
/**
|
|
3432
|
-
*
|
|
3450
|
+
* Disallows useless fragment elements.
|
|
3451
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3433
3452
|
*/
|
|
3434
|
-
'react-
|
|
3453
|
+
'react/jsx-no-useless-fragment'?: Linter.RuleEntry<ReactJsxNoUselessFragment>;
|
|
3435
3454
|
/**
|
|
3436
|
-
*
|
|
3455
|
+
* Enforces the context name to be a valid component name with the suffix 'Context'.
|
|
3456
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
3437
3457
|
*/
|
|
3438
|
-
'react-
|
|
3458
|
+
'react/naming-convention-context-name'?: Linter.RuleEntry<[]>;
|
|
3439
3459
|
/**
|
|
3440
|
-
*
|
|
3460
|
+
* Enforces identifier names assigned from 'useId' calls to be either 'id' or end with 'Id'.
|
|
3461
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-id-name
|
|
3441
3462
|
*/
|
|
3442
|
-
'react-
|
|
3463
|
+
'react/naming-convention-id-name'?: Linter.RuleEntry<[]>;
|
|
3443
3464
|
/**
|
|
3444
|
-
*
|
|
3465
|
+
* Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
|
|
3466
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
|
|
3445
3467
|
*/
|
|
3446
|
-
'react
|
|
3468
|
+
'react/naming-convention-ref-name'?: Linter.RuleEntry<[]>;
|
|
3447
3469
|
/**
|
|
3448
|
-
*
|
|
3470
|
+
* Disallows accessing 'this.state' inside 'setState' calls.
|
|
3471
|
+
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
3449
3472
|
*/
|
|
3450
|
-
'react-
|
|
3473
|
+
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
|
|
3451
3474
|
/**
|
|
3452
|
-
*
|
|
3475
|
+
* Disallows using an item's index in the array as its key.
|
|
3476
|
+
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
3453
3477
|
*/
|
|
3454
|
-
'react
|
|
3478
|
+
'react/no-array-index-key'?: Linter.RuleEntry<[]>;
|
|
3455
3479
|
/**
|
|
3456
|
-
*
|
|
3480
|
+
* Disallows the use of 'Children.count' from the 'react' package.
|
|
3481
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
3457
3482
|
*/
|
|
3458
|
-
'react
|
|
3483
|
+
'react/no-children-count'?: Linter.RuleEntry<[]>;
|
|
3459
3484
|
/**
|
|
3460
|
-
*
|
|
3485
|
+
* Disallows the use of 'Children.forEach' from the 'react' package.
|
|
3486
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
3461
3487
|
*/
|
|
3462
|
-
'react
|
|
3488
|
+
'react/no-children-for-each'?: Linter.RuleEntry<[]>;
|
|
3463
3489
|
/**
|
|
3464
|
-
*
|
|
3490
|
+
* Disallows the use of 'Children.map' from the 'react' package.
|
|
3491
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
3465
3492
|
*/
|
|
3466
|
-
'react-
|
|
3493
|
+
'react/no-children-map'?: Linter.RuleEntry<[]>;
|
|
3467
3494
|
/**
|
|
3468
|
-
*
|
|
3495
|
+
* Disallows the use of 'Children.only' from the 'react' package.
|
|
3496
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
3469
3497
|
*/
|
|
3470
|
-
'react-
|
|
3498
|
+
'react/no-children-only'?: Linter.RuleEntry<[]>;
|
|
3471
3499
|
/**
|
|
3472
|
-
*
|
|
3500
|
+
* Disallows the use of 'Children.toArray' from the 'react' package.
|
|
3501
|
+
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
3473
3502
|
*/
|
|
3474
|
-
'react
|
|
3503
|
+
'react/no-children-to-array'?: Linter.RuleEntry<[]>;
|
|
3475
3504
|
/**
|
|
3476
|
-
*
|
|
3477
|
-
* @see https://react.
|
|
3505
|
+
* Disallows class components except for error boundaries.
|
|
3506
|
+
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
3478
3507
|
*/
|
|
3479
|
-
'react
|
|
3508
|
+
'react/no-class-component'?: Linter.RuleEntry<[]>;
|
|
3480
3509
|
/**
|
|
3481
|
-
*
|
|
3510
|
+
* Disallows 'cloneElement'.
|
|
3511
|
+
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
3482
3512
|
*/
|
|
3483
|
-
'react
|
|
3513
|
+
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3484
3514
|
/**
|
|
3485
|
-
*
|
|
3515
|
+
* Replaces usage of 'componentWillMount' with 'UNSAFE_componentWillMount'.
|
|
3516
|
+
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
3486
3517
|
*/
|
|
3487
|
-
'react
|
|
3518
|
+
'react/no-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3488
3519
|
/**
|
|
3489
|
-
*
|
|
3520
|
+
* Replaces usage of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'.
|
|
3521
|
+
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
3490
3522
|
*/
|
|
3491
|
-
'react
|
|
3523
|
+
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3492
3524
|
/**
|
|
3493
|
-
*
|
|
3525
|
+
* Replaces usage of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'.
|
|
3526
|
+
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3494
3527
|
*/
|
|
3495
|
-
'react-
|
|
3528
|
+
'react/no-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3496
3529
|
/**
|
|
3497
|
-
*
|
|
3530
|
+
* Replaces usage of '<Context.Provider>' with '<Context>'.
|
|
3531
|
+
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3498
3532
|
*/
|
|
3499
|
-
'react-
|
|
3533
|
+
'react/no-context-provider'?: Linter.RuleEntry<[]>;
|
|
3500
3534
|
/**
|
|
3501
|
-
*
|
|
3535
|
+
* Disallows 'createRef' in function components.
|
|
3536
|
+
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
3502
3537
|
*/
|
|
3503
|
-
'react
|
|
3538
|
+
'react/no-create-ref'?: Linter.RuleEntry<[]>;
|
|
3504
3539
|
/**
|
|
3505
|
-
*
|
|
3540
|
+
* Disallows direct mutation of 'this.state'.
|
|
3541
|
+
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3506
3542
|
*/
|
|
3507
|
-
'react
|
|
3543
|
+
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3508
3544
|
/**
|
|
3509
|
-
*
|
|
3545
|
+
* Prevents duplicate 'key' props on sibling elements when rendering lists.
|
|
3546
|
+
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3510
3547
|
*/
|
|
3511
|
-
'react
|
|
3548
|
+
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3512
3549
|
/**
|
|
3513
|
-
*
|
|
3514
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3550
|
+
* Replaces usage of 'forwardRef' with passing 'ref' as a prop.
|
|
3551
|
+
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3515
3552
|
*/
|
|
3516
|
-
'react-
|
|
3553
|
+
'react/no-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3517
3554
|
/**
|
|
3518
|
-
*
|
|
3519
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3555
|
+
* Prevents implicitly passing the 'children' prop to components.
|
|
3556
|
+
* @see https://eslint-react.xyz/docs/rules/no-implicit-children
|
|
3520
3557
|
*/
|
|
3521
|
-
'react-
|
|
3558
|
+
'react/no-implicit-children'?: Linter.RuleEntry<[]>;
|
|
3522
3559
|
/**
|
|
3523
|
-
*
|
|
3524
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3560
|
+
* Prevents implicitly passing the 'key' prop to components.
|
|
3561
|
+
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
3525
3562
|
*/
|
|
3526
|
-
'react-
|
|
3563
|
+
'react/no-implicit-key'?: Linter.RuleEntry<[]>;
|
|
3527
3564
|
/**
|
|
3528
|
-
*
|
|
3529
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3565
|
+
* Prevents implicitly passing the 'ref' prop to components.
|
|
3566
|
+
* @see https://eslint-react.xyz/docs/rules/no-implicit-ref
|
|
3530
3567
|
*/
|
|
3531
|
-
'react-
|
|
3568
|
+
'react/no-implicit-ref'?: Linter.RuleEntry<[]>;
|
|
3532
3569
|
/**
|
|
3533
|
-
*
|
|
3534
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3570
|
+
* Prevents problematic leaked values from being rendered.
|
|
3571
|
+
* @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
|
|
3535
3572
|
*/
|
|
3536
|
-
'react-
|
|
3573
|
+
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3537
3574
|
/**
|
|
3538
|
-
* Enforces
|
|
3539
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3575
|
+
* Enforces that all components have a 'displayName' that can be used in DevTools.
|
|
3576
|
+
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
3540
3577
|
*/
|
|
3541
|
-
'react-
|
|
3578
|
+
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
3542
3579
|
/**
|
|
3543
|
-
* Enforces
|
|
3544
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3580
|
+
* Enforces that all contexts have a 'displayName' that can be used in DevTools.
|
|
3581
|
+
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
3545
3582
|
*/
|
|
3546
|
-
'react-
|
|
3547
|
-
|
|
3583
|
+
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
|
|
3584
|
+
/**
|
|
3585
|
+
* Disallows missing 'key' on items in list rendering.
|
|
3586
|
+
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
3587
|
+
*/
|
|
3588
|
+
'react/no-missing-key'?: Linter.RuleEntry<[]>;
|
|
3589
|
+
/**
|
|
3590
|
+
* Prevents incorrect usage of 'captureOwnerStack'.
|
|
3591
|
+
* @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
|
|
3592
|
+
*/
|
|
3593
|
+
'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
|
|
3594
|
+
/**
|
|
3595
|
+
* Disallows nesting component definitions inside other components.
|
|
3596
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3597
|
+
*/
|
|
3598
|
+
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3599
|
+
/**
|
|
3600
|
+
* Disallows nesting lazy component declarations inside other components or hooks.
|
|
3601
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
3602
|
+
*/
|
|
3603
|
+
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
|
|
3606
|
+
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
3607
|
+
*/
|
|
3608
|
+
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
|
|
3609
|
+
/**
|
|
3610
|
+
* Disallows calling 'this.setState' in 'componentDidUpdate' outside functions such as callbacks.
|
|
3611
|
+
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
3612
|
+
*/
|
|
3613
|
+
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3614
|
+
/**
|
|
3615
|
+
* Disallows calling 'this.setState' in 'componentWillUpdate' outside functions such as callbacks.
|
|
3616
|
+
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
3617
|
+
*/
|
|
3618
|
+
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3619
|
+
/**
|
|
3620
|
+
* Enforces that a function with the 'use' prefix uses at least one Hook inside it.
|
|
3621
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3622
|
+
*/
|
|
3623
|
+
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3624
|
+
/**
|
|
3625
|
+
* Warns about the use of 'UNSAFE_componentWillMount' in class components.
|
|
3626
|
+
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
3627
|
+
*/
|
|
3628
|
+
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3629
|
+
/**
|
|
3630
|
+
* Warns about the use of 'UNSAFE_componentWillReceiveProps' in class components.
|
|
3631
|
+
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
3632
|
+
*/
|
|
3633
|
+
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3634
|
+
/**
|
|
3635
|
+
* Warns about the use of 'UNSAFE_componentWillUpdate' in class components.
|
|
3636
|
+
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
3637
|
+
*/
|
|
3638
|
+
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3639
|
+
/**
|
|
3640
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
3641
|
+
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
3642
|
+
*/
|
|
3643
|
+
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
3644
|
+
/**
|
|
3645
|
+
* Prevents using referential-type values as default props in object destructuring.
|
|
3646
|
+
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
3647
|
+
*/
|
|
3648
|
+
'react/no-unstable-default-props'?: Linter.RuleEntry<ReactNoUnstableDefaultProps>;
|
|
3649
|
+
/**
|
|
3650
|
+
* Warns about unused class component methods and properties.
|
|
3651
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
3652
|
+
*/
|
|
3653
|
+
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3654
|
+
/**
|
|
3655
|
+
* Warns about component props that are defined but never used.
|
|
3656
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3657
|
+
*/
|
|
3658
|
+
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
3659
|
+
/**
|
|
3660
|
+
* Warns about state variables that are defined but never used, or only used in effects.
|
|
3661
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
3662
|
+
*/
|
|
3663
|
+
'react/no-unused-state'?: Linter.RuleEntry<[]>;
|
|
3664
|
+
/**
|
|
3665
|
+
* Replaces usage of 'useContext' with 'use'.
|
|
3666
|
+
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3667
|
+
*/
|
|
3668
|
+
'react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
3669
|
+
/**
|
|
3670
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
3671
|
+
* @see https://eslint-react.xyz/docs/rules/purity
|
|
3672
|
+
*/
|
|
3673
|
+
'react/purity'?: Linter.RuleEntry<[]>;
|
|
3674
|
+
/**
|
|
3675
|
+
* Validates correct usage of refs by checking that 'ref.current' is not read or written during render.
|
|
3676
|
+
* @see https://eslint-react.xyz/docs/rules/refs
|
|
3677
|
+
*/
|
|
3678
|
+
'react/refs'?: Linter.RuleEntry<[]>;
|
|
3548
3679
|
/**
|
|
3549
|
-
*
|
|
3680
|
+
* Validates and transforms React Client/Server Function definitions.
|
|
3550
3681
|
* @see https://eslint-react.xyz/docs/rules/function-definition
|
|
3551
3682
|
*/
|
|
3552
|
-
'react-
|
|
3683
|
+
'react/rsc-function-definition'?: Linter.RuleEntry<[]>;
|
|
3553
3684
|
/**
|
|
3554
|
-
* Enforces
|
|
3555
|
-
* @see https://
|
|
3685
|
+
* Enforces the Rules of Hooks.
|
|
3686
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
3556
3687
|
*/
|
|
3557
|
-
'react
|
|
3688
|
+
'react/rules-of-hooks'?: Linter.RuleEntry<ReactRulesOfHooks>;
|
|
3558
3689
|
/**
|
|
3559
|
-
*
|
|
3560
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3690
|
+
* Validates against setting state synchronously in an effect, which can lead to re-renders that degrade performance.
|
|
3691
|
+
* @see https://eslint-react.xyz/docs/rules/set-state-in-effect
|
|
3561
3692
|
*/
|
|
3562
|
-
'react-
|
|
3693
|
+
'react/set-state-in-effect'?: Linter.RuleEntry<[]>;
|
|
3563
3694
|
/**
|
|
3564
|
-
*
|
|
3565
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3695
|
+
* Validates against unconditionally setting state during render, which can trigger additional renders and potential infinite render loops.
|
|
3696
|
+
* @see https://eslint-react.xyz/docs/rules/set-state-in-render
|
|
3566
3697
|
*/
|
|
3567
|
-
'react
|
|
3698
|
+
'react/set-state-in-render'?: Linter.RuleEntry<[]>;
|
|
3568
3699
|
/**
|
|
3569
|
-
*
|
|
3570
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3700
|
+
* Validates that components are static, not recreated every render.
|
|
3701
|
+
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
3571
3702
|
*/
|
|
3572
|
-
'react
|
|
3703
|
+
'react/static-components'?: Linter.RuleEntry<[]>;
|
|
3573
3704
|
/**
|
|
3574
|
-
*
|
|
3575
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3705
|
+
* Validates against syntax that React Compiler does not support.
|
|
3706
|
+
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
3576
3707
|
*/
|
|
3577
|
-
'react/
|
|
3708
|
+
'react/unsupported-syntax'?: Linter.RuleEntry<[]>;
|
|
3578
3709
|
/**
|
|
3579
|
-
*
|
|
3580
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3710
|
+
* Validates that 'useMemo' is called with a callback that returns a value.
|
|
3711
|
+
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
3581
3712
|
*/
|
|
3582
|
-
'react/
|
|
3713
|
+
'react/use-memo'?: Linter.RuleEntry<[]>;
|
|
3583
3714
|
/**
|
|
3584
|
-
*
|
|
3585
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3715
|
+
* Enforces correct usage of 'useState', including destructuring, symmetric naming of the value and setter, and wrapping expensive initializers in a lazy initializer function.
|
|
3716
|
+
* @see https://eslint-react.xyz/docs/rules/use-state
|
|
3586
3717
|
*/
|
|
3587
|
-
'react/
|
|
3718
|
+
'react/use-state'?: Linter.RuleEntry<ReactUseState>;
|
|
3719
|
+
/**
|
|
3720
|
+
* Enforces that every 'addEventListener' in a component or custom hook has a corresponding 'removeEventListener'.
|
|
3721
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
|
|
3722
|
+
*/
|
|
3723
|
+
'react/web-api-no-leaked-event-listener'?: Linter.RuleEntry<[]>;
|
|
3724
|
+
/**
|
|
3725
|
+
* Enforces that every 'fetch' in a component or custom hook has a corresponding 'AbortController' abort in the cleanup function.
|
|
3726
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-fetch
|
|
3727
|
+
*/
|
|
3728
|
+
'react/web-api-no-leaked-fetch'?: Linter.RuleEntry<[]>;
|
|
3588
3729
|
/**
|
|
3589
|
-
*
|
|
3590
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3730
|
+
* Enforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
|
|
3731
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
3591
3732
|
*/
|
|
3592
|
-
'react/
|
|
3733
|
+
'react/web-api-no-leaked-interval'?: Linter.RuleEntry<[]>;
|
|
3593
3734
|
/**
|
|
3594
|
-
*
|
|
3595
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3735
|
+
* Enforces that every 'ResizeObserver' created in a component or custom hook has a corresponding 'ResizeObserver.disconnect()'.
|
|
3736
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
|
|
3596
3737
|
*/
|
|
3597
|
-
'react/
|
|
3738
|
+
'react/web-api-no-leaked-resize-observer'?: Linter.RuleEntry<[]>;
|
|
3598
3739
|
/**
|
|
3599
|
-
*
|
|
3600
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3740
|
+
* Enforces that every 'setTimeout' in a component or custom hook has a corresponding 'clearTimeout'.
|
|
3741
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
3601
3742
|
*/
|
|
3602
|
-
'react/
|
|
3743
|
+
'react/web-api-no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
3603
3744
|
/**
|
|
3604
|
-
*
|
|
3605
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3745
|
+
* Validates usage of Error Boundaries instead of try/catch for errors in child components.
|
|
3746
|
+
* @see https://eslint-react.xyz/docs/rules/error-boundaries
|
|
3606
3747
|
*/
|
|
3607
|
-
'react/
|
|
3748
|
+
'react/x-error-boundaries'?: Linter.RuleEntry<[]>;
|
|
3608
3749
|
/**
|
|
3609
|
-
*
|
|
3610
|
-
* @see https://
|
|
3750
|
+
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
3751
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
3611
3752
|
*/
|
|
3612
|
-
'react/
|
|
3753
|
+
'react/x-exhaustive-deps'?: Linter.RuleEntry<ReactXExhaustiveDeps>;
|
|
3613
3754
|
/**
|
|
3614
|
-
*
|
|
3615
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3755
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that side effects must run outside of render.
|
|
3756
|
+
* @see https://eslint-react.xyz/docs/rules/globals
|
|
3616
3757
|
*/
|
|
3617
|
-
'react/
|
|
3758
|
+
'react/x-globals'?: Linter.RuleEntry<[]>;
|
|
3618
3759
|
/**
|
|
3619
|
-
*
|
|
3620
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3760
|
+
* Validates against mutating props, state, and other values that are immutable.
|
|
3761
|
+
* @see https://eslint-react.xyz/docs/rules/immutability
|
|
3621
3762
|
*/
|
|
3622
|
-
'react/
|
|
3763
|
+
'react/x-immutability'?: Linter.RuleEntry<[]>;
|
|
3623
3764
|
/**
|
|
3624
3765
|
* Disallows accessing 'this.state' inside 'setState' calls.
|
|
3625
3766
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
3626
3767
|
*/
|
|
3627
|
-
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
|
|
3768
|
+
'react/x-no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
|
|
3628
3769
|
/**
|
|
3629
3770
|
* Disallows using an item's index in the array as its key.
|
|
3630
3771
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
3631
3772
|
*/
|
|
3632
|
-
'react/no-array-index-key'?: Linter.RuleEntry<[]>;
|
|
3773
|
+
'react/x-no-array-index-key'?: Linter.RuleEntry<[]>;
|
|
3633
3774
|
/**
|
|
3634
3775
|
* Disallows the use of 'Children.count' from the 'react' package.
|
|
3635
3776
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
3636
3777
|
*/
|
|
3637
|
-
'react/no-children-count'?: Linter.RuleEntry<[]>;
|
|
3778
|
+
'react/x-no-children-count'?: Linter.RuleEntry<[]>;
|
|
3638
3779
|
/**
|
|
3639
3780
|
* Disallows the use of 'Children.forEach' from the 'react' package.
|
|
3640
3781
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
3641
3782
|
*/
|
|
3642
|
-
'react/no-children-for-each'?: Linter.RuleEntry<[]>;
|
|
3783
|
+
'react/x-no-children-for-each'?: Linter.RuleEntry<[]>;
|
|
3643
3784
|
/**
|
|
3644
3785
|
* Disallows the use of 'Children.map' from the 'react' package.
|
|
3645
3786
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
3646
3787
|
*/
|
|
3647
|
-
'react/no-children-map'?: Linter.RuleEntry<[]>;
|
|
3788
|
+
'react/x-no-children-map'?: Linter.RuleEntry<[]>;
|
|
3648
3789
|
/**
|
|
3649
3790
|
* Disallows the use of 'Children.only' from the 'react' package.
|
|
3650
3791
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
3651
3792
|
*/
|
|
3652
|
-
'react/no-children-only'?: Linter.RuleEntry<[]>;
|
|
3653
|
-
/**
|
|
3654
|
-
* Disallows passing 'children' as a prop.
|
|
3655
|
-
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
3656
|
-
*/
|
|
3657
|
-
'react/no-children-prop'?: Linter.RuleEntry<[]>;
|
|
3793
|
+
'react/x-no-children-only'?: Linter.RuleEntry<[]>;
|
|
3658
3794
|
/**
|
|
3659
3795
|
* Disallows the use of 'Children.toArray' from the 'react' package.
|
|
3660
3796
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
3661
3797
|
*/
|
|
3662
|
-
'react/no-children-to-array'?: Linter.RuleEntry<[]>;
|
|
3798
|
+
'react/x-no-children-to-array'?: Linter.RuleEntry<[]>;
|
|
3663
3799
|
/**
|
|
3664
3800
|
* Disallows class components except for error boundaries.
|
|
3665
3801
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
3666
3802
|
*/
|
|
3667
|
-
'react/no-class-component'?: Linter.RuleEntry<[]>;
|
|
3803
|
+
'react/x-no-class-component'?: Linter.RuleEntry<[]>;
|
|
3668
3804
|
/**
|
|
3669
3805
|
* Disallows 'cloneElement'.
|
|
3670
3806
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
3671
3807
|
*/
|
|
3672
|
-
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3808
|
+
'react/x-no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3673
3809
|
/**
|
|
3674
3810
|
* Replaces usage of 'componentWillMount' with 'UNSAFE_componentWillMount'.
|
|
3675
3811
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
3676
3812
|
*/
|
|
3677
|
-
'react/no-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3813
|
+
'react/x-no-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3678
3814
|
/**
|
|
3679
3815
|
* Replaces usage of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'.
|
|
3680
3816
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
3681
3817
|
*/
|
|
3682
|
-
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3818
|
+
'react/x-no-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3683
3819
|
/**
|
|
3684
3820
|
* Replaces usage of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'.
|
|
3685
3821
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3686
3822
|
*/
|
|
3687
|
-
'react/no-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3823
|
+
'react/x-no-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3688
3824
|
/**
|
|
3689
3825
|
* Replaces usage of '<Context.Provider>' with '<Context>'.
|
|
3690
3826
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3691
3827
|
*/
|
|
3692
|
-
'react/no-context-provider'?: Linter.RuleEntry<[]>;
|
|
3828
|
+
'react/x-no-context-provider'?: Linter.RuleEntry<[]>;
|
|
3693
3829
|
/**
|
|
3694
3830
|
* Disallows 'createRef' in function components.
|
|
3695
3831
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
3696
3832
|
*/
|
|
3697
|
-
'react/no-create-ref'?: Linter.RuleEntry<[]>;
|
|
3698
|
-
/**
|
|
3699
|
-
* Disallows the 'defaultProps' property in favor of ES6 default parameters.
|
|
3700
|
-
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
3701
|
-
*/
|
|
3702
|
-
'react/no-default-props'?: Linter.RuleEntry<[]>;
|
|
3833
|
+
'react/x-no-create-ref'?: Linter.RuleEntry<[]>;
|
|
3703
3834
|
/**
|
|
3704
3835
|
* Disallows direct mutation of 'this.state'.
|
|
3705
3836
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3706
3837
|
*/
|
|
3707
|
-
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3838
|
+
'react/x-no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3708
3839
|
/**
|
|
3709
3840
|
* Prevents duplicate 'key' props on sibling elements when rendering lists.
|
|
3710
3841
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3711
3842
|
*/
|
|
3712
|
-
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3713
|
-
/**
|
|
3714
|
-
* Disallows certain props on components.
|
|
3715
|
-
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
3716
|
-
* @deprecated
|
|
3717
|
-
*/
|
|
3718
|
-
'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
|
|
3843
|
+
'react/x-no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3719
3844
|
/**
|
|
3720
3845
|
* Replaces usage of 'forwardRef' with passing 'ref' as a prop.
|
|
3721
3846
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3722
3847
|
*/
|
|
3723
|
-
'react/no-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3848
|
+
'react/x-no-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3849
|
+
/**
|
|
3850
|
+
* Prevents implicitly passing the 'children' prop to components.
|
|
3851
|
+
* @see https://eslint-react.xyz/docs/rules/no-implicit-children
|
|
3852
|
+
*/
|
|
3853
|
+
'react/x-no-implicit-children'?: Linter.RuleEntry<[]>;
|
|
3724
3854
|
/**
|
|
3725
3855
|
* Prevents implicitly passing the 'key' prop to components.
|
|
3726
3856
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
3727
3857
|
*/
|
|
3728
|
-
'react/no-implicit-key'?: Linter.RuleEntry<[]>;
|
|
3858
|
+
'react/x-no-implicit-key'?: Linter.RuleEntry<[]>;
|
|
3859
|
+
/**
|
|
3860
|
+
* Prevents implicitly passing the 'ref' prop to components.
|
|
3861
|
+
* @see https://eslint-react.xyz/docs/rules/no-implicit-ref
|
|
3862
|
+
*/
|
|
3863
|
+
'react/x-no-implicit-ref'?: Linter.RuleEntry<[]>;
|
|
3729
3864
|
/**
|
|
3730
3865
|
* Prevents problematic leaked values from being rendered.
|
|
3731
3866
|
* @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
|
|
3732
3867
|
*/
|
|
3733
|
-
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3868
|
+
'react/x-no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3734
3869
|
/**
|
|
3735
3870
|
* Enforces that all components have a 'displayName' that can be used in DevTools.
|
|
3736
3871
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
3737
3872
|
*/
|
|
3738
|
-
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
3873
|
+
'react/x-no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
3739
3874
|
/**
|
|
3740
3875
|
* Enforces that all contexts have a 'displayName' that can be used in DevTools.
|
|
3741
3876
|
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
3742
3877
|
*/
|
|
3743
|
-
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
|
|
3878
|
+
'react/x-no-missing-context-display-name'?: Linter.RuleEntry<[]>;
|
|
3744
3879
|
/**
|
|
3745
3880
|
* Disallows missing 'key' on items in list rendering.
|
|
3746
3881
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
3747
3882
|
*/
|
|
3748
|
-
'react/no-missing-key'?: Linter.RuleEntry<[]>;
|
|
3883
|
+
'react/x-no-missing-key'?: Linter.RuleEntry<[]>;
|
|
3749
3884
|
/**
|
|
3750
3885
|
* Prevents incorrect usage of 'captureOwnerStack'.
|
|
3751
3886
|
* @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
|
|
3752
3887
|
*/
|
|
3753
|
-
'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
|
|
3888
|
+
'react/x-no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
|
|
3754
3889
|
/**
|
|
3755
3890
|
* Disallows nesting component definitions inside other components.
|
|
3756
3891
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3757
3892
|
*/
|
|
3758
|
-
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3893
|
+
'react/x-no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3759
3894
|
/**
|
|
3760
|
-
* Disallows nesting lazy component declarations inside other components.
|
|
3895
|
+
* Disallows nesting lazy component declarations inside other components or hooks.
|
|
3761
3896
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
3762
3897
|
*/
|
|
3763
|
-
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3764
|
-
/**
|
|
3765
|
-
* Disallows 'propTypes' in favor of TypeScript or another type-checking solution.
|
|
3766
|
-
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
3767
|
-
*/
|
|
3768
|
-
'react/no-prop-types'?: Linter.RuleEntry<[]>;
|
|
3769
|
-
/**
|
|
3770
|
-
* Disallows 'shouldComponentUpdate' when extending 'React.PureComponent'.
|
|
3771
|
-
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
3772
|
-
*/
|
|
3773
|
-
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
|
|
3898
|
+
'react/x-no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3774
3899
|
/**
|
|
3775
3900
|
* Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
|
|
3776
3901
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
3777
3902
|
*/
|
|
3778
|
-
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
|
|
3903
|
+
'react/x-no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
|
|
3779
3904
|
/**
|
|
3780
3905
|
* Disallows calling 'this.setState' in 'componentDidUpdate' outside functions such as callbacks.
|
|
3781
3906
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
3782
3907
|
*/
|
|
3783
|
-
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3908
|
+
'react/x-no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3784
3909
|
/**
|
|
3785
3910
|
* Disallows calling 'this.setState' in 'componentWillUpdate' outside functions such as callbacks.
|
|
3786
3911
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
3787
3912
|
*/
|
|
3788
|
-
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3789
|
-
/**
|
|
3790
|
-
* Replaces string refs with callback refs.
|
|
3791
|
-
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
3792
|
-
*/
|
|
3793
|
-
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
3794
|
-
/**
|
|
3795
|
-
* Disallows unnecessary 'key' props on nested child elements when rendering lists.
|
|
3796
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
3797
|
-
*/
|
|
3798
|
-
'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
3799
|
-
/**
|
|
3800
|
-
* Disallows unnecessary usage of 'useCallback'.
|
|
3801
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
3802
|
-
*/
|
|
3803
|
-
'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
3804
|
-
/**
|
|
3805
|
-
* Disallows unnecessary usage of 'useMemo'.
|
|
3806
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
3807
|
-
*/
|
|
3808
|
-
'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
3913
|
+
'react/x-no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3809
3914
|
/**
|
|
3810
3915
|
* Enforces that a function with the 'use' prefix uses at least one Hook inside it.
|
|
3811
3916
|
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3812
3917
|
*/
|
|
3813
|
-
'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3814
|
-
/**
|
|
3815
|
-
* Disallows unnecessary usage of 'useRef'.
|
|
3816
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-ref
|
|
3817
|
-
*/
|
|
3818
|
-
'react/no-unnecessary-use-ref'?: Linter.RuleEntry<[]>;
|
|
3918
|
+
'react/x-no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3819
3919
|
/**
|
|
3820
3920
|
* Warns about the use of 'UNSAFE_componentWillMount' in class components.
|
|
3821
3921
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
3822
3922
|
*/
|
|
3823
|
-
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3923
|
+
'react/x-no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3824
3924
|
/**
|
|
3825
3925
|
* Warns about the use of 'UNSAFE_componentWillReceiveProps' in class components.
|
|
3826
3926
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
3827
3927
|
*/
|
|
3828
|
-
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3928
|
+
'react/x-no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3829
3929
|
/**
|
|
3830
3930
|
* Warns about the use of 'UNSAFE_componentWillUpdate' in class components.
|
|
3831
3931
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
3832
3932
|
*/
|
|
3833
|
-
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3933
|
+
'react/x-no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3834
3934
|
/**
|
|
3835
3935
|
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
3836
3936
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
3837
3937
|
*/
|
|
3838
|
-
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
3938
|
+
'react/x-no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
3839
3939
|
/**
|
|
3840
3940
|
* Prevents using referential-type values as default props in object destructuring.
|
|
3841
3941
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
3842
3942
|
*/
|
|
3843
|
-
'react/no-unstable-default-props'?: Linter.RuleEntry<
|
|
3943
|
+
'react/x-no-unstable-default-props'?: Linter.RuleEntry<ReactXNoUnstableDefaultProps>;
|
|
3844
3944
|
/**
|
|
3845
3945
|
* Warns about unused class component methods and properties.
|
|
3846
3946
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
3847
3947
|
*/
|
|
3848
|
-
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3948
|
+
'react/x-no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3849
3949
|
/**
|
|
3850
3950
|
* Warns about component props that are defined but never used.
|
|
3851
3951
|
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3852
3952
|
*/
|
|
3853
|
-
'react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
3953
|
+
'react/x-no-unused-props'?: Linter.RuleEntry<[]>;
|
|
3854
3954
|
/**
|
|
3855
|
-
* Warns about
|
|
3955
|
+
* Warns about state variables that are defined but never used, or only used in effects.
|
|
3856
3956
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
3857
3957
|
*/
|
|
3858
|
-
'react/no-unused-state'?: Linter.RuleEntry<[]>;
|
|
3958
|
+
'react/x-no-unused-state'?: Linter.RuleEntry<[]>;
|
|
3859
3959
|
/**
|
|
3860
3960
|
* Replaces usage of 'useContext' with 'use'.
|
|
3861
3961
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3862
3962
|
*/
|
|
3863
|
-
'react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
3963
|
+
'react/x-no-use-context'?: Linter.RuleEntry<[]>;
|
|
3864
3964
|
/**
|
|
3865
|
-
*
|
|
3866
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3965
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
3966
|
+
* @see https://eslint-react.xyz/docs/rules/purity
|
|
3867
3967
|
*/
|
|
3868
|
-
'react/
|
|
3968
|
+
'react/x-purity'?: Linter.RuleEntry<[]>;
|
|
3869
3969
|
/**
|
|
3870
|
-
*
|
|
3871
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3970
|
+
* Validates correct usage of refs by checking that 'ref.current' is not read or written during render.
|
|
3971
|
+
* @see https://eslint-react.xyz/docs/rules/refs
|
|
3972
|
+
*/
|
|
3973
|
+
'react/x-refs'?: Linter.RuleEntry<[]>;
|
|
3974
|
+
/**
|
|
3975
|
+
* Enforces the Rules of Hooks.
|
|
3976
|
+
* @see https://react.dev/reference/rules/rules-of-hooks
|
|
3977
|
+
*/
|
|
3978
|
+
'react/x-rules-of-hooks'?: Linter.RuleEntry<ReactXRulesOfHooks>;
|
|
3979
|
+
/**
|
|
3980
|
+
* Validates against setting state synchronously in an effect, which can lead to re-renders that degrade performance.
|
|
3981
|
+
* @see https://eslint-react.xyz/docs/rules/set-state-in-effect
|
|
3872
3982
|
*/
|
|
3873
|
-
'react/
|
|
3983
|
+
'react/x-set-state-in-effect'?: Linter.RuleEntry<[]>;
|
|
3874
3984
|
/**
|
|
3875
|
-
*
|
|
3876
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3985
|
+
* Validates against unconditionally setting state during render, which can trigger additional renders and potential infinite render loops.
|
|
3986
|
+
* @see https://eslint-react.xyz/docs/rules/set-state-in-render
|
|
3877
3987
|
*/
|
|
3878
|
-
'react/
|
|
3988
|
+
'react/x-set-state-in-render'?: Linter.RuleEntry<[]>;
|
|
3879
3989
|
/**
|
|
3880
|
-
*
|
|
3881
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3990
|
+
* Validates that components are static, not recreated every render.
|
|
3991
|
+
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
3882
3992
|
*/
|
|
3883
|
-
'react/
|
|
3993
|
+
'react/x-static-components'?: Linter.RuleEntry<[]>;
|
|
3884
3994
|
/**
|
|
3885
|
-
*
|
|
3886
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3995
|
+
* Validates against syntax that React Compiler does not support.
|
|
3996
|
+
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
3887
3997
|
*/
|
|
3888
|
-
'react/
|
|
3998
|
+
'react/x-unsupported-syntax'?: Linter.RuleEntry<[]>;
|
|
3889
3999
|
/**
|
|
3890
|
-
*
|
|
3891
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
4000
|
+
* Validates that 'useMemo' is called with a callback that returns a value.
|
|
4001
|
+
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
3892
4002
|
*/
|
|
3893
|
-
'react/
|
|
4003
|
+
'react/x-use-memo'?: Linter.RuleEntry<[]>;
|
|
4004
|
+
/**
|
|
4005
|
+
* Enforces correct usage of 'useState', including destructuring, symmetric naming of the value and setter, and wrapping expensive initializers in a lazy initializer function.
|
|
4006
|
+
* @see https://eslint-react.xyz/docs/rules/use-state
|
|
4007
|
+
*/
|
|
4008
|
+
'react/x-use-state'?: Linter.RuleEntry<ReactXUseState>;
|
|
3894
4009
|
/**
|
|
3895
4010
|
* disallow confusing quantifiers
|
|
3896
4011
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -4772,12 +4887,6 @@ interface RuleOptions {
|
|
|
4772
4887
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5542/javascript
|
|
4773
4888
|
*/
|
|
4774
4889
|
'sonar/encryption-secure-mode'?: Linter.RuleEntry<[]>;
|
|
4775
|
-
/**
|
|
4776
|
-
* Trailing commas should be used
|
|
4777
|
-
* @see https://sonarsource.github.io/rspec/#/rspec/S3723/javascript
|
|
4778
|
-
* @deprecated
|
|
4779
|
-
*/
|
|
4780
|
-
'sonar/enforce-trailing-comma'?: Linter.RuleEntry<SonarEnforceTrailingComma>;
|
|
4781
4890
|
/**
|
|
4782
4891
|
* Replacement strings should reference existing regular expression groups
|
|
4783
4892
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6328/javascript
|
|
@@ -4799,7 +4908,7 @@ interface RuleOptions {
|
|
|
4799
4908
|
*/
|
|
4800
4909
|
'sonar/file-name-differ-from-class'?: Linter.RuleEntry<[]>;
|
|
4801
4910
|
/**
|
|
4802
|
-
*
|
|
4911
|
+
* File permissions should not be set to world-accessible values
|
|
4803
4912
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2612/javascript
|
|
4804
4913
|
*/
|
|
4805
4914
|
'sonar/file-permissions'?: Linter.RuleEntry<[]>;
|
|
@@ -5369,6 +5478,11 @@ interface RuleOptions {
|
|
|
5369
5478
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2301/javascript
|
|
5370
5479
|
*/
|
|
5371
5480
|
'sonar/no-selector-parameter'?: Linter.RuleEntry<[]>;
|
|
5481
|
+
/**
|
|
5482
|
+
* Static Assets should not serve session cookies
|
|
5483
|
+
* @see https://sonarsource.github.io/rspec/#/rspec/S8441/javascript
|
|
5484
|
+
*/
|
|
5485
|
+
'sonar/no-session-cookies-on-static-assets'?: Linter.RuleEntry<[]>;
|
|
5372
5486
|
/**
|
|
5373
5487
|
* Tests should not be skipped without providing a reason
|
|
5374
5488
|
* @see https://sonarsource.github.io/rspec/#/rspec/S1607/javascript
|
|
@@ -5690,11 +5804,6 @@ interface RuleOptions {
|
|
|
5690
5804
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3003/javascript
|
|
5691
5805
|
*/
|
|
5692
5806
|
'sonar/strings-comparison'?: Linter.RuleEntry<[]>;
|
|
5693
|
-
/**
|
|
5694
|
-
* "super()" should be invoked appropriately
|
|
5695
|
-
* @see https://sonarsource.github.io/rspec/#/rspec/S3854/javascript
|
|
5696
|
-
*/
|
|
5697
|
-
'sonar/super-invocation'?: Linter.RuleEntry<[]>;
|
|
5698
5807
|
/**
|
|
5699
5808
|
* Tables should have headers
|
|
5700
5809
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5256/javascript
|
|
@@ -6901,7 +7010,7 @@ interface RuleOptions {
|
|
|
6901
7010
|
*/
|
|
6902
7011
|
'test/no-mocks-import'?: Linter.RuleEntry<[]>;
|
|
6903
7012
|
/**
|
|
6904
|
-
* disallow
|
|
7013
|
+
* disallow focused/only tests
|
|
6905
7014
|
* @see https://github.com/levibuzolic/eslint-plugin-no-only-tests
|
|
6906
7015
|
*/
|
|
6907
7016
|
'test/no-only-tests'?: Linter.RuleEntry<TestNoOnlyTests>;
|
|
@@ -7026,7 +7135,7 @@ interface RuleOptions {
|
|
|
7026
7135
|
*/
|
|
7027
7136
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
7028
7137
|
/**
|
|
7029
|
-
* enforce using `
|
|
7138
|
+
* enforce using `expect(...).toBeTypeOf(...)` instead of `expect(typeof ...).toBe(...)`
|
|
7030
7139
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
7031
7140
|
*/
|
|
7032
7141
|
'test/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
@@ -7165,6 +7274,11 @@ interface RuleOptions {
|
|
|
7165
7274
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
7166
7275
|
*/
|
|
7167
7276
|
'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>;
|
|
7277
|
+
/**
|
|
7278
|
+
* enforce unbound methods are called with their expected scope
|
|
7279
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
|
|
7280
|
+
*/
|
|
7281
|
+
'test/unbound-method'?: Linter.RuleEntry<TestUnboundMethod>;
|
|
7168
7282
|
/**
|
|
7169
7283
|
* enforce valid describe callback
|
|
7170
7284
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
@@ -7995,730 +8109,750 @@ interface RuleOptions {
|
|
|
7995
8109
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
7996
8110
|
/**
|
|
7997
8111
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
7998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
|
|
7999
8113
|
*/
|
|
8000
8114
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
8001
8115
|
/**
|
|
8002
8116
|
* Enforce a specific parameter name in catch clauses.
|
|
8003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
|
|
8004
8118
|
*/
|
|
8005
8119
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
8006
8120
|
/**
|
|
8007
8121
|
* Enforce consistent assertion style with `node:assert`.
|
|
8008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
|
|
8009
8123
|
*/
|
|
8010
8124
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
8011
8125
|
/**
|
|
8012
8126
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
8013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
|
|
8014
8128
|
*/
|
|
8015
8129
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
8016
8130
|
/**
|
|
8017
8131
|
* Use destructured variables over properties.
|
|
8018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
|
|
8019
8133
|
*/
|
|
8020
8134
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
8021
8135
|
/**
|
|
8022
8136
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
8023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
|
|
8024
8138
|
*/
|
|
8025
8139
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
8026
8140
|
/**
|
|
8027
8141
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
8028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
|
|
8029
8143
|
*/
|
|
8030
8144
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
8031
8145
|
/**
|
|
8032
8146
|
* Move function definitions to the highest possible scope.
|
|
8033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
|
|
8034
8148
|
*/
|
|
8035
8149
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
8150
|
+
/**
|
|
8151
|
+
* Enforce consistent style for escaping `${` in template literals.
|
|
8152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
|
|
8153
|
+
*/
|
|
8154
|
+
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
8036
8155
|
/**
|
|
8037
8156
|
* Enforce correct `Error` subclassing.
|
|
8038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
|
|
8039
8158
|
*/
|
|
8040
8159
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
8041
8160
|
/**
|
|
8042
8161
|
* Enforce no spaces between braces.
|
|
8043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
|
|
8044
8163
|
*/
|
|
8045
8164
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
8046
8165
|
/**
|
|
8047
8166
|
* Enforce passing a `message` value when creating a built-in error.
|
|
8048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
|
|
8049
8168
|
*/
|
|
8050
8169
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
8051
8170
|
/**
|
|
8052
8171
|
* Require escape sequences to use uppercase or lowercase values.
|
|
8053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
|
|
8054
8173
|
*/
|
|
8055
8174
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
8056
8175
|
/**
|
|
8057
8176
|
* Add expiration conditions to TODO comments.
|
|
8058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
|
|
8059
8178
|
*/
|
|
8060
8179
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
8061
8180
|
/**
|
|
8062
8181
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
8063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
|
|
8064
8183
|
*/
|
|
8065
8184
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
8066
8185
|
/**
|
|
8067
8186
|
* Enforce a case style for filenames.
|
|
8068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
|
|
8069
8188
|
*/
|
|
8070
8189
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
8071
8190
|
/**
|
|
8072
8191
|
* Enforce specific import styles per module.
|
|
8073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
|
|
8074
8193
|
*/
|
|
8075
8194
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
8076
8195
|
/**
|
|
8077
8196
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
8078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
|
|
8079
8198
|
*/
|
|
8080
8199
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
8081
8200
|
/**
|
|
8082
8201
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
8083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
|
|
8084
8203
|
*/
|
|
8085
8204
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
8086
8205
|
/**
|
|
8087
8206
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
8088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
8089
8208
|
*/
|
|
8090
8209
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
8091
8210
|
/**
|
|
8092
8211
|
* Disallow recursive access to `this` within getters and setters.
|
|
8093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
|
|
8094
8213
|
*/
|
|
8095
8214
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
8096
8215
|
/**
|
|
8097
8216
|
* Disallow anonymous functions and classes as the default export.
|
|
8098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
|
|
8099
8218
|
*/
|
|
8100
8219
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
8101
8220
|
/**
|
|
8102
8221
|
* Prevent passing a function reference directly to iterator methods.
|
|
8103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
|
|
8104
8223
|
*/
|
|
8105
8224
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
8106
8225
|
/**
|
|
8107
8226
|
* Prefer `for…of` over the `forEach` method.
|
|
8108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
|
|
8109
8228
|
*/
|
|
8110
8229
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
8111
8230
|
/**
|
|
8112
8231
|
* Disallow using the `this` argument in array methods.
|
|
8113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
|
|
8114
8233
|
*/
|
|
8115
8234
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
8116
8235
|
/**
|
|
8117
8236
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
8118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
8119
8238
|
* @deprecated
|
|
8120
8239
|
*/
|
|
8121
8240
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
8122
8241
|
/**
|
|
8123
8242
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
8124
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8243
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
|
|
8125
8244
|
*/
|
|
8126
8245
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
8127
8246
|
/**
|
|
8128
8247
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
8129
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8248
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
|
|
8130
8249
|
*/
|
|
8131
8250
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
8132
8251
|
/**
|
|
8133
8252
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
8134
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8253
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
|
|
8135
8254
|
*/
|
|
8136
8255
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
8137
8256
|
/**
|
|
8138
8257
|
* Disallow member access from await expression.
|
|
8139
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8258
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
|
|
8140
8259
|
*/
|
|
8141
8260
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
8142
8261
|
/**
|
|
8143
8262
|
* Disallow using `await` in `Promise` method parameters.
|
|
8144
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8263
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
|
|
8145
8264
|
*/
|
|
8146
8265
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
8147
8266
|
/**
|
|
8148
8267
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
8149
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8268
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
|
|
8150
8269
|
*/
|
|
8151
8270
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
8152
8271
|
/**
|
|
8153
8272
|
* Do not use `document.cookie` directly.
|
|
8154
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8273
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
|
|
8155
8274
|
*/
|
|
8156
8275
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
8157
8276
|
/**
|
|
8158
8277
|
* Disallow empty files.
|
|
8159
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8278
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
|
|
8160
8279
|
*/
|
|
8161
8280
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
8162
8281
|
/**
|
|
8163
8282
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
8164
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8283
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
|
|
8165
8284
|
*/
|
|
8166
8285
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
8167
8286
|
/**
|
|
8168
8287
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
8169
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8288
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
|
|
8170
8289
|
*/
|
|
8171
8290
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
8172
8291
|
/**
|
|
8173
8292
|
* Disallow immediate mutation after variable assignment.
|
|
8174
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
|
|
8175
8294
|
*/
|
|
8176
8295
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
8177
8296
|
/**
|
|
8178
8297
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
8179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8298
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
8180
8299
|
* @deprecated
|
|
8181
8300
|
*/
|
|
8182
8301
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
8183
8302
|
/**
|
|
8184
8303
|
* Disallow `instanceof` with built-in objects
|
|
8185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
|
|
8186
8305
|
*/
|
|
8187
8306
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
8188
8307
|
/**
|
|
8189
8308
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
8190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
|
|
8191
8310
|
*/
|
|
8192
8311
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
8193
8312
|
/**
|
|
8194
8313
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
8195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
8196
8315
|
*/
|
|
8197
8316
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
8198
8317
|
/**
|
|
8199
8318
|
* Disallow identifiers starting with `new` or `class`.
|
|
8200
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
|
|
8201
8320
|
*/
|
|
8202
8321
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
8203
8322
|
/**
|
|
8204
8323
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
8205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
8206
8325
|
* @deprecated
|
|
8207
8326
|
*/
|
|
8208
8327
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
8209
8328
|
/**
|
|
8210
8329
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
8211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
|
|
8212
8331
|
*/
|
|
8213
8332
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
8214
8333
|
/**
|
|
8215
8334
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
8216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
8217
8336
|
*/
|
|
8218
8337
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
8219
8338
|
/**
|
|
8220
8339
|
* Disallow named usage of default import and export.
|
|
8221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
|
|
8222
8341
|
*/
|
|
8223
8342
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
8224
8343
|
/**
|
|
8225
8344
|
* Disallow negated conditions.
|
|
8226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
|
|
8227
8346
|
*/
|
|
8228
8347
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
8229
8348
|
/**
|
|
8230
8349
|
* Disallow negated expression in equality check.
|
|
8231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
|
|
8232
8351
|
*/
|
|
8233
8352
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
8234
8353
|
/**
|
|
8235
8354
|
* Disallow nested ternary expressions.
|
|
8236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8355
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
|
|
8237
8356
|
*/
|
|
8238
8357
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
8239
8358
|
/**
|
|
8240
8359
|
* Disallow `new Array()`.
|
|
8241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8360
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
|
|
8242
8361
|
*/
|
|
8243
8362
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
8244
8363
|
/**
|
|
8245
8364
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
8246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8365
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
|
|
8247
8366
|
*/
|
|
8248
8367
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
8249
8368
|
/**
|
|
8250
8369
|
* Disallow the use of the `null` literal.
|
|
8251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8370
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
|
|
8252
8371
|
*/
|
|
8253
8372
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
8254
8373
|
/**
|
|
8255
8374
|
* Disallow the use of objects as default parameters.
|
|
8256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
|
|
8257
8376
|
*/
|
|
8258
8377
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
8259
8378
|
/**
|
|
8260
8379
|
* Disallow `process.exit()`.
|
|
8261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
|
|
8262
8381
|
*/
|
|
8263
8382
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
8264
8383
|
/**
|
|
8265
8384
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
8266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
8267
8386
|
*/
|
|
8268
8387
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
8269
8388
|
/**
|
|
8270
8389
|
* Disallow classes that only have static members.
|
|
8271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
|
|
8272
8391
|
*/
|
|
8273
8392
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
8274
8393
|
/**
|
|
8275
8394
|
* Disallow `then` property.
|
|
8276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
|
|
8277
8396
|
*/
|
|
8278
8397
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
8279
8398
|
/**
|
|
8280
8399
|
* Disallow assigning `this` to a variable.
|
|
8281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
|
|
8282
8401
|
*/
|
|
8283
8402
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
8284
8403
|
/**
|
|
8285
8404
|
* Disallow comparing `undefined` using `typeof`.
|
|
8286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
|
|
8287
8406
|
*/
|
|
8288
8407
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
8289
8408
|
/**
|
|
8290
8409
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
8291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
8292
8411
|
*/
|
|
8293
8412
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
8294
8413
|
/**
|
|
8295
8414
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
8296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
8297
8416
|
*/
|
|
8298
8417
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
8299
8418
|
/**
|
|
8300
8419
|
* Disallow awaiting non-promise values.
|
|
8301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
|
|
8302
8421
|
*/
|
|
8303
8422
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
8304
8423
|
/**
|
|
8305
8424
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
8306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
8307
8426
|
*/
|
|
8308
8427
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
8309
8428
|
/**
|
|
8310
8429
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
8311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
8312
8431
|
*/
|
|
8313
8432
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
8314
8433
|
/**
|
|
8315
8434
|
* Disallow unreadable array destructuring.
|
|
8316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
8317
8436
|
*/
|
|
8318
8437
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
8319
8438
|
/**
|
|
8320
8439
|
* Disallow unreadable IIFEs.
|
|
8321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
|
|
8322
8441
|
*/
|
|
8323
8442
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
8324
8443
|
/**
|
|
8325
8444
|
* Disallow unused object properties.
|
|
8326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
|
|
8327
8446
|
*/
|
|
8328
8447
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
8329
8448
|
/**
|
|
8330
8449
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
8331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
|
|
8332
8451
|
*/
|
|
8333
8452
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
8334
8453
|
/**
|
|
8335
8454
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
8336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
8337
8456
|
*/
|
|
8338
8457
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
8339
8458
|
/**
|
|
8340
8459
|
* Disallow useless fallback when spreading in object literals.
|
|
8341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
8342
8461
|
*/
|
|
8343
8462
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
8463
|
+
/**
|
|
8464
|
+
* Disallow unnecessary `.toArray()` on iterators.
|
|
8465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
|
|
8466
|
+
*/
|
|
8467
|
+
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
8344
8468
|
/**
|
|
8345
8469
|
* Disallow useless array length check.
|
|
8346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
|
|
8347
8471
|
*/
|
|
8348
8472
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
8349
8473
|
/**
|
|
8350
8474
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
8351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
8352
8476
|
*/
|
|
8353
8477
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
8354
8478
|
/**
|
|
8355
8479
|
* Disallow unnecessary spread.
|
|
8356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
|
|
8357
8481
|
*/
|
|
8358
8482
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
8359
8483
|
/**
|
|
8360
8484
|
* Disallow useless case in switch statements.
|
|
8361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
|
|
8362
8486
|
*/
|
|
8363
8487
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
8364
8488
|
/**
|
|
8365
8489
|
* Disallow useless `undefined`.
|
|
8366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
|
|
8367
8491
|
*/
|
|
8368
8492
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
8369
8493
|
/**
|
|
8370
8494
|
* Disallow number literals with zero fractions or dangling dots.
|
|
8371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
|
|
8372
8496
|
*/
|
|
8373
8497
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
8374
8498
|
/**
|
|
8375
8499
|
* Enforce proper case for numeric literals.
|
|
8376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
|
|
8377
8501
|
*/
|
|
8378
8502
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
8379
8503
|
/**
|
|
8380
8504
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
8381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
|
|
8382
8506
|
*/
|
|
8383
8507
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
8384
8508
|
/**
|
|
8385
8509
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
8386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
|
|
8387
8511
|
*/
|
|
8388
8512
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
8389
8513
|
/**
|
|
8390
8514
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
8391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
|
|
8392
8516
|
*/
|
|
8393
8517
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
8394
8518
|
/**
|
|
8395
8519
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
8396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
|
|
8397
8521
|
*/
|
|
8398
8522
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
8399
8523
|
/**
|
|
8400
8524
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
8401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
|
|
8402
8526
|
*/
|
|
8403
8527
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
8404
8528
|
/**
|
|
8405
8529
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
8406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
|
|
8407
8531
|
*/
|
|
8408
8532
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
8409
8533
|
/**
|
|
8410
8534
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
8411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8535
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
|
|
8412
8536
|
*/
|
|
8413
8537
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
8414
8538
|
/**
|
|
8415
8539
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
8416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
|
|
8417
8541
|
*/
|
|
8418
8542
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
8419
8543
|
/**
|
|
8420
8544
|
* Prefer `BigInt` literals over the constructor.
|
|
8421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
|
|
8422
8546
|
*/
|
|
8423
8547
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
8424
8548
|
/**
|
|
8425
8549
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
8426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
8427
8551
|
*/
|
|
8428
8552
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
8429
8553
|
/**
|
|
8430
8554
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
8431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
|
|
8432
8556
|
*/
|
|
8433
8557
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
8434
8558
|
/**
|
|
8435
8559
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
8436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
|
|
8437
8561
|
*/
|
|
8438
8562
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
8439
8563
|
/**
|
|
8440
8564
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
8441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
|
|
8442
8566
|
*/
|
|
8443
8567
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
8444
8568
|
/**
|
|
8445
8569
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
8446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
|
|
8447
8571
|
*/
|
|
8448
8572
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
8449
8573
|
/**
|
|
8450
8574
|
* Prefer default parameters over reassignment.
|
|
8451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
|
|
8452
8576
|
*/
|
|
8453
8577
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
8454
8578
|
/**
|
|
8455
8579
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
8456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
|
|
8457
8581
|
*/
|
|
8458
8582
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
8459
8583
|
/**
|
|
8460
8584
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
8461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
8462
8586
|
*/
|
|
8463
8587
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
8464
8588
|
/**
|
|
8465
8589
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
8466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
|
|
8467
8591
|
*/
|
|
8468
8592
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
8469
8593
|
/**
|
|
8470
8594
|
* Prefer `.textContent` over `.innerText`.
|
|
8471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
8472
8596
|
*/
|
|
8473
8597
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
8474
8598
|
/**
|
|
8475
8599
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
8476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
|
|
8477
8601
|
*/
|
|
8478
8602
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
8479
8603
|
/**
|
|
8480
8604
|
* Prefer `export…from` when re-exporting.
|
|
8481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
|
|
8482
8606
|
*/
|
|
8483
8607
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
8484
8608
|
/**
|
|
8485
8609
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
8486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
|
|
8487
8611
|
*/
|
|
8488
8612
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
8489
8613
|
/**
|
|
8490
8614
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
8491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
|
|
8492
8616
|
*/
|
|
8493
8617
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
8494
8618
|
/**
|
|
8495
8619
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
8496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
|
|
8497
8621
|
*/
|
|
8498
8622
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
8499
8623
|
/**
|
|
8500
8624
|
* Prefer reading a JSON file as a buffer.
|
|
8501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
8502
8626
|
*/
|
|
8503
8627
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
8504
8628
|
/**
|
|
8505
8629
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
8506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
8507
8631
|
*/
|
|
8508
8632
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
8509
8633
|
/**
|
|
8510
8634
|
* Prefer using a logical operator over a ternary.
|
|
8511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
8512
8636
|
*/
|
|
8513
8637
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
8514
8638
|
/**
|
|
8515
8639
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
8516
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
|
|
8517
8641
|
*/
|
|
8518
8642
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
8519
8643
|
/**
|
|
8520
8644
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
8521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
|
|
8522
8646
|
*/
|
|
8523
8647
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
8524
8648
|
/**
|
|
8525
8649
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
8526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
8527
8651
|
*/
|
|
8528
8652
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
8529
8653
|
/**
|
|
8530
8654
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
8531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
|
|
8532
8656
|
*/
|
|
8533
8657
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
8534
8658
|
/**
|
|
8535
8659
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
8536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
|
|
8537
8661
|
*/
|
|
8538
8662
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
8539
8663
|
/**
|
|
8540
8664
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
8541
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
8542
8666
|
*/
|
|
8543
8667
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
8544
8668
|
/**
|
|
8545
8669
|
* Prefer negative index over `.length - index` when possible.
|
|
8546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
|
|
8547
8671
|
*/
|
|
8548
8672
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
8549
8673
|
/**
|
|
8550
8674
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
8551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
|
|
8552
8676
|
*/
|
|
8553
8677
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
8554
8678
|
/**
|
|
8555
8679
|
* Prefer `Number` static properties over global ones.
|
|
8556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
|
|
8557
8681
|
*/
|
|
8558
8682
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
8559
8683
|
/**
|
|
8560
8684
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
8561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
|
|
8562
8686
|
*/
|
|
8563
8687
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
8564
8688
|
/**
|
|
8565
8689
|
* Prefer omitting the `catch` binding parameter.
|
|
8566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
8567
8691
|
*/
|
|
8568
8692
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
8569
8693
|
/**
|
|
8570
8694
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
8571
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
|
|
8572
8696
|
*/
|
|
8573
8697
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
8574
8698
|
/**
|
|
8575
8699
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
8576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
|
|
8577
8701
|
*/
|
|
8578
8702
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
8579
8703
|
/**
|
|
8580
8704
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
8581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
|
|
8582
8706
|
*/
|
|
8583
8707
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
8584
8708
|
/**
|
|
8585
8709
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
8586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
|
|
8587
8711
|
*/
|
|
8588
8712
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
8589
8713
|
/**
|
|
8590
8714
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
8591
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
|
|
8592
8716
|
*/
|
|
8593
8717
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
8594
8718
|
/**
|
|
8595
8719
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
8596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
|
|
8597
8721
|
*/
|
|
8598
8722
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
8599
8723
|
/**
|
|
8600
8724
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
8601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
|
|
8602
8726
|
*/
|
|
8603
8727
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
8728
|
+
/**
|
|
8729
|
+
* Prefer simple conditions first in logical expressions.
|
|
8730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
|
|
8731
|
+
*/
|
|
8732
|
+
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
8604
8733
|
/**
|
|
8605
8734
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
8606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
|
|
8607
8736
|
*/
|
|
8608
8737
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
8609
8738
|
/**
|
|
8610
8739
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
8611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
|
|
8612
8741
|
*/
|
|
8613
8742
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
8614
8743
|
/**
|
|
8615
8744
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
8616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
|
|
8617
8746
|
*/
|
|
8618
8747
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
8619
8748
|
/**
|
|
8620
8749
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
8621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
|
|
8622
8751
|
*/
|
|
8623
8752
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
8624
8753
|
/**
|
|
8625
8754
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
8626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
|
|
8627
8756
|
*/
|
|
8628
8757
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
8629
8758
|
/**
|
|
8630
8759
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
8631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
8632
8761
|
*/
|
|
8633
8762
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
8634
8763
|
/**
|
|
8635
8764
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
8636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
8637
8766
|
*/
|
|
8638
8767
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
8639
8768
|
/**
|
|
8640
8769
|
* Prefer using `structuredClone` to create a deep clone.
|
|
8641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
|
|
8642
8771
|
*/
|
|
8643
8772
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
8644
8773
|
/**
|
|
8645
8774
|
* Prefer `switch` over multiple `else-if`.
|
|
8646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
|
|
8647
8776
|
*/
|
|
8648
8777
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
8649
8778
|
/**
|
|
8650
8779
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
8651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
|
|
8652
8781
|
*/
|
|
8653
8782
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
8654
8783
|
/**
|
|
8655
8784
|
* Prefer top-level await over top-level promises and async function calls.
|
|
8656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
|
|
8657
8786
|
*/
|
|
8658
8787
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
8659
8788
|
/**
|
|
8660
8789
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
8661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
|
|
8662
8791
|
*/
|
|
8663
8792
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
8664
8793
|
/**
|
|
8665
8794
|
* Prevent abbreviations.
|
|
8666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
|
|
8667
8796
|
*/
|
|
8668
8797
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
8669
8798
|
/**
|
|
8670
8799
|
* Enforce consistent relative URL style.
|
|
8671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
|
|
8672
8801
|
*/
|
|
8673
8802
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
8674
8803
|
/**
|
|
8675
8804
|
* Enforce using the separator argument with `Array#join()`.
|
|
8676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
|
|
8677
8806
|
*/
|
|
8678
8807
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
8679
8808
|
/**
|
|
8680
8809
|
* Require non-empty module attributes for imports and exports
|
|
8681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
|
|
8682
8811
|
*/
|
|
8683
8812
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
8684
8813
|
/**
|
|
8685
8814
|
* Require non-empty specifier list in import and export statements.
|
|
8686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
|
|
8687
8816
|
*/
|
|
8688
8817
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
8689
8818
|
/**
|
|
8690
8819
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
8691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
8692
8821
|
*/
|
|
8693
8822
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
8694
8823
|
/**
|
|
8695
8824
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
8696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
|
|
8697
8826
|
*/
|
|
8698
8827
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
8699
8828
|
/**
|
|
8700
8829
|
* Enforce better string content.
|
|
8701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
|
|
8702
8831
|
*/
|
|
8703
8832
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
8704
8833
|
/**
|
|
8705
8834
|
* Enforce consistent brace style for `case` clauses.
|
|
8706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
|
|
8707
8836
|
*/
|
|
8708
8837
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
8838
|
+
/**
|
|
8839
|
+
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
8840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
|
|
8841
|
+
*/
|
|
8842
|
+
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
8709
8843
|
/**
|
|
8710
8844
|
* Fix whitespace-insensitive template indentation.
|
|
8711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
|
|
8712
8846
|
*/
|
|
8713
8847
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
8714
8848
|
/**
|
|
8715
8849
|
* Enforce consistent case for text encoding identifiers.
|
|
8716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
|
|
8717
8851
|
*/
|
|
8718
8852
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
8719
8853
|
/**
|
|
8720
8854
|
* Require `new` when creating an error.
|
|
8721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
|
|
8722
8856
|
*/
|
|
8723
8857
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
8724
8858
|
/**
|
|
@@ -9368,7 +9502,7 @@ interface RuleOptions {
|
|
|
9368
9502
|
* disallow object, array, and function literals in template
|
|
9369
9503
|
* @see https://eslint.vuejs.org/rules/no-literals-in-template.html
|
|
9370
9504
|
*/
|
|
9371
|
-
'vue/no-literals-in-template'?: Linter.RuleEntry<
|
|
9505
|
+
'vue/no-literals-in-template'?: Linter.RuleEntry<VueNoLiteralsInTemplate>;
|
|
9372
9506
|
/**
|
|
9373
9507
|
* disallow unnecessary `<template>`
|
|
9374
9508
|
* @see https://eslint.vuejs.org/rules/no-lone-template.html
|
|
@@ -9761,6 +9895,11 @@ interface RuleOptions {
|
|
|
9761
9895
|
* @see https://eslint.vuejs.org/rules/prefer-separate-static-class.html
|
|
9762
9896
|
*/
|
|
9763
9897
|
'vue/prefer-separate-static-class'?: Linter.RuleEntry<[]>;
|
|
9898
|
+
/**
|
|
9899
|
+
* enforce passing a single argument to custom event emissions
|
|
9900
|
+
* @see https://eslint.vuejs.org/rules/prefer-single-event-payload.html
|
|
9901
|
+
*/
|
|
9902
|
+
'vue/prefer-single-event-payload'?: Linter.RuleEntry<[]>;
|
|
9764
9903
|
/**
|
|
9765
9904
|
* Require template literals instead of string concatenation in `<template>`
|
|
9766
9905
|
* @see https://eslint.vuejs.org/rules/prefer-template.html
|
|
@@ -9776,6 +9915,11 @@ interface RuleOptions {
|
|
|
9776
9915
|
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
9777
9916
|
*/
|
|
9778
9917
|
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>;
|
|
9918
|
+
/**
|
|
9919
|
+
* enforce using `v-model` instead of `:prop`/`@update:prop` pair
|
|
9920
|
+
* @see https://eslint.vuejs.org/rules/prefer-v-model.html
|
|
9921
|
+
*/
|
|
9922
|
+
'vue/prefer-v-model'?: Linter.RuleEntry<[]>;
|
|
9779
9923
|
/**
|
|
9780
9924
|
* enforce specific casing for the Prop name in Vue components
|
|
9781
9925
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -12044,13 +12188,15 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
|
12044
12188
|
}] | ["never"]) & unknown[]); // ----- markdown/fenced-code-language -----
|
|
12045
12189
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
12046
12190
|
required?: string[];
|
|
12047
|
-
}]; // ----- markdown/
|
|
12191
|
+
}]; // ----- markdown/fenced-code-meta -----
|
|
12192
|
+
type MarkdownFencedCodeMeta = [] | [("always" | "never")]; // ----- markdown/heading-increment -----
|
|
12048
12193
|
type MarkdownHeadingIncrement = [] | [{
|
|
12049
12194
|
frontmatterTitle?: string;
|
|
12050
12195
|
}]; // ----- markdown/no-duplicate-definitions -----
|
|
12051
12196
|
type MarkdownNoDuplicateDefinitions = [] | [{
|
|
12052
12197
|
allowDefinitions?: string[];
|
|
12053
12198
|
allowFootnoteDefinitions?: string[];
|
|
12199
|
+
checkFootnoteDefinitions?: boolean;
|
|
12054
12200
|
}]; // ----- markdown/no-duplicate-headings -----
|
|
12055
12201
|
type MarkdownNoDuplicateHeadings = [] | [{
|
|
12056
12202
|
checkSiblingsOnly?: boolean;
|
|
@@ -12083,6 +12229,7 @@ type MarkdownNoSpaceInEmphasis = [] | [{
|
|
|
12083
12229
|
type MarkdownNoUnusedDefinitions = [] | [{
|
|
12084
12230
|
allowDefinitions?: string[];
|
|
12085
12231
|
allowFootnoteDefinitions?: string[];
|
|
12232
|
+
checkFootnoteDefinitions?: boolean;
|
|
12086
12233
|
}]; // ----- markdown/table-column-count -----
|
|
12087
12234
|
type MarkdownTableColumnCount = [] | [{
|
|
12088
12235
|
checkMissingCells?: boolean;
|
|
@@ -12683,7 +12830,6 @@ type NodeNoUnpublishedBin = [] | [{
|
|
|
12683
12830
|
exclude?: string[];
|
|
12684
12831
|
replace: [string, string];
|
|
12685
12832
|
})[]]);
|
|
12686
|
-
[k: string]: unknown | undefined;
|
|
12687
12833
|
}]; // ----- node/no-unpublished-import -----
|
|
12688
12834
|
type NodeNoUnpublishedImport = [] | [{
|
|
12689
12835
|
allowModules?: string[];
|
|
@@ -12737,7 +12883,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
12737
12883
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
12738
12884
|
version?: string;
|
|
12739
12885
|
allowExperimental?: boolean;
|
|
12740
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "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.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
12886
|
+
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.locks" | "navigator.locks.request" | "navigator.locks.query" | "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.decapsulateBits" | "crypto.subtle.decapsulateKey" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encapsulateBits" | "crypto.subtle.encapsulateKey" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.getPublicKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "SubtleCrypto.supports" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.decapsulateBits" | "crypto.webcrypto.subtle.decapsulateKey" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encapsulateBits" | "crypto.webcrypto.subtle.encapsulateKey" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.getPublicKey" | "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.argon2" | "crypto.argon2Sync" | "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.decapsulate" | "crypto.diffieHellman" | "crypto.encapsulate" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.mkdtempDisposable" | "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.mkdtempDisposableSync" | "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.Utf8Stream" | "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.mkdtempDisposable" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent()" | "http.Agent" | "http.ClientRequest()" | "http.ClientRequest" | "http.Server()" | "http.Server" | "http.ServerResponse()" | "http.ServerResponse" | "http.IncomingMessage()" | "http.IncomingMessage" | "http.OutgoingMessage()" | "http.OutgoingMessage" | "http.WebSocket()" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.webSocketCreated" | "inspector.Network.webSocketHandshakeResponseReceived" | "inspector.Network.webSocketClosed" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.Network.webSocketCreated" | "inspector/promises.Network.webSocketHandshakeResponseReceived" | "inspector/promises.Network.webSocketClosed" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.eventLoopUtilization" | "perf_hooks.timerify" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getAssetKeys" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getAssetKeys" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "_stream_duplex" | "_stream_passthrough" | "_stream_readable" | "_stream_transform" | "_stream_wrap" | "_stream_writable" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.Session" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.property" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "_tls_common" | "_tls_wrap" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "v8.startCpuProfile" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.threadName" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.locks" | "worker_threads.locks.request" | "worker_threads.locks.query" | "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.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
12741
12887
|
}]; // ----- node/prefer-global/buffer -----
|
|
12742
12888
|
type NodePreferGlobalBuffer = [] | [("always" | "never")]; // ----- node/prefer-global/console -----
|
|
12743
12889
|
type NodePreferGlobalConsole = [] | [("always" | "never")]; // ----- node/prefer-global/crypto -----
|
|
@@ -12837,26 +12983,132 @@ type OperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after"
|
|
|
12837
12983
|
overrides?: {
|
|
12838
12984
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
12839
12985
|
};
|
|
12840
|
-
}]; // ----- padded-blocks -----
|
|
12841
|
-
type PaddedBlocks = [] | [(("always" | "never") | {
|
|
12842
|
-
blocks?: ("always" | "never");
|
|
12843
|
-
switches?: ("always" | "never");
|
|
12844
|
-
classes?: ("always" | "never");
|
|
12845
|
-
})] | [(("always" | "never") | {
|
|
12846
|
-
blocks?: ("always" | "never");
|
|
12847
|
-
switches?: ("always" | "never");
|
|
12848
|
-
classes?: ("always" | "never");
|
|
12849
|
-
}), {
|
|
12850
|
-
allowSingleLineBlocks?: boolean;
|
|
12851
|
-
}]; // ----- padding-line-between-statements -----
|
|
12852
|
-
type _PaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12853
|
-
type _PaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with") | [("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"), ...(("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"))[]]);
|
|
12854
|
-
type PaddingLineBetweenStatements = {
|
|
12855
|
-
blankLine: _PaddingLineBetweenStatementsPaddingType;
|
|
12856
|
-
prev: _PaddingLineBetweenStatementsStatementType;
|
|
12857
|
-
next: _PaddingLineBetweenStatementsStatementType;
|
|
12858
|
-
}[]; // ----- perfectionist/sort-array-includes -----
|
|
12859
|
-
type PerfectionistSortArrayIncludes = {
|
|
12986
|
+
}]; // ----- padded-blocks -----
|
|
12987
|
+
type PaddedBlocks = [] | [(("always" | "never") | {
|
|
12988
|
+
blocks?: ("always" | "never");
|
|
12989
|
+
switches?: ("always" | "never");
|
|
12990
|
+
classes?: ("always" | "never");
|
|
12991
|
+
})] | [(("always" | "never") | {
|
|
12992
|
+
blocks?: ("always" | "never");
|
|
12993
|
+
switches?: ("always" | "never");
|
|
12994
|
+
classes?: ("always" | "never");
|
|
12995
|
+
}), {
|
|
12996
|
+
allowSingleLineBlocks?: boolean;
|
|
12997
|
+
}]; // ----- padding-line-between-statements -----
|
|
12998
|
+
type _PaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12999
|
+
type _PaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with") | [("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"), ...(("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"))[]]);
|
|
13000
|
+
type PaddingLineBetweenStatements = {
|
|
13001
|
+
blankLine: _PaddingLineBetweenStatementsPaddingType;
|
|
13002
|
+
prev: _PaddingLineBetweenStatementsStatementType;
|
|
13003
|
+
next: _PaddingLineBetweenStatementsStatementType;
|
|
13004
|
+
}[]; // ----- perfectionist/sort-array-includes -----
|
|
13005
|
+
type PerfectionistSortArrayIncludes = {
|
|
13006
|
+
fallbackSort?: {
|
|
13007
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13008
|
+
order?: ("asc" | "desc");
|
|
13009
|
+
};
|
|
13010
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13011
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
13012
|
+
ignoreCase?: boolean;
|
|
13013
|
+
alphabet?: string;
|
|
13014
|
+
locales?: (string | string[]);
|
|
13015
|
+
order?: ("asc" | "desc");
|
|
13016
|
+
customGroups?: ({
|
|
13017
|
+
fallbackSort?: {
|
|
13018
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13019
|
+
order?: ("asc" | "desc");
|
|
13020
|
+
};
|
|
13021
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13022
|
+
groupName: string;
|
|
13023
|
+
newlinesInside?: ("ignore" | number);
|
|
13024
|
+
order?: ("asc" | "desc");
|
|
13025
|
+
anyOf: [{
|
|
13026
|
+
elementNamePattern?: (({
|
|
13027
|
+
pattern: string;
|
|
13028
|
+
flags?: string;
|
|
13029
|
+
} | string)[] | ({
|
|
13030
|
+
pattern: string;
|
|
13031
|
+
flags?: string;
|
|
13032
|
+
} | string));
|
|
13033
|
+
selector?: "literal";
|
|
13034
|
+
}, ...({
|
|
13035
|
+
elementNamePattern?: (({
|
|
13036
|
+
pattern: string;
|
|
13037
|
+
flags?: string;
|
|
13038
|
+
} | string)[] | ({
|
|
13039
|
+
pattern: string;
|
|
13040
|
+
flags?: string;
|
|
13041
|
+
} | string));
|
|
13042
|
+
selector?: "literal";
|
|
13043
|
+
})[]];
|
|
13044
|
+
} | {
|
|
13045
|
+
fallbackSort?: {
|
|
13046
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13047
|
+
order?: ("asc" | "desc");
|
|
13048
|
+
};
|
|
13049
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13050
|
+
groupName: string;
|
|
13051
|
+
newlinesInside?: ("ignore" | number);
|
|
13052
|
+
order?: ("asc" | "desc");
|
|
13053
|
+
elementNamePattern?: (({
|
|
13054
|
+
pattern: string;
|
|
13055
|
+
flags?: string;
|
|
13056
|
+
} | string)[] | ({
|
|
13057
|
+
pattern: string;
|
|
13058
|
+
flags?: string;
|
|
13059
|
+
} | string));
|
|
13060
|
+
selector?: "literal";
|
|
13061
|
+
})[];
|
|
13062
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13063
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13064
|
+
newlinesBetween: ("ignore" | number);
|
|
13065
|
+
} | {
|
|
13066
|
+
group: (string | [string, ...(string)[]]);
|
|
13067
|
+
fallbackSort?: {
|
|
13068
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13069
|
+
order?: ("asc" | "desc");
|
|
13070
|
+
};
|
|
13071
|
+
commentAbove?: string;
|
|
13072
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13073
|
+
newlinesInside?: ("ignore" | number);
|
|
13074
|
+
order?: ("asc" | "desc");
|
|
13075
|
+
})[];
|
|
13076
|
+
newlinesBetween?: ("ignore" | number);
|
|
13077
|
+
useConfigurationIf?: {
|
|
13078
|
+
allNamesMatchPattern?: (({
|
|
13079
|
+
pattern: string;
|
|
13080
|
+
flags?: string;
|
|
13081
|
+
} | string)[] | ({
|
|
13082
|
+
pattern: string;
|
|
13083
|
+
flags?: string;
|
|
13084
|
+
} | string));
|
|
13085
|
+
matchesAstSelector?: string;
|
|
13086
|
+
};
|
|
13087
|
+
partitionByComment?: (boolean | (({
|
|
13088
|
+
pattern: string;
|
|
13089
|
+
flags?: string;
|
|
13090
|
+
} | string)[] | ({
|
|
13091
|
+
pattern: string;
|
|
13092
|
+
flags?: string;
|
|
13093
|
+
} | string)) | {
|
|
13094
|
+
block?: (boolean | (({
|
|
13095
|
+
pattern: string;
|
|
13096
|
+
flags?: string;
|
|
13097
|
+
} | string)[] | ({
|
|
13098
|
+
pattern: string;
|
|
13099
|
+
flags?: string;
|
|
13100
|
+
} | string)));
|
|
13101
|
+
line?: (boolean | (({
|
|
13102
|
+
pattern: string;
|
|
13103
|
+
flags?: string;
|
|
13104
|
+
} | string)[] | ({
|
|
13105
|
+
pattern: string;
|
|
13106
|
+
flags?: string;
|
|
13107
|
+
} | string)));
|
|
13108
|
+
});
|
|
13109
|
+
partitionByNewLine?: boolean;
|
|
13110
|
+
}[]; // ----- perfectionist/sort-arrays -----
|
|
13111
|
+
type PerfectionistSortArrays = {
|
|
12860
13112
|
fallbackSort?: {
|
|
12861
13113
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
12862
13114
|
order?: ("asc" | "desc");
|
|
@@ -12928,7 +13180,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12928
13180
|
order?: ("asc" | "desc");
|
|
12929
13181
|
})[];
|
|
12930
13182
|
newlinesBetween?: ("ignore" | number);
|
|
12931
|
-
useConfigurationIf
|
|
13183
|
+
useConfigurationIf: {
|
|
12932
13184
|
allNamesMatchPattern?: (({
|
|
12933
13185
|
pattern: string;
|
|
12934
13186
|
flags?: string;
|
|
@@ -12936,6 +13188,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12936
13188
|
pattern: string;
|
|
12937
13189
|
flags?: string;
|
|
12938
13190
|
} | string));
|
|
13191
|
+
matchesAstSelector?: string;
|
|
12939
13192
|
};
|
|
12940
13193
|
partitionByComment?: (boolean | (({
|
|
12941
13194
|
pattern: string;
|
|
@@ -12961,7 +13214,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12961
13214
|
});
|
|
12962
13215
|
partitionByNewLine?: boolean;
|
|
12963
13216
|
}[]; // ----- perfectionist/sort-classes -----
|
|
12964
|
-
type PerfectionistSortClasses =
|
|
13217
|
+
type PerfectionistSortClasses = {
|
|
12965
13218
|
fallbackSort?: {
|
|
12966
13219
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
12967
13220
|
order?: ("asc" | "desc");
|
|
@@ -13078,7 +13331,18 @@ type PerfectionistSortClasses = [] | [{
|
|
|
13078
13331
|
order?: ("asc" | "desc");
|
|
13079
13332
|
})[];
|
|
13080
13333
|
newlinesBetween?: ("ignore" | number);
|
|
13334
|
+
useConfigurationIf?: {
|
|
13335
|
+
allNamesMatchPattern?: (({
|
|
13336
|
+
pattern: string;
|
|
13337
|
+
flags?: string;
|
|
13338
|
+
} | string)[] | ({
|
|
13339
|
+
pattern: string;
|
|
13340
|
+
flags?: string;
|
|
13341
|
+
} | string));
|
|
13342
|
+
matchesAstSelector?: string;
|
|
13343
|
+
};
|
|
13081
13344
|
useExperimentalDependencyDetection?: boolean;
|
|
13345
|
+
newlinesBetweenOverloadSignatures?: ("ignore" | number);
|
|
13082
13346
|
ignoreCallbackDependenciesPatterns?: (({
|
|
13083
13347
|
pattern: string;
|
|
13084
13348
|
flags?: string;
|
|
@@ -13109,7 +13373,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
13109
13373
|
} | string)));
|
|
13110
13374
|
});
|
|
13111
13375
|
partitionByNewLine?: boolean;
|
|
13112
|
-
}]; // ----- perfectionist/sort-decorators -----
|
|
13376
|
+
}[]; // ----- perfectionist/sort-decorators -----
|
|
13113
13377
|
type PerfectionistSortDecorators = {
|
|
13114
13378
|
fallbackSort?: {
|
|
13115
13379
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13208,7 +13472,7 @@ type PerfectionistSortDecorators = {
|
|
|
13208
13472
|
});
|
|
13209
13473
|
partitionByNewLine?: boolean;
|
|
13210
13474
|
}[]; // ----- perfectionist/sort-enums -----
|
|
13211
|
-
type PerfectionistSortEnums =
|
|
13475
|
+
type PerfectionistSortEnums = {
|
|
13212
13476
|
fallbackSort?: {
|
|
13213
13477
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13214
13478
|
order?: ("asc" | "desc");
|
|
@@ -13298,6 +13562,16 @@ type PerfectionistSortEnums = [] | [{
|
|
|
13298
13562
|
order?: ("asc" | "desc");
|
|
13299
13563
|
})[];
|
|
13300
13564
|
newlinesBetween?: ("ignore" | number);
|
|
13565
|
+
useConfigurationIf?: {
|
|
13566
|
+
allNamesMatchPattern?: (({
|
|
13567
|
+
pattern: string;
|
|
13568
|
+
flags?: string;
|
|
13569
|
+
} | string)[] | ({
|
|
13570
|
+
pattern: string;
|
|
13571
|
+
flags?: string;
|
|
13572
|
+
} | string));
|
|
13573
|
+
matchesAstSelector?: string;
|
|
13574
|
+
};
|
|
13301
13575
|
sortByValue?: ("always" | "ifNumericEnum" | "never");
|
|
13302
13576
|
useExperimentalDependencyDetection?: boolean;
|
|
13303
13577
|
partitionByComment?: (boolean | (({
|
|
@@ -13323,7 +13597,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
13323
13597
|
} | string)));
|
|
13324
13598
|
});
|
|
13325
13599
|
partitionByNewLine?: boolean;
|
|
13326
|
-
}]; // ----- perfectionist/sort-export-attributes -----
|
|
13600
|
+
}[]; // ----- perfectionist/sort-export-attributes -----
|
|
13327
13601
|
type PerfectionistSortExportAttributes = {
|
|
13328
13602
|
fallbackSort?: {
|
|
13329
13603
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13393,6 +13667,16 @@ type PerfectionistSortExportAttributes = {
|
|
|
13393
13667
|
order?: ("asc" | "desc");
|
|
13394
13668
|
})[];
|
|
13395
13669
|
newlinesBetween?: ("ignore" | number);
|
|
13670
|
+
useConfigurationIf?: {
|
|
13671
|
+
allNamesMatchPattern?: (({
|
|
13672
|
+
pattern: string;
|
|
13673
|
+
flags?: string;
|
|
13674
|
+
} | string)[] | ({
|
|
13675
|
+
pattern: string;
|
|
13676
|
+
flags?: string;
|
|
13677
|
+
} | string));
|
|
13678
|
+
matchesAstSelector?: string;
|
|
13679
|
+
};
|
|
13396
13680
|
partitionByComment?: (boolean | (({
|
|
13397
13681
|
pattern: string;
|
|
13398
13682
|
flags?: string;
|
|
@@ -13585,6 +13869,16 @@ type PerfectionistSortHeritageClauses = {
|
|
|
13585
13869
|
order?: ("asc" | "desc");
|
|
13586
13870
|
})[];
|
|
13587
13871
|
newlinesBetween?: ("ignore" | number);
|
|
13872
|
+
useConfigurationIf?: {
|
|
13873
|
+
allNamesMatchPattern?: (({
|
|
13874
|
+
pattern: string;
|
|
13875
|
+
flags?: string;
|
|
13876
|
+
} | string)[] | ({
|
|
13877
|
+
pattern: string;
|
|
13878
|
+
flags?: string;
|
|
13879
|
+
} | string));
|
|
13880
|
+
matchesAstSelector?: string;
|
|
13881
|
+
};
|
|
13588
13882
|
partitionByNewLine?: boolean;
|
|
13589
13883
|
partitionByComment?: (boolean | (({
|
|
13590
13884
|
pattern: string;
|
|
@@ -13678,6 +13972,16 @@ type PerfectionistSortImportAttributes = {
|
|
|
13678
13972
|
order?: ("asc" | "desc");
|
|
13679
13973
|
})[];
|
|
13680
13974
|
newlinesBetween?: ("ignore" | number);
|
|
13975
|
+
useConfigurationIf?: {
|
|
13976
|
+
allNamesMatchPattern?: (({
|
|
13977
|
+
pattern: string;
|
|
13978
|
+
flags?: string;
|
|
13979
|
+
} | string)[] | ({
|
|
13980
|
+
pattern: string;
|
|
13981
|
+
flags?: string;
|
|
13982
|
+
} | string));
|
|
13983
|
+
matchesAstSelector?: string;
|
|
13984
|
+
};
|
|
13681
13985
|
partitionByComment?: (boolean | (({
|
|
13682
13986
|
pattern: string;
|
|
13683
13987
|
flags?: string;
|
|
@@ -13946,6 +14250,7 @@ type PerfectionistSortInterfaces = {
|
|
|
13946
14250
|
pattern: string;
|
|
13947
14251
|
flags?: string;
|
|
13948
14252
|
} | string));
|
|
14253
|
+
matchesAstSelector?: string;
|
|
13949
14254
|
declarationMatchesPattern?: (({
|
|
13950
14255
|
scope?: ("shallow" | "deep");
|
|
13951
14256
|
pattern: string;
|
|
@@ -14052,6 +14357,16 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
14052
14357
|
order?: ("asc" | "desc");
|
|
14053
14358
|
})[];
|
|
14054
14359
|
newlinesBetween?: ("ignore" | number);
|
|
14360
|
+
useConfigurationIf?: {
|
|
14361
|
+
allNamesMatchPattern?: (({
|
|
14362
|
+
pattern: string;
|
|
14363
|
+
flags?: string;
|
|
14364
|
+
} | string)[] | ({
|
|
14365
|
+
pattern: string;
|
|
14366
|
+
flags?: string;
|
|
14367
|
+
} | string));
|
|
14368
|
+
matchesAstSelector?: string;
|
|
14369
|
+
};
|
|
14055
14370
|
partitionByComment?: (boolean | (({
|
|
14056
14371
|
pattern: string;
|
|
14057
14372
|
flags?: string;
|
|
@@ -14180,6 +14495,7 @@ type PerfectionistSortJsxProps = {
|
|
|
14180
14495
|
pattern: string;
|
|
14181
14496
|
flags?: string;
|
|
14182
14497
|
} | string));
|
|
14498
|
+
matchesAstSelector?: string;
|
|
14183
14499
|
tagMatchesPattern?: (({
|
|
14184
14500
|
pattern: string;
|
|
14185
14501
|
flags?: string;
|
|
@@ -14267,6 +14583,7 @@ type PerfectionistSortMaps = {
|
|
|
14267
14583
|
pattern: string;
|
|
14268
14584
|
flags?: string;
|
|
14269
14585
|
} | string));
|
|
14586
|
+
matchesAstSelector?: string;
|
|
14270
14587
|
};
|
|
14271
14588
|
partitionByComment?: (boolean | (({
|
|
14272
14589
|
pattern: string;
|
|
@@ -14389,6 +14706,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
14389
14706
|
})[];
|
|
14390
14707
|
newlinesBetween?: ("ignore" | number);
|
|
14391
14708
|
useExperimentalDependencyDetection?: boolean;
|
|
14709
|
+
newlinesBetweenOverloadSignatures?: ("ignore" | number);
|
|
14392
14710
|
partitionByComment?: (boolean | (({
|
|
14393
14711
|
pattern: string;
|
|
14394
14712
|
flags?: string;
|
|
@@ -14488,6 +14806,16 @@ type PerfectionistSortNamedExports = {
|
|
|
14488
14806
|
order?: ("asc" | "desc");
|
|
14489
14807
|
})[];
|
|
14490
14808
|
newlinesBetween?: ("ignore" | number);
|
|
14809
|
+
useConfigurationIf?: {
|
|
14810
|
+
allNamesMatchPattern?: (({
|
|
14811
|
+
pattern: string;
|
|
14812
|
+
flags?: string;
|
|
14813
|
+
} | string)[] | ({
|
|
14814
|
+
pattern: string;
|
|
14815
|
+
flags?: string;
|
|
14816
|
+
} | string));
|
|
14817
|
+
matchesAstSelector?: string;
|
|
14818
|
+
};
|
|
14491
14819
|
ignoreAlias?: boolean;
|
|
14492
14820
|
partitionByComment?: (boolean | (({
|
|
14493
14821
|
pattern: string;
|
|
@@ -14588,6 +14916,16 @@ type PerfectionistSortNamedImports = {
|
|
|
14588
14916
|
order?: ("asc" | "desc");
|
|
14589
14917
|
})[];
|
|
14590
14918
|
newlinesBetween?: ("ignore" | number);
|
|
14919
|
+
useConfigurationIf?: {
|
|
14920
|
+
allNamesMatchPattern?: (({
|
|
14921
|
+
pattern: string;
|
|
14922
|
+
flags?: string;
|
|
14923
|
+
} | string)[] | ({
|
|
14924
|
+
pattern: string;
|
|
14925
|
+
flags?: string;
|
|
14926
|
+
} | string));
|
|
14927
|
+
matchesAstSelector?: string;
|
|
14928
|
+
};
|
|
14591
14929
|
ignoreAlias?: boolean;
|
|
14592
14930
|
partitionByComment?: (boolean | (({
|
|
14593
14931
|
pattern: string;
|
|
@@ -14735,6 +15073,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
14735
15073
|
pattern: string;
|
|
14736
15074
|
flags?: string;
|
|
14737
15075
|
} | string));
|
|
15076
|
+
matchesAstSelector?: string;
|
|
14738
15077
|
declarationMatchesPattern?: (({
|
|
14739
15078
|
scope?: ("shallow" | "deep");
|
|
14740
15079
|
pattern: string;
|
|
@@ -14901,6 +15240,7 @@ type PerfectionistSortObjects = {
|
|
|
14901
15240
|
pattern: string;
|
|
14902
15241
|
flags?: string;
|
|
14903
15242
|
} | string));
|
|
15243
|
+
matchesAstSelector?: string;
|
|
14904
15244
|
declarationMatchesPattern?: (({
|
|
14905
15245
|
scope?: ("shallow" | "deep");
|
|
14906
15246
|
pattern: string;
|
|
@@ -14911,6 +15251,7 @@ type PerfectionistSortObjects = {
|
|
|
14911
15251
|
flags?: string;
|
|
14912
15252
|
} | string));
|
|
14913
15253
|
};
|
|
15254
|
+
partitionByComputedKey?: boolean;
|
|
14914
15255
|
styledComponents?: boolean;
|
|
14915
15256
|
useExperimentalDependencyDetection?: boolean;
|
|
14916
15257
|
partitionByComment?: (boolean | (({
|
|
@@ -15017,6 +15358,7 @@ type PerfectionistSortSets = {
|
|
|
15017
15358
|
pattern: string;
|
|
15018
15359
|
flags?: string;
|
|
15019
15360
|
} | string));
|
|
15361
|
+
matchesAstSelector?: string;
|
|
15020
15362
|
};
|
|
15021
15363
|
partitionByComment?: (boolean | (({
|
|
15022
15364
|
pattern: string;
|
|
@@ -15126,6 +15468,16 @@ type PerfectionistSortUnionTypes = {
|
|
|
15126
15468
|
order?: ("asc" | "desc");
|
|
15127
15469
|
})[];
|
|
15128
15470
|
newlinesBetween?: ("ignore" | number);
|
|
15471
|
+
useConfigurationIf?: {
|
|
15472
|
+
allNamesMatchPattern?: (({
|
|
15473
|
+
pattern: string;
|
|
15474
|
+
flags?: string;
|
|
15475
|
+
} | string)[] | ({
|
|
15476
|
+
pattern: string;
|
|
15477
|
+
flags?: string;
|
|
15478
|
+
} | string));
|
|
15479
|
+
matchesAstSelector?: string;
|
|
15480
|
+
};
|
|
15129
15481
|
partitionByComment?: (boolean | (({
|
|
15130
15482
|
pattern: string;
|
|
15131
15483
|
flags?: string;
|
|
@@ -15150,7 +15502,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
15150
15502
|
});
|
|
15151
15503
|
partitionByNewLine?: boolean;
|
|
15152
15504
|
}[]; // ----- perfectionist/sort-variable-declarations -----
|
|
15153
|
-
type PerfectionistSortVariableDeclarations =
|
|
15505
|
+
type PerfectionistSortVariableDeclarations = {
|
|
15154
15506
|
fallbackSort?: {
|
|
15155
15507
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
15156
15508
|
order?: ("asc" | "desc");
|
|
@@ -15222,6 +15574,16 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
15222
15574
|
order?: ("asc" | "desc");
|
|
15223
15575
|
})[];
|
|
15224
15576
|
newlinesBetween?: ("ignore" | number);
|
|
15577
|
+
useConfigurationIf?: {
|
|
15578
|
+
allNamesMatchPattern?: (({
|
|
15579
|
+
pattern: string;
|
|
15580
|
+
flags?: string;
|
|
15581
|
+
} | string)[] | ({
|
|
15582
|
+
pattern: string;
|
|
15583
|
+
flags?: string;
|
|
15584
|
+
} | string));
|
|
15585
|
+
matchesAstSelector?: string;
|
|
15586
|
+
};
|
|
15225
15587
|
useExperimentalDependencyDetection?: boolean;
|
|
15226
15588
|
partitionByComment?: (boolean | (({
|
|
15227
15589
|
pattern: string;
|
|
@@ -15246,7 +15608,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
15246
15608
|
} | string)));
|
|
15247
15609
|
});
|
|
15248
15610
|
partitionByNewLine?: boolean;
|
|
15249
|
-
}]; // ----- pnpm/json-enforce-catalog -----
|
|
15611
|
+
}[]; // ----- pnpm/json-enforce-catalog -----
|
|
15250
15612
|
type PnpmJsonEnforceCatalog = [] | [{
|
|
15251
15613
|
allowedProtocols?: string[];
|
|
15252
15614
|
autofix?: boolean;
|
|
@@ -15334,143 +15696,54 @@ type Quotes = [] | [("single" | "double" | "backtick")] | [("single" | "double"
|
|
|
15334
15696
|
avoidEscape?: boolean;
|
|
15335
15697
|
allowTemplateLiterals?: boolean;
|
|
15336
15698
|
})]; // ----- radix -----
|
|
15337
|
-
type Radix = [] | [("always" | "as-needed")]; // ----- react-
|
|
15699
|
+
type Radix = [] | [("always" | "as-needed")]; // ----- react-refresh/only-export-components -----
|
|
15700
|
+
type ReactRefreshOnlyExportComponents = [] | [{
|
|
15701
|
+
extraHOCs?: string[];
|
|
15702
|
+
allowExportNames?: string[];
|
|
15703
|
+
allowConstantExport?: boolean;
|
|
15704
|
+
checkJS?: boolean;
|
|
15705
|
+
}]; // ----- react/dom-no-unknown-property -----
|
|
15338
15706
|
type ReactDomNoUnknownProperty = [] | [{
|
|
15339
15707
|
ignore?: string[];
|
|
15340
15708
|
requireDataLowercase?: boolean;
|
|
15341
|
-
}]; // ----- react
|
|
15342
|
-
type
|
|
15343
|
-
[k: string]: unknown | undefined;
|
|
15344
|
-
}]; // ----- react-hooks/capitalized-calls -----
|
|
15345
|
-
type ReactHooksCapitalizedCalls = [] | [{
|
|
15346
|
-
[k: string]: unknown | undefined;
|
|
15347
|
-
}]; // ----- react-hooks/component-hook-factories -----
|
|
15348
|
-
type ReactHooksComponentHookFactories = [] | [{
|
|
15349
|
-
[k: string]: unknown | undefined;
|
|
15350
|
-
}]; // ----- react-hooks/config -----
|
|
15351
|
-
type ReactHooksConfig = [] | [{
|
|
15352
|
-
[k: string]: unknown | undefined;
|
|
15353
|
-
}]; // ----- react-hooks/error-boundaries -----
|
|
15354
|
-
type ReactHooksErrorBoundaries = [] | [{
|
|
15355
|
-
[k: string]: unknown | undefined;
|
|
15356
|
-
}]; // ----- react-hooks/exhaustive-deps -----
|
|
15357
|
-
type ReactHooksExhaustiveDeps = [] | [{
|
|
15709
|
+
}]; // ----- react/exhaustive-deps -----
|
|
15710
|
+
type ReactExhaustiveDeps = [] | [{
|
|
15358
15711
|
additionalHooks?: string;
|
|
15359
15712
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
15360
15713
|
experimental_autoDependenciesHooks?: string[];
|
|
15361
15714
|
requireExplicitEffectDeps?: boolean;
|
|
15362
|
-
}]; // ----- react-
|
|
15363
|
-
type
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
}]; // ----- react-hooks/globals -----
|
|
15372
|
-
type ReactHooksGlobals = [] | [{
|
|
15373
|
-
[k: string]: unknown | undefined;
|
|
15374
|
-
}]; // ----- react-hooks/hooks -----
|
|
15375
|
-
type ReactHooksHooks = [] | [{
|
|
15376
|
-
[k: string]: unknown | undefined;
|
|
15377
|
-
}]; // ----- react-hooks/immutability -----
|
|
15378
|
-
type ReactHooksImmutability = [] | [{
|
|
15379
|
-
[k: string]: unknown | undefined;
|
|
15380
|
-
}]; // ----- react-hooks/incompatible-library -----
|
|
15381
|
-
type ReactHooksIncompatibleLibrary = [] | [{
|
|
15382
|
-
[k: string]: unknown | undefined;
|
|
15383
|
-
}]; // ----- react-hooks/invariant -----
|
|
15384
|
-
type ReactHooksInvariant = [] | [{
|
|
15385
|
-
[k: string]: unknown | undefined;
|
|
15386
|
-
}]; // ----- react-hooks/memoized-effect-dependencies -----
|
|
15387
|
-
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
15388
|
-
[k: string]: unknown | undefined;
|
|
15389
|
-
}]; // ----- react-hooks/no-deriving-state-in-effects -----
|
|
15390
|
-
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
15391
|
-
[k: string]: unknown | undefined;
|
|
15392
|
-
}]; // ----- react-hooks/preserve-manual-memoization -----
|
|
15393
|
-
type ReactHooksPreserveManualMemoization = [] | [{
|
|
15394
|
-
[k: string]: unknown | undefined;
|
|
15395
|
-
}]; // ----- react-hooks/purity -----
|
|
15396
|
-
type ReactHooksPurity = [] | [{
|
|
15397
|
-
[k: string]: unknown | undefined;
|
|
15398
|
-
}]; // ----- react-hooks/refs -----
|
|
15399
|
-
type ReactHooksRefs = [] | [{
|
|
15400
|
-
[k: string]: unknown | undefined;
|
|
15401
|
-
}]; // ----- react-hooks/rule-suppression -----
|
|
15402
|
-
type ReactHooksRuleSuppression = [] | [{
|
|
15403
|
-
[k: string]: unknown | undefined;
|
|
15404
|
-
}]; // ----- react-hooks/rules-of-hooks -----
|
|
15405
|
-
type ReactHooksRulesOfHooks = [] | [{
|
|
15715
|
+
}]; // ----- react/jsx-no-useless-fragment -----
|
|
15716
|
+
type ReactJsxNoUselessFragment = [] | [{
|
|
15717
|
+
allowEmptyFragment?: boolean;
|
|
15718
|
+
allowExpressions?: boolean;
|
|
15719
|
+
}]; // ----- react/no-unstable-default-props -----
|
|
15720
|
+
type ReactNoUnstableDefaultProps = [] | [{
|
|
15721
|
+
safeDefaultProps?: string[];
|
|
15722
|
+
}]; // ----- react/rules-of-hooks -----
|
|
15723
|
+
type ReactRulesOfHooks = [] | [{
|
|
15406
15724
|
additionalHooks?: string;
|
|
15407
|
-
}]; // ----- react
|
|
15408
|
-
type
|
|
15409
|
-
[k: string]: unknown | undefined;
|
|
15410
|
-
}]; // ----- react-hooks/set-state-in-render -----
|
|
15411
|
-
type ReactHooksSetStateInRender = [] | [{
|
|
15412
|
-
[k: string]: unknown | undefined;
|
|
15413
|
-
}]; // ----- react-hooks/static-components -----
|
|
15414
|
-
type ReactHooksStaticComponents = [] | [{
|
|
15415
|
-
[k: string]: unknown | undefined;
|
|
15416
|
-
}]; // ----- react-hooks/syntax -----
|
|
15417
|
-
type ReactHooksSyntax = [] | [{
|
|
15418
|
-
[k: string]: unknown | undefined;
|
|
15419
|
-
}]; // ----- react-hooks/todo -----
|
|
15420
|
-
type ReactHooksTodo = [] | [{
|
|
15421
|
-
[k: string]: unknown | undefined;
|
|
15422
|
-
}]; // ----- react-hooks/unsupported-syntax -----
|
|
15423
|
-
type ReactHooksUnsupportedSyntax = [] | [{
|
|
15424
|
-
[k: string]: unknown | undefined;
|
|
15425
|
-
}]; // ----- react-hooks/use-memo -----
|
|
15426
|
-
type ReactHooksUseMemo = [] | [{
|
|
15427
|
-
[k: string]: unknown | undefined;
|
|
15428
|
-
}]; // ----- react-hooks/void-use-memo -----
|
|
15429
|
-
type ReactHooksVoidUseMemo = [] | [{
|
|
15430
|
-
[k: string]: unknown | undefined;
|
|
15431
|
-
}]; // ----- react-naming-convention/component-name -----
|
|
15432
|
-
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
15433
|
-
allowAllCaps?: boolean;
|
|
15434
|
-
excepts?: string[];
|
|
15435
|
-
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
15436
|
-
})]; // ----- react-naming-convention/filename -----
|
|
15437
|
-
type ReactNamingConventionFilename = [] | [(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
15438
|
-
excepts?: string[];
|
|
15439
|
-
extensions?: string[];
|
|
15440
|
-
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case");
|
|
15441
|
-
})]; // ----- react-naming-convention/filename-extension -----
|
|
15442
|
-
type ReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") | {
|
|
15443
|
-
allow?: ("always" | "as-needed");
|
|
15444
|
-
extensions?: string[];
|
|
15445
|
-
ignoreFilesWithoutCode?: boolean;
|
|
15446
|
-
})]; // ----- react-naming-convention/use-state -----
|
|
15447
|
-
type ReactNamingConventionUseState = [] | [{
|
|
15725
|
+
}]; // ----- react/use-state -----
|
|
15726
|
+
type ReactUseState = [] | [{
|
|
15448
15727
|
enforceAssignment?: boolean;
|
|
15728
|
+
enforceLazyInitialization?: boolean;
|
|
15449
15729
|
enforceSetterName?: boolean;
|
|
15450
|
-
}]; // ----- react
|
|
15451
|
-
type
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
}]; // ----- react/
|
|
15457
|
-
type
|
|
15458
|
-
type ReactJsxShorthandFragment = [] | [(-1 | 1)]; // ----- react/no-forbidden-props -----
|
|
15459
|
-
type ReactNoForbiddenProps = [] | [{
|
|
15460
|
-
forbid?: (string | {
|
|
15461
|
-
excludedNodes?: string[];
|
|
15462
|
-
prop: string;
|
|
15463
|
-
} | {
|
|
15464
|
-
includedNodes?: string[];
|
|
15465
|
-
prop: string;
|
|
15466
|
-
})[];
|
|
15467
|
-
}]; // ----- react/no-unstable-default-props -----
|
|
15468
|
-
type ReactNoUnstableDefaultProps = [] | [{
|
|
15730
|
+
}]; // ----- react/x-exhaustive-deps -----
|
|
15731
|
+
type ReactXExhaustiveDeps = [] | [{
|
|
15732
|
+
additionalHooks?: string;
|
|
15733
|
+
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
15734
|
+
experimental_autoDependenciesHooks?: string[];
|
|
15735
|
+
requireExplicitEffectDeps?: boolean;
|
|
15736
|
+
}]; // ----- react/x-no-unstable-default-props -----
|
|
15737
|
+
type ReactXNoUnstableDefaultProps = [] | [{
|
|
15469
15738
|
safeDefaultProps?: string[];
|
|
15470
|
-
}]; // ----- react/
|
|
15471
|
-
type
|
|
15472
|
-
|
|
15473
|
-
|
|
15739
|
+
}]; // ----- react/x-rules-of-hooks -----
|
|
15740
|
+
type ReactXRulesOfHooks = [] | [{
|
|
15741
|
+
additionalHooks?: string;
|
|
15742
|
+
}]; // ----- react/x-use-state -----
|
|
15743
|
+
type ReactXUseState = [] | [{
|
|
15744
|
+
enforceAssignment?: boolean;
|
|
15745
|
+
enforceLazyInitialization?: boolean;
|
|
15746
|
+
enforceSetterName?: boolean;
|
|
15474
15747
|
}]; // ----- regexp/hexadecimal-escape -----
|
|
15475
15748
|
type RegexpHexadecimalEscape = [] | [("always" | "never")]; // ----- regexp/letter-case -----
|
|
15476
15749
|
type RegexpLetterCase = [] | [{
|
|
@@ -15636,16 +15909,7 @@ type SonarContentLength = [] | [{
|
|
|
15636
15909
|
}]; // ----- sonar/cyclomatic-complexity -----
|
|
15637
15910
|
type SonarCyclomaticComplexity = [] | [{
|
|
15638
15911
|
threshold?: number;
|
|
15639
|
-
}]; // ----- sonar/
|
|
15640
|
-
type SonarEnforceTrailingComma = [] | [(_SonarEnforceTrailingCommaValue | {
|
|
15641
|
-
arrays?: _SonarEnforceTrailingCommaValueWithIgnore;
|
|
15642
|
-
objects?: _SonarEnforceTrailingCommaValueWithIgnore;
|
|
15643
|
-
imports?: _SonarEnforceTrailingCommaValueWithIgnore;
|
|
15644
|
-
exports?: _SonarEnforceTrailingCommaValueWithIgnore;
|
|
15645
|
-
functions?: _SonarEnforceTrailingCommaValueWithIgnore;
|
|
15646
|
-
})];
|
|
15647
|
-
type _SonarEnforceTrailingCommaValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
15648
|
-
type _SonarEnforceTrailingCommaValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline"); // ----- sonar/expression-complexity -----
|
|
15912
|
+
}]; // ----- sonar/expression-complexity -----
|
|
15649
15913
|
type SonarExpressionComplexity = [] | [{
|
|
15650
15914
|
max?: number;
|
|
15651
15915
|
}]; // ----- sonar/file-header -----
|
|
@@ -17180,6 +17444,9 @@ type TestRequireMockTypeParameters = [] | [{
|
|
|
17180
17444
|
}]; // ----- test/require-top-level-describe -----
|
|
17181
17445
|
type TestRequireTopLevelDescribe = [] | [{
|
|
17182
17446
|
maxNumberOfTopLevelDescribes?: number;
|
|
17447
|
+
}]; // ----- test/unbound-method -----
|
|
17448
|
+
type TestUnboundMethod = [] | [{
|
|
17449
|
+
ignoreStatic?: boolean;
|
|
17183
17450
|
}]; // ----- test/valid-expect -----
|
|
17184
17451
|
type TestValidExpect = [] | [{
|
|
17185
17452
|
alwaysAwait?: boolean;
|
|
@@ -18224,6 +18491,7 @@ type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/ex
|
|
|
18224
18491
|
type UnicornExpiringTodoComments = [] | [{
|
|
18225
18492
|
terms?: string[];
|
|
18226
18493
|
ignore?: unknown[];
|
|
18494
|
+
ignoreDates?: boolean;
|
|
18227
18495
|
ignoreDatesOnPullRequests?: boolean;
|
|
18228
18496
|
allowWarningComments?: boolean;
|
|
18229
18497
|
date?: string;
|
|
@@ -18380,6 +18648,9 @@ type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbrevia
|
|
|
18380
18648
|
interface _UnicornPreventAbbreviations_Abbreviations {
|
|
18381
18649
|
[k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
|
|
18382
18650
|
}
|
|
18651
|
+
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
18652
|
+
[k: string]: boolean | undefined;
|
|
18653
|
+
}
|
|
18383
18654
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
18384
18655
|
[k: string]: boolean | undefined;
|
|
18385
18656
|
} // ----- unicorn/relative-url-style -----
|
|
@@ -19212,6 +19483,9 @@ type VueNoIrregularWhitespace = [] | [{
|
|
|
19212
19483
|
skipRegExps?: boolean;
|
|
19213
19484
|
skipHTMLAttributeValues?: boolean;
|
|
19214
19485
|
skipHTMLTextContents?: boolean;
|
|
19486
|
+
}]; // ----- vue/no-literals-in-template -----
|
|
19487
|
+
type VueNoLiteralsInTemplate = [] | [{
|
|
19488
|
+
ignores?: string[];
|
|
19215
19489
|
}]; // ----- vue/no-lone-template -----
|
|
19216
19490
|
type VueNoLoneTemplate = [] | [{
|
|
19217
19491
|
ignoreAccessible?: boolean;
|
|
@@ -19366,7 +19640,7 @@ type VueNoUnusedComponents = [] | [{
|
|
|
19366
19640
|
ignoreWhenBindingPresent?: boolean;
|
|
19367
19641
|
}]; // ----- vue/no-unused-properties -----
|
|
19368
19642
|
type VueNoUnusedProperties = [] | [{
|
|
19369
|
-
groups?: ("props" | "data" | "asyncData" | "computed" | "methods" | "setup")[];
|
|
19643
|
+
groups?: ("props" | "data" | "asyncData" | "computed" | "methods" | "setup" | "inject")[];
|
|
19370
19644
|
deepData?: boolean;
|
|
19371
19645
|
ignorePublicMembers?: boolean;
|
|
19372
19646
|
unreferencedOptions?: ("unknownMemberAsUnreferenced" | "returnAsUnreferenced")[];
|
|
@@ -19763,7 +20037,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
19763
20037
|
exceptRange?: boolean;
|
|
19764
20038
|
onlyEquality?: boolean;
|
|
19765
20039
|
}]; // Names of all the configs
|
|
19766
|
-
type ConfigNames = 'vinicunca/gitignore' | 'vinicunca/ignores' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/
|
|
20040
|
+
type ConfigNames = 'vinicunca/gitignore' | 'vinicunca/ignores' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/command/rules' | 'vinicunca/sonar/rules' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/jsdoc/setup' | 'vinicunca/jsdoc/rules' | 'vinicunca/imports/rules' | 'vinicunca/e18e/rules' | 'vinicunca/unicorn/rules' | 'antfu/jsx/setup' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/type-aware-parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'antfu/typescript/erasable-syntax-only' | 'vinicunca/stylistic/rules' | 'vinicunca/regexp/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/react/typescript' | 'vinicunca/react/type-aware-rules' | 'vinicunca/nextjs/setup' | 'vinicunca/nextjs/rules' | 'vinicunca/solid/setup' | 'vinicunca/solid/rules' | 'vinicunca/svelte/setup' | 'vinicunca/svelte/rules' | 'vinicunca/unocss' | 'vinicunca/astro/setup' | 'vinicunca/astro/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/sort/package-json' | 'vinicunca/sort/tsconfig' | 'vinicunca/pnpm/package-json' | 'vinicunca/pnpm/pnpm-workspace-yaml' | 'vinicunca/pnpm/pnpm-workspace-yaml-sort' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules' | 'vinicunca/toml/setup' | 'vinicunca/toml/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/rules' | 'vinicunca/markdown/disables/markdown' | 'vinicunca/markdown/disables' | 'vinicunca/formatter/setup' | 'vinicunca/formatter/css' | 'vinicunca/formatter/scss' | 'vinicunca/formatter/less' | 'vinicunca/formatter/html' | 'vinicunca/formatter/xml' | 'vinicunca/formatter/svg' | 'vinicunca/formatter/markdown' | 'vinicunca/formatter/astro' | 'vinicunca/formatter/astro/disables' | 'vinicunca/formatter/graphql' | 'vinicunca/disables/scripts' | 'vinicunca/disables/cli' | 'vinicunca/disables/bin' | 'vinicunca/disables/dts' | 'vinicunca/disables/cjs' | 'vinicunca/disables/config-files';
|
|
19767
20041
|
//#endregion
|
|
19768
20042
|
//#region src/vendor/prettier-types.d.ts
|
|
19769
20043
|
/**
|
|
@@ -20098,7 +20372,7 @@ interface OptionsHasTypeScript {
|
|
|
20098
20372
|
interface OptionsStylistic {
|
|
20099
20373
|
stylistic?: boolean | StylisticConfig;
|
|
20100
20374
|
}
|
|
20101
|
-
interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes' | 'jsx' | 'semi' | 'experimental'> {}
|
|
20375
|
+
interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes' | 'jsx' | 'semi' | 'experimental' | 'braceStyle'> {}
|
|
20102
20376
|
interface OptionsOverrides {
|
|
20103
20377
|
overrides?: TypedFlatConfigItem['rules'];
|
|
20104
20378
|
}
|
|
@@ -20170,9 +20444,7 @@ interface OptionsUnoCSS extends OptionsOverrides {
|
|
|
20170
20444
|
*/
|
|
20171
20445
|
configPath?: string;
|
|
20172
20446
|
}
|
|
20173
|
-
interface OptionsReact extends OptionsOverrides {
|
|
20174
|
-
reactCompiler?: boolean;
|
|
20175
|
-
}
|
|
20447
|
+
interface OptionsReact extends OptionsOverrides {}
|
|
20176
20448
|
interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
20177
20449
|
/**
|
|
20178
20450
|
* Enable gitignore support.
|
|
@@ -20246,6 +20518,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
20246
20518
|
* @default true
|
|
20247
20519
|
*/
|
|
20248
20520
|
unicorn?: boolean | OptionsUnicorn;
|
|
20521
|
+
/**
|
|
20522
|
+
* Options for eslint-plugin-perfectionist.
|
|
20523
|
+
*
|
|
20524
|
+
* @default true
|
|
20525
|
+
*/
|
|
20526
|
+
perfectionist?: boolean | OptionsOverrides;
|
|
20249
20527
|
/**
|
|
20250
20528
|
* Options for eslint-plugin-import-lite.
|
|
20251
20529
|
*
|
|
@@ -20315,7 +20593,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
20315
20593
|
*
|
|
20316
20594
|
* Requires installing:
|
|
20317
20595
|
* - `@eslint-react/eslint-plugin`
|
|
20318
|
-
* - `eslint-plugin-react-hooks`
|
|
20319
20596
|
* - `eslint-plugin-react-refresh`
|
|
20320
20597
|
*
|
|
20321
20598
|
* @default false
|
|
@@ -20392,9 +20669,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
20392
20669
|
//#region src/base.d.ts
|
|
20393
20670
|
declare const defaultPluginRenaming: {
|
|
20394
20671
|
'@eslint-react': string;
|
|
20395
|
-
'@eslint-react/dom': string;
|
|
20396
|
-
'@eslint-react/hooks-extra': string;
|
|
20397
|
-
'@eslint-react/naming-convention': string;
|
|
20398
20672
|
'@next/next': string;
|
|
20399
20673
|
'@stylistic': string;
|
|
20400
20674
|
'@typescript-eslint': string;
|
|
@@ -20436,7 +20710,7 @@ declare function e18e(options?: OptionsE18e & OptionsProjectType & OptionsIsInEd
|
|
|
20436
20710
|
declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<Array<TypedFlatConfigItem>>;
|
|
20437
20711
|
//#endregion
|
|
20438
20712
|
//#region src/configs/ignores.d.ts
|
|
20439
|
-
declare function ignores(userIgnores?: Array<string> | ((originals: Array<string>) => Array<string>)): Promise<Array<TypedFlatConfigItem>>;
|
|
20713
|
+
declare function ignores(userIgnores?: Array<string> | ((originals: Array<string>) => Array<string>), ignoreTypeScript?: boolean): Promise<Array<TypedFlatConfigItem>>;
|
|
20440
20714
|
//#endregion
|
|
20441
20715
|
//#region src/configs/imports.d.ts
|
|
20442
20716
|
declare function imports(options?: OptionsOverrides & OptionsStylistic): Promise<Array<TypedFlatConfigItem>>;
|
|
@@ -20468,7 +20742,7 @@ declare function node(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
20468
20742
|
*
|
|
20469
20743
|
* @see https://github.com/azat-io/eslint-plugin-perfectionist
|
|
20470
20744
|
*/
|
|
20471
|
-
declare function perfectionist(): Promise<Array<TypedFlatConfigItem>>;
|
|
20745
|
+
declare function perfectionist(options: OptionsOverrides): Promise<Array<TypedFlatConfigItem>>;
|
|
20472
20746
|
//#endregion
|
|
20473
20747
|
//#region src/configs/pnpm.d.ts
|
|
20474
20748
|
declare function pnpm(options: OptionsPnpm): Promise<Array<TypedFlatConfigItem>>;
|