@dhzh/eslint-config 2.0.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +10 -10
- package/dist/index.d.mts +726 -396
- package/dist/index.mjs +0 -47
- package/package.json +31 -29
package/dist/index.d.mts
CHANGED
|
@@ -165,11 +165,6 @@ interface RuleOptions {
|
|
|
165
165
|
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
|
|
166
166
|
*/
|
|
167
167
|
'@eslint-community/eslint-comments/require-description'?: Linter.RuleEntry<EslintCommunityEslintCommentsRequireDescription>;
|
|
168
|
-
/**
|
|
169
|
-
* Disallows higher order functions that define components or hooks inside them.
|
|
170
|
-
* @see https://eslint-react.xyz/docs/rules/component-hook-factories
|
|
171
|
-
*/
|
|
172
|
-
'@eslint-react/component-hook-factories'?: Linter.RuleEntry<[]>;
|
|
173
168
|
/**
|
|
174
169
|
* Disallows DOM elements from using 'dangerouslySetInnerHTML'.
|
|
175
170
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -250,11 +245,6 @@ interface RuleOptions {
|
|
|
250
245
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
251
246
|
*/
|
|
252
247
|
'@eslint-react/dom-no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
253
|
-
/**
|
|
254
|
-
* Enforces importing React DOM via a namespace import.
|
|
255
|
-
* @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
256
|
-
*/
|
|
257
|
-
'@eslint-react/dom-prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
258
248
|
/**
|
|
259
249
|
* Validates usage of Error Boundaries instead of try/catch for errors in child components.
|
|
260
250
|
* @see https://eslint-react.xyz/docs/rules/error-boundaries
|
|
@@ -265,6 +255,11 @@ interface RuleOptions {
|
|
|
265
255
|
* @see https://github.com/facebook/react/issues/14920
|
|
266
256
|
*/
|
|
267
257
|
'@eslint-react/exhaustive-deps'?: Linter.RuleEntry<EslintReactExhaustiveDeps>;
|
|
258
|
+
/**
|
|
259
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that side effects must run outside of render.
|
|
260
|
+
* @see https://eslint-react.xyz/docs/rules/globals
|
|
261
|
+
*/
|
|
262
|
+
'@eslint-react/globals'?: Linter.RuleEntry<[]>;
|
|
268
263
|
/**
|
|
269
264
|
* Validates against mutating props, state, and other values that are immutable.
|
|
270
265
|
* @see https://eslint-react.xyz/docs/rules/immutability
|
|
@@ -272,46 +267,46 @@ interface RuleOptions {
|
|
|
272
267
|
'@eslint-react/immutability'?: Linter.RuleEntry<[]>;
|
|
273
268
|
/**
|
|
274
269
|
* Disallows passing 'children' as a prop.
|
|
275
|
-
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
270
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-children-prop
|
|
276
271
|
*/
|
|
277
272
|
'@eslint-react/jsx-no-children-prop'?: Linter.RuleEntry<[]>;
|
|
278
273
|
/**
|
|
279
274
|
* Disallows passing 'children' as a prop when children are also passed as nested content.
|
|
280
|
-
* @see https://eslint-react.xyz/docs/rules/no-children-prop-with-children
|
|
275
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-children-prop-with-children
|
|
281
276
|
*/
|
|
282
277
|
'@eslint-react/jsx-no-children-prop-with-children'?: Linter.RuleEntry<[]>;
|
|
283
278
|
/**
|
|
284
279
|
* Prevents comment strings from being accidentally inserted into a JSX element's text nodes.
|
|
285
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
280
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
286
281
|
*/
|
|
287
282
|
'@eslint-react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
288
283
|
/**
|
|
289
284
|
* Prevent patterns that cause deoptimization when using the automatic JSX runtime.
|
|
290
|
-
* @see https://eslint-react.xyz/docs/rules/no-key-after-spread
|
|
285
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-key-after-spread
|
|
291
286
|
*/
|
|
292
287
|
'@eslint-react/jsx-no-key-after-spread'?: Linter.RuleEntry<[]>;
|
|
293
288
|
/**
|
|
294
289
|
* Catches `$` before `{expr}` in JSX — typically from template literal `${expr}` being copy-pasted into JSX without removing the `$`. The `$` "leaks" into the rendered output.
|
|
295
|
-
* @see https://eslint-react.xyz/docs/rules/no-leaked-dollar
|
|
290
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-leaked-dollar
|
|
296
291
|
*/
|
|
297
292
|
'@eslint-react/jsx-no-leaked-dollar'?: Linter.RuleEntry<[]>;
|
|
298
293
|
/**
|
|
299
294
|
* Catches `;` at the start of JSX text nodes — typically from accidentally placing a statement-ending `;` inside JSX. The `;` "leaks" into the rendered output.
|
|
300
|
-
* @see https://eslint-react.xyz/docs/rules/no-leaked-semicolon
|
|
295
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-leaked-semicolon
|
|
301
296
|
*/
|
|
302
297
|
'@eslint-react/jsx-no-leaked-semicolon'?: Linter.RuleEntry<[]>;
|
|
303
298
|
/**
|
|
304
299
|
* Disallow JSX namespace syntax, as React does not support them.
|
|
305
|
-
* @see https://eslint-react.xyz/docs/rules/no-namespace
|
|
300
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-namespace
|
|
306
301
|
*/
|
|
307
302
|
'@eslint-react/jsx-no-namespace'?: Linter.RuleEntry<[]>;
|
|
308
303
|
/**
|
|
309
304
|
* Disallows useless fragment elements.
|
|
310
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
305
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-useless-fragment
|
|
311
306
|
*/
|
|
312
307
|
'@eslint-react/jsx-no-useless-fragment'?: Linter.RuleEntry<EslintReactJsxNoUselessFragment>;
|
|
313
308
|
/**
|
|
314
|
-
* Enforces
|
|
309
|
+
* Enforces identifier names assigned from `createContext` calls to be a valid component name with the suffix `Context`.
|
|
315
310
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
316
311
|
*/
|
|
317
312
|
'@eslint-react/naming-convention-context-name'?: Linter.RuleEntry<[]>;
|
|
@@ -391,7 +386,7 @@ interface RuleOptions {
|
|
|
391
386
|
*/
|
|
392
387
|
'@eslint-react/no-context-provider'?: Linter.RuleEntry<[]>;
|
|
393
388
|
/**
|
|
394
|
-
* Disallows 'createRef' in function components.
|
|
389
|
+
* Disallows 'createRef' in function components and Hooks.
|
|
395
390
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
396
391
|
*/
|
|
397
392
|
'@eslint-react/no-create-ref'?: Linter.RuleEntry<[]>;
|
|
@@ -460,11 +455,6 @@ interface RuleOptions {
|
|
|
460
455
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
461
456
|
*/
|
|
462
457
|
'@eslint-react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
463
|
-
/**
|
|
464
|
-
* Disallows 'shouldComponentUpdate' when extending 'React.PureComponent'.
|
|
465
|
-
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
466
|
-
*/
|
|
467
|
-
'@eslint-react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
|
|
468
458
|
/**
|
|
469
459
|
* Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
|
|
470
460
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
@@ -480,16 +470,6 @@ interface RuleOptions {
|
|
|
480
470
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
481
471
|
*/
|
|
482
472
|
'@eslint-react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
483
|
-
/**
|
|
484
|
-
* Disallows unnecessary usage of 'useCallback'.
|
|
485
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
486
|
-
*/
|
|
487
|
-
'@eslint-react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
488
|
-
/**
|
|
489
|
-
* Disallows unnecessary usage of 'useMemo'.
|
|
490
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
491
|
-
*/
|
|
492
|
-
'@eslint-react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
493
473
|
/**
|
|
494
474
|
* Enforces that a function with the 'use' prefix uses at least one Hook inside it.
|
|
495
475
|
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
@@ -531,7 +511,7 @@ interface RuleOptions {
|
|
|
531
511
|
*/
|
|
532
512
|
'@eslint-react/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
533
513
|
/**
|
|
534
|
-
* Warns about
|
|
514
|
+
* Warns about state variables that are defined but never used.
|
|
535
515
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
536
516
|
*/
|
|
537
517
|
'@eslint-react/no-unused-state'?: Linter.RuleEntry<[]>;
|
|
@@ -540,16 +520,6 @@ interface RuleOptions {
|
|
|
540
520
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
541
521
|
*/
|
|
542
522
|
'@eslint-react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
543
|
-
/**
|
|
544
|
-
* Enforces destructuring assignment for component props and context.
|
|
545
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
546
|
-
*/
|
|
547
|
-
'@eslint-react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
548
|
-
/**
|
|
549
|
-
* Enforces importing React via a namespace import.
|
|
550
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
551
|
-
*/
|
|
552
|
-
'@eslint-react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
553
523
|
/**
|
|
554
524
|
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
555
525
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
@@ -562,7 +532,7 @@ interface RuleOptions {
|
|
|
562
532
|
'@eslint-react/refs'?: Linter.RuleEntry<[]>;
|
|
563
533
|
/**
|
|
564
534
|
* Validates and transforms React Client/Server Function definitions.
|
|
565
|
-
* @see https://eslint-react.xyz/docs/rules/function-definition
|
|
535
|
+
* @see https://eslint-react.xyz/docs/rules/rsc-function-definition
|
|
566
536
|
*/
|
|
567
537
|
'@eslint-react/rsc-function-definition'?: Linter.RuleEntry<[]>;
|
|
568
538
|
/**
|
|
@@ -580,6 +550,11 @@ interface RuleOptions {
|
|
|
580
550
|
* @see https://eslint-react.xyz/docs/rules/set-state-in-render
|
|
581
551
|
*/
|
|
582
552
|
'@eslint-react/set-state-in-render'?: Linter.RuleEntry<[]>;
|
|
553
|
+
/**
|
|
554
|
+
* Validates that components are static, not recreated every render.
|
|
555
|
+
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
556
|
+
*/
|
|
557
|
+
'@eslint-react/static-components'?: Linter.RuleEntry<[]>;
|
|
583
558
|
/**
|
|
584
559
|
* Validates against syntax that React Compiler does not support.
|
|
585
560
|
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
@@ -600,6 +575,16 @@ interface RuleOptions {
|
|
|
600
575
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
|
|
601
576
|
*/
|
|
602
577
|
'@eslint-react/web-api-no-leaked-event-listener'?: Linter.RuleEntry<[]>;
|
|
578
|
+
/**
|
|
579
|
+
* Enforces that every 'fetch' in a component or custom hook has a corresponding 'AbortController' abort in the cleanup function.
|
|
580
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-fetch
|
|
581
|
+
*/
|
|
582
|
+
'@eslint-react/web-api-no-leaked-fetch'?: Linter.RuleEntry<[]>;
|
|
583
|
+
/**
|
|
584
|
+
* Enforces that every 'IntersectionObserver' created in a component or custom hook has a corresponding 'IntersectionObserver.disconnect()'.
|
|
585
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-intersection-observer
|
|
586
|
+
*/
|
|
587
|
+
'@eslint-react/web-api-no-leaked-intersection-observer'?: Linter.RuleEntry<[]>;
|
|
603
588
|
/**
|
|
604
589
|
* Enforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
|
|
605
590
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
@@ -615,11 +600,6 @@ interface RuleOptions {
|
|
|
615
600
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
616
601
|
*/
|
|
617
602
|
'@eslint-react/web-api-no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
618
|
-
/**
|
|
619
|
-
* Disallows higher order functions that define components or hooks inside them.
|
|
620
|
-
* @see https://eslint-react.xyz/docs/rules/component-hook-factories
|
|
621
|
-
*/
|
|
622
|
-
'@eslint-react/x-component-hook-factories'?: Linter.RuleEntry<[]>;
|
|
623
603
|
/**
|
|
624
604
|
* Validates usage of Error Boundaries instead of try/catch for errors in child components.
|
|
625
605
|
* @see https://eslint-react.xyz/docs/rules/error-boundaries
|
|
@@ -630,6 +610,11 @@ interface RuleOptions {
|
|
|
630
610
|
* @see https://github.com/facebook/react/issues/14920
|
|
631
611
|
*/
|
|
632
612
|
'@eslint-react/x-exhaustive-deps'?: Linter.RuleEntry<EslintReactXExhaustiveDeps>;
|
|
613
|
+
/**
|
|
614
|
+
* Validates against assignment/mutation of globals during render, part of ensuring that side effects must run outside of render.
|
|
615
|
+
* @see https://eslint-react.xyz/docs/rules/globals
|
|
616
|
+
*/
|
|
617
|
+
'@eslint-react/x-globals'?: Linter.RuleEntry<[]>;
|
|
633
618
|
/**
|
|
634
619
|
* Validates against mutating props, state, and other values that are immutable.
|
|
635
620
|
* @see https://eslint-react.xyz/docs/rules/immutability
|
|
@@ -701,7 +686,7 @@ interface RuleOptions {
|
|
|
701
686
|
*/
|
|
702
687
|
'@eslint-react/x-no-context-provider'?: Linter.RuleEntry<[]>;
|
|
703
688
|
/**
|
|
704
|
-
* Disallows 'createRef' in function components.
|
|
689
|
+
* Disallows 'createRef' in function components and Hooks.
|
|
705
690
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
706
691
|
*/
|
|
707
692
|
'@eslint-react/x-no-create-ref'?: Linter.RuleEntry<[]>;
|
|
@@ -770,11 +755,6 @@ interface RuleOptions {
|
|
|
770
755
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
771
756
|
*/
|
|
772
757
|
'@eslint-react/x-no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
773
|
-
/**
|
|
774
|
-
* Disallows 'shouldComponentUpdate' when extending 'React.PureComponent'.
|
|
775
|
-
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
776
|
-
*/
|
|
777
|
-
'@eslint-react/x-no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
|
|
778
758
|
/**
|
|
779
759
|
* Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
|
|
780
760
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
@@ -790,16 +770,6 @@ interface RuleOptions {
|
|
|
790
770
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
791
771
|
*/
|
|
792
772
|
'@eslint-react/x-no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
793
|
-
/**
|
|
794
|
-
* Disallows unnecessary usage of 'useCallback'.
|
|
795
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
796
|
-
*/
|
|
797
|
-
'@eslint-react/x-no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
798
|
-
/**
|
|
799
|
-
* Disallows unnecessary usage of 'useMemo'.
|
|
800
|
-
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
801
|
-
*/
|
|
802
|
-
'@eslint-react/x-no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
803
773
|
/**
|
|
804
774
|
* Enforces that a function with the 'use' prefix uses at least one Hook inside it.
|
|
805
775
|
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
@@ -841,7 +811,7 @@ interface RuleOptions {
|
|
|
841
811
|
*/
|
|
842
812
|
'@eslint-react/x-no-unused-props'?: Linter.RuleEntry<[]>;
|
|
843
813
|
/**
|
|
844
|
-
* Warns about
|
|
814
|
+
* Warns about state variables that are defined but never used.
|
|
845
815
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
846
816
|
*/
|
|
847
817
|
'@eslint-react/x-no-unused-state'?: Linter.RuleEntry<[]>;
|
|
@@ -850,16 +820,6 @@ interface RuleOptions {
|
|
|
850
820
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
851
821
|
*/
|
|
852
822
|
'@eslint-react/x-no-use-context'?: Linter.RuleEntry<[]>;
|
|
853
|
-
/**
|
|
854
|
-
* Enforces destructuring assignment for component props and context.
|
|
855
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
856
|
-
*/
|
|
857
|
-
'@eslint-react/x-prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
858
|
-
/**
|
|
859
|
-
* Enforces importing React via a namespace import.
|
|
860
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
861
|
-
*/
|
|
862
|
-
'@eslint-react/x-prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
863
823
|
/**
|
|
864
824
|
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
865
825
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
@@ -885,6 +845,11 @@ interface RuleOptions {
|
|
|
885
845
|
* @see https://eslint-react.xyz/docs/rules/set-state-in-render
|
|
886
846
|
*/
|
|
887
847
|
'@eslint-react/x-set-state-in-render'?: Linter.RuleEntry<[]>;
|
|
848
|
+
/**
|
|
849
|
+
* Validates that components are static, not recreated every render.
|
|
850
|
+
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
851
|
+
*/
|
|
852
|
+
'@eslint-react/x-static-components'?: Linter.RuleEntry<[]>;
|
|
888
853
|
/**
|
|
889
854
|
* Validates against syntax that React Compiler does not support.
|
|
890
855
|
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
@@ -2071,12 +2036,12 @@ interface RuleOptions {
|
|
|
2071
2036
|
*/
|
|
2072
2037
|
'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>;
|
|
2073
2038
|
/**
|
|
2074
|
-
*
|
|
2039
|
+
* Enforce consistent line breaks for chaining member access
|
|
2075
2040
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
|
|
2076
2041
|
*/
|
|
2077
2042
|
'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>;
|
|
2078
2043
|
/**
|
|
2079
|
-
*
|
|
2044
|
+
* Enforce consistent line breaks inside braces and parentheses
|
|
2080
2045
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
2081
2046
|
*/
|
|
2082
2047
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>;
|
|
@@ -2102,22 +2067,22 @@ interface RuleOptions {
|
|
|
2102
2067
|
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>;
|
|
2103
2068
|
/**
|
|
2104
2069
|
* Prevent importing modules in `dist` folder
|
|
2105
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.
|
|
2070
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.md
|
|
2106
2071
|
*/
|
|
2107
2072
|
'antfu/no-import-dist'?: Linter.RuleEntry<[]>;
|
|
2108
2073
|
/**
|
|
2109
2074
|
* Prevent importing modules in `node_modules` folder by relative or absolute path
|
|
2110
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.
|
|
2075
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.md
|
|
2111
2076
|
*/
|
|
2112
2077
|
'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>;
|
|
2113
2078
|
/**
|
|
2114
2079
|
* Prevent using top-level await
|
|
2115
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.
|
|
2080
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.md
|
|
2116
2081
|
*/
|
|
2117
2082
|
'antfu/no-top-level-await'?: Linter.RuleEntry<[]>;
|
|
2118
2083
|
/**
|
|
2119
2084
|
* Do not use `exports =`
|
|
2120
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.
|
|
2085
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.md
|
|
2121
2086
|
*/
|
|
2122
2087
|
'antfu/no-ts-export-equal'?: Linter.RuleEntry<[]>;
|
|
2123
2088
|
/**
|
|
@@ -4089,428 +4054,482 @@ interface RuleOptions {
|
|
|
4089
4054
|
'operator-linebreak'?: Linter.RuleEntry<OperatorLinebreak>;
|
|
4090
4055
|
/**
|
|
4091
4056
|
* Enforce that names for bin properties are in kebab case.
|
|
4092
|
-
* @see https://
|
|
4057
|
+
* @see https://eslint-plugin-package-json.dev/rules/bin-name-casing
|
|
4093
4058
|
*/
|
|
4094
4059
|
'package-json/bin-name-casing'?: Linter.RuleEntry<[]>;
|
|
4095
4060
|
/**
|
|
4096
4061
|
* Enforce consistent format for the exports field (implicit or explicit subpaths).
|
|
4097
|
-
* @see https://
|
|
4062
|
+
* @see https://eslint-plugin-package-json.dev/rules/exports-subpaths-style
|
|
4098
4063
|
*/
|
|
4099
4064
|
'package-json/exports-subpaths-style'?: Linter.RuleEntry<PackageJsonExportsSubpathsStyle>;
|
|
4100
4065
|
/**
|
|
4101
4066
|
* Reports on unnecessary empty arrays and objects.
|
|
4102
|
-
* @see https://
|
|
4067
|
+
* @see https://eslint-plugin-package-json.dev/rules/no-empty-fields
|
|
4103
4068
|
*/
|
|
4104
4069
|
'package-json/no-empty-fields'?: Linter.RuleEntry<PackageJsonNoEmptyFields>;
|
|
4070
|
+
/**
|
|
4071
|
+
* Requires that dependencies do not use local file paths, which will likely result in errors when installing from a registry.
|
|
4072
|
+
* @see https://eslint-plugin-package-json.dev/rules/no-local-dependencies
|
|
4073
|
+
*/
|
|
4074
|
+
'package-json/no-local-dependencies'?: Linter.RuleEntry<PackageJsonNoLocalDependencies>;
|
|
4105
4075
|
/**
|
|
4106
4076
|
* Prevents adding unnecessary / redundant files.
|
|
4107
|
-
* @see https://
|
|
4077
|
+
* @see https://eslint-plugin-package-json.dev/rules/no-redundant-files
|
|
4108
4078
|
*/
|
|
4109
4079
|
'package-json/no-redundant-files'?: Linter.RuleEntry<[]>;
|
|
4110
4080
|
/**
|
|
4111
4081
|
* Warns when publishConfig.access is used in unscoped packages.
|
|
4112
|
-
* @see https://
|
|
4082
|
+
* @see https://eslint-plugin-package-json.dev/rules/no-redundant-publishConfig
|
|
4113
4083
|
*/
|
|
4114
4084
|
'package-json/no-redundant-publishConfig'?: Linter.RuleEntry<[]>;
|
|
4115
4085
|
/**
|
|
4116
4086
|
* Package properties should be declared in standard order
|
|
4117
|
-
* @see https://
|
|
4087
|
+
* @see https://eslint-plugin-package-json.dev/rules/order-properties
|
|
4118
4088
|
*/
|
|
4119
4089
|
'package-json/order-properties'?: Linter.RuleEntry<PackageJsonOrderProperties>;
|
|
4120
4090
|
/**
|
|
4121
4091
|
* Enforce either object or shorthand declaration for repository.
|
|
4122
|
-
* @see https://
|
|
4092
|
+
* @see https://eslint-plugin-package-json.dev/rules/repository-shorthand
|
|
4123
4093
|
*/
|
|
4124
4094
|
'package-json/repository-shorthand'?: Linter.RuleEntry<PackageJsonRepositoryShorthand>;
|
|
4125
4095
|
/**
|
|
4126
4096
|
* Ensures that proper attribution is included, requiring that either `author` or `contributors` is defined, and that if `contributors` is present, it should include at least one contributor.
|
|
4127
|
-
* @see https://
|
|
4097
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-attribution
|
|
4128
4098
|
*/
|
|
4129
4099
|
'package-json/require-attribution'?: Linter.RuleEntry<PackageJsonRequireAttribution>;
|
|
4130
4100
|
/**
|
|
4131
4101
|
* Requires the `author` property to be present.
|
|
4132
|
-
* @see https://
|
|
4102
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-author
|
|
4133
4103
|
*/
|
|
4134
4104
|
'package-json/require-author'?: Linter.RuleEntry<PackageJsonRequireAuthor>;
|
|
4135
4105
|
/**
|
|
4136
4106
|
* Requires the `bin` property to be present.
|
|
4137
|
-
* @see https://
|
|
4107
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-bin
|
|
4138
4108
|
*/
|
|
4139
4109
|
'package-json/require-bin'?: Linter.RuleEntry<PackageJsonRequireBin>;
|
|
4110
|
+
/**
|
|
4111
|
+
* Requires the `browser` property to be present.
|
|
4112
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-browser
|
|
4113
|
+
*/
|
|
4114
|
+
'package-json/require-browser'?: Linter.RuleEntry<PackageJsonRequireBrowser>;
|
|
4140
4115
|
/**
|
|
4141
4116
|
* Requires the `bugs` property to be present.
|
|
4142
|
-
* @see https://
|
|
4117
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-bugs
|
|
4143
4118
|
*/
|
|
4144
4119
|
'package-json/require-bugs'?: Linter.RuleEntry<PackageJsonRequireBugs>;
|
|
4145
4120
|
/**
|
|
4146
4121
|
* Requires the `bundleDependencies` property to be present.
|
|
4147
|
-
* @see https://
|
|
4122
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-bundleDependencies
|
|
4148
4123
|
*/
|
|
4149
4124
|
'package-json/require-bundleDependencies'?: Linter.RuleEntry<PackageJsonRequireBundleDependencies>;
|
|
4125
|
+
/**
|
|
4126
|
+
* Requires the `config` property to be present.
|
|
4127
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-config
|
|
4128
|
+
*/
|
|
4129
|
+
'package-json/require-config'?: Linter.RuleEntry<PackageJsonRequireConfig>;
|
|
4150
4130
|
/**
|
|
4151
4131
|
* Requires the `contributors` property to be present.
|
|
4152
|
-
* @see https://
|
|
4132
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-contributors
|
|
4153
4133
|
*/
|
|
4154
4134
|
'package-json/require-contributors'?: Linter.RuleEntry<PackageJsonRequireContributors>;
|
|
4155
4135
|
/**
|
|
4156
4136
|
* Requires the `cpu` property to be present.
|
|
4157
|
-
* @see https://
|
|
4137
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-cpu
|
|
4158
4138
|
*/
|
|
4159
4139
|
'package-json/require-cpu'?: Linter.RuleEntry<PackageJsonRequireCpu>;
|
|
4160
4140
|
/**
|
|
4161
4141
|
* Requires the `dependencies` property to be present.
|
|
4162
|
-
* @see https://
|
|
4142
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-dependencies
|
|
4163
4143
|
*/
|
|
4164
4144
|
'package-json/require-dependencies'?: Linter.RuleEntry<PackageJsonRequireDependencies>;
|
|
4165
4145
|
/**
|
|
4166
4146
|
* Requires the `description` property to be present.
|
|
4167
|
-
* @see https://
|
|
4147
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-description
|
|
4168
4148
|
*/
|
|
4169
4149
|
'package-json/require-description'?: Linter.RuleEntry<PackageJsonRequireDescription>;
|
|
4170
4150
|
/**
|
|
4171
4151
|
* Requires the `devDependencies` property to be present.
|
|
4172
|
-
* @see https://
|
|
4152
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-devDependencies
|
|
4173
4153
|
*/
|
|
4174
4154
|
'package-json/require-devDependencies'?: Linter.RuleEntry<PackageJsonRequireDevDependencies>;
|
|
4175
4155
|
/**
|
|
4176
4156
|
* Requires the `devEngines` property to be present.
|
|
4177
|
-
* @see https://
|
|
4157
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-devEngines
|
|
4178
4158
|
*/
|
|
4179
4159
|
'package-json/require-devEngines'?: Linter.RuleEntry<PackageJsonRequireDevEngines>;
|
|
4180
4160
|
/**
|
|
4181
4161
|
* Requires the `directories` property to be present.
|
|
4182
|
-
* @see https://
|
|
4162
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-directories
|
|
4183
4163
|
*/
|
|
4184
4164
|
'package-json/require-directories'?: Linter.RuleEntry<PackageJsonRequireDirectories>;
|
|
4185
4165
|
/**
|
|
4186
4166
|
* Requires the `engines` property to be present.
|
|
4187
|
-
* @see https://
|
|
4167
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-engines
|
|
4188
4168
|
*/
|
|
4189
4169
|
'package-json/require-engines'?: Linter.RuleEntry<PackageJsonRequireEngines>;
|
|
4190
4170
|
/**
|
|
4191
4171
|
* Requires the `exports` property to be present.
|
|
4192
|
-
* @see https://
|
|
4172
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-exports
|
|
4193
4173
|
*/
|
|
4194
4174
|
'package-json/require-exports'?: Linter.RuleEntry<PackageJsonRequireExports>;
|
|
4195
4175
|
/**
|
|
4196
4176
|
* Requires the `files` property to be present.
|
|
4197
|
-
* @see https://
|
|
4177
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-files
|
|
4198
4178
|
*/
|
|
4199
4179
|
'package-json/require-files'?: Linter.RuleEntry<PackageJsonRequireFiles>;
|
|
4200
4180
|
/**
|
|
4201
4181
|
* Requires the `funding` property to be present.
|
|
4202
|
-
* @see https://
|
|
4182
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-funding
|
|
4203
4183
|
*/
|
|
4204
4184
|
'package-json/require-funding'?: Linter.RuleEntry<PackageJsonRequireFunding>;
|
|
4185
|
+
/**
|
|
4186
|
+
* Requires the `gypfile` property to be present.
|
|
4187
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-gypfile
|
|
4188
|
+
*/
|
|
4189
|
+
'package-json/require-gypfile'?: Linter.RuleEntry<PackageJsonRequireGypfile>;
|
|
4205
4190
|
/**
|
|
4206
4191
|
* Requires the `homepage` property to be present.
|
|
4207
|
-
* @see https://
|
|
4192
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-homepage
|
|
4208
4193
|
*/
|
|
4209
4194
|
'package-json/require-homepage'?: Linter.RuleEntry<PackageJsonRequireHomepage>;
|
|
4210
4195
|
/**
|
|
4211
4196
|
* Requires the `keywords` property to be present.
|
|
4212
|
-
* @see https://
|
|
4197
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-keywords
|
|
4213
4198
|
*/
|
|
4214
4199
|
'package-json/require-keywords'?: Linter.RuleEntry<PackageJsonRequireKeywords>;
|
|
4200
|
+
/**
|
|
4201
|
+
* Requires the `libc` property to be present.
|
|
4202
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-libc
|
|
4203
|
+
*/
|
|
4204
|
+
'package-json/require-libc'?: Linter.RuleEntry<PackageJsonRequireLibc>;
|
|
4215
4205
|
/**
|
|
4216
4206
|
* Requires the `license` property to be present.
|
|
4217
|
-
* @see https://
|
|
4207
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-license
|
|
4218
4208
|
*/
|
|
4219
4209
|
'package-json/require-license'?: Linter.RuleEntry<PackageJsonRequireLicense>;
|
|
4220
4210
|
/**
|
|
4221
4211
|
* Requires the `main` property to be present.
|
|
4222
|
-
* @see https://
|
|
4212
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-main
|
|
4223
4213
|
*/
|
|
4224
4214
|
'package-json/require-main'?: Linter.RuleEntry<PackageJsonRequireMain>;
|
|
4225
4215
|
/**
|
|
4226
4216
|
* Requires the `man` property to be present.
|
|
4227
|
-
* @see https://
|
|
4217
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-man
|
|
4228
4218
|
*/
|
|
4229
4219
|
'package-json/require-man'?: Linter.RuleEntry<PackageJsonRequireMan>;
|
|
4230
4220
|
/**
|
|
4231
4221
|
* Requires the `module` property to be present.
|
|
4232
|
-
* @see https://
|
|
4222
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-module
|
|
4233
4223
|
*/
|
|
4234
4224
|
'package-json/require-module'?: Linter.RuleEntry<PackageJsonRequireModule>;
|
|
4235
4225
|
/**
|
|
4236
4226
|
* Requires the `name` property to be present.
|
|
4237
|
-
* @see https://
|
|
4227
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-name
|
|
4238
4228
|
*/
|
|
4239
4229
|
'package-json/require-name'?: Linter.RuleEntry<PackageJsonRequireName>;
|
|
4240
4230
|
/**
|
|
4241
4231
|
* Requires the `optionalDependencies` property to be present.
|
|
4242
|
-
* @see https://
|
|
4232
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-optionalDependencies
|
|
4243
4233
|
*/
|
|
4244
4234
|
'package-json/require-optionalDependencies'?: Linter.RuleEntry<PackageJsonRequireOptionalDependencies>;
|
|
4245
4235
|
/**
|
|
4246
4236
|
* Requires the `os` property to be present.
|
|
4247
|
-
* @see https://
|
|
4237
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-os
|
|
4248
4238
|
*/
|
|
4249
4239
|
'package-json/require-os'?: Linter.RuleEntry<PackageJsonRequireOs>;
|
|
4250
4240
|
/**
|
|
4251
4241
|
* Requires the `packageManager` property to be present.
|
|
4252
|
-
* @see https://
|
|
4242
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-packageManager
|
|
4253
4243
|
*/
|
|
4254
4244
|
'package-json/require-packageManager'?: Linter.RuleEntry<PackageJsonRequirePackageManager>;
|
|
4255
4245
|
/**
|
|
4256
4246
|
* Requires the `peerDependencies` property to be present.
|
|
4257
|
-
* @see https://
|
|
4247
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-peerDependencies
|
|
4258
4248
|
*/
|
|
4259
4249
|
'package-json/require-peerDependencies'?: Linter.RuleEntry<PackageJsonRequirePeerDependencies>;
|
|
4250
|
+
/**
|
|
4251
|
+
* Requires the `peerDependenciesMeta` property to be present.
|
|
4252
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-peerDependenciesMeta
|
|
4253
|
+
*/
|
|
4254
|
+
'package-json/require-peerDependenciesMeta'?: Linter.RuleEntry<PackageJsonRequirePeerDependenciesMeta>;
|
|
4260
4255
|
/**
|
|
4261
4256
|
* Requires the `private` property to be present.
|
|
4262
|
-
* @see https://
|
|
4257
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-private
|
|
4263
4258
|
*/
|
|
4264
4259
|
'package-json/require-private'?: Linter.RuleEntry<[]>;
|
|
4265
4260
|
/**
|
|
4266
4261
|
* Requires the `publishConfig` property to be present.
|
|
4267
|
-
* @see https://
|
|
4262
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-publishConfig
|
|
4268
4263
|
*/
|
|
4269
4264
|
'package-json/require-publishConfig'?: Linter.RuleEntry<PackageJsonRequirePublishConfig>;
|
|
4270
4265
|
/**
|
|
4271
4266
|
* Requires the `repository` property to be present.
|
|
4272
|
-
* @see https://
|
|
4267
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-repository
|
|
4273
4268
|
*/
|
|
4274
4269
|
'package-json/require-repository'?: Linter.RuleEntry<PackageJsonRequireRepository>;
|
|
4275
4270
|
/**
|
|
4276
4271
|
* Requires the `scripts` property to be present.
|
|
4277
|
-
* @see https://
|
|
4272
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-scripts
|
|
4278
4273
|
*/
|
|
4279
4274
|
'package-json/require-scripts'?: Linter.RuleEntry<PackageJsonRequireScripts>;
|
|
4280
4275
|
/**
|
|
4281
4276
|
* Requires the `sideEffects` property to be present.
|
|
4282
|
-
* @see https://
|
|
4277
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-sideEffects
|
|
4283
4278
|
*/
|
|
4284
4279
|
'package-json/require-sideEffects'?: Linter.RuleEntry<PackageJsonRequireSideEffects>;
|
|
4285
4280
|
/**
|
|
4286
4281
|
* Requires the `type` property to be present.
|
|
4287
|
-
* @see https://
|
|
4282
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-type
|
|
4288
4283
|
*/
|
|
4289
4284
|
'package-json/require-type'?: Linter.RuleEntry<PackageJsonRequireType>;
|
|
4290
4285
|
/**
|
|
4291
4286
|
* Requires the `types` property to be present.
|
|
4292
|
-
* @see https://
|
|
4287
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-types
|
|
4293
4288
|
*/
|
|
4294
4289
|
'package-json/require-types'?: Linter.RuleEntry<PackageJsonRequireTypes>;
|
|
4295
4290
|
/**
|
|
4296
4291
|
* Requires the `version` property to be present.
|
|
4297
|
-
* @see https://
|
|
4292
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-version
|
|
4298
4293
|
*/
|
|
4299
4294
|
'package-json/require-version'?: Linter.RuleEntry<PackageJsonRequireVersion>;
|
|
4300
4295
|
/**
|
|
4301
4296
|
* Restricts the range of dependencies to allow or disallow specific types of ranges.
|
|
4302
|
-
* @see https://
|
|
4297
|
+
* @see https://eslint-plugin-package-json.dev/rules/restrict-dependency-ranges
|
|
4303
4298
|
*/
|
|
4304
4299
|
'package-json/restrict-dependency-ranges'?: Linter.RuleEntry<PackageJsonRestrictDependencyRanges>;
|
|
4305
4300
|
/**
|
|
4306
4301
|
* Disallows unnecessary properties in private packages.
|
|
4307
|
-
* @see https://
|
|
4302
|
+
* @see https://eslint-plugin-package-json.dev/rules/restrict-private-properties
|
|
4308
4303
|
*/
|
|
4309
4304
|
'package-json/restrict-private-properties'?: Linter.RuleEntry<PackageJsonRestrictPrivateProperties>;
|
|
4305
|
+
/**
|
|
4306
|
+
* Disallows specified top-level properties in package.json.
|
|
4307
|
+
* @see https://eslint-plugin-package-json.dev/rules/restrict-top-level-properties
|
|
4308
|
+
*/
|
|
4309
|
+
'package-json/restrict-top-level-properties'?: Linter.RuleEntry<PackageJsonRestrictTopLevelProperties>;
|
|
4310
4310
|
/**
|
|
4311
4311
|
* Enforce that names for `scripts` are in kebab case (optionally separated by colons).
|
|
4312
|
-
* @see https://
|
|
4312
|
+
* @see https://eslint-plugin-package-json.dev/rules/scripts-name-casing
|
|
4313
4313
|
*/
|
|
4314
4314
|
'package-json/scripts-name-casing'?: Linter.RuleEntry<[]>;
|
|
4315
4315
|
/**
|
|
4316
4316
|
* Selected collections must be in a consistent order (lexicographical for most; lifecycle-aware for scripts).
|
|
4317
|
-
* @see https://
|
|
4317
|
+
* @see https://eslint-plugin-package-json.dev/rules/sort-collections
|
|
4318
4318
|
*/
|
|
4319
4319
|
'package-json/sort-collections'?: Linter.RuleEntry<PackageJsonSortCollections>;
|
|
4320
4320
|
/**
|
|
4321
4321
|
* Requires that all peer dependencies are also declared as dev dependencies
|
|
4322
|
-
* @see https://
|
|
4322
|
+
* @see https://eslint-plugin-package-json.dev/rules/specify-peers-locally
|
|
4323
4323
|
*/
|
|
4324
4324
|
'package-json/specify-peers-locally'?: Linter.RuleEntry<[]>;
|
|
4325
4325
|
/**
|
|
4326
4326
|
* Checks a dependency isn't specified more than once (i.e. in `dependencies` and `devDependencies`)
|
|
4327
|
-
* @see https://
|
|
4327
|
+
* @see https://eslint-plugin-package-json.dev/rules/unique-dependencies
|
|
4328
4328
|
*/
|
|
4329
4329
|
'package-json/unique-dependencies'?: Linter.RuleEntry<[]>;
|
|
4330
4330
|
/**
|
|
4331
4331
|
* Enforce that the `author` property is valid.
|
|
4332
|
-
* @see https://
|
|
4332
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-author
|
|
4333
4333
|
*/
|
|
4334
4334
|
'package-json/valid-author'?: Linter.RuleEntry<[]>;
|
|
4335
4335
|
/**
|
|
4336
4336
|
* Enforce that the `bin` property is valid.
|
|
4337
|
-
* @see https://
|
|
4337
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bin
|
|
4338
4338
|
*/
|
|
4339
4339
|
'package-json/valid-bin'?: Linter.RuleEntry<[]>;
|
|
4340
|
+
/**
|
|
4341
|
+
* Enforce that the `browser` property is valid.
|
|
4342
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-browser
|
|
4343
|
+
*/
|
|
4344
|
+
'package-json/valid-browser'?: Linter.RuleEntry<[]>;
|
|
4340
4345
|
/**
|
|
4341
4346
|
* Enforce that the `bugs` property is valid.
|
|
4342
|
-
* @see https://
|
|
4347
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bugs
|
|
4343
4348
|
*/
|
|
4344
4349
|
'package-json/valid-bugs'?: Linter.RuleEntry<[]>;
|
|
4345
4350
|
/**
|
|
4346
|
-
* Enforce that the `bundleDependencies` (also
|
|
4347
|
-
* @see https://
|
|
4351
|
+
* Enforce that the `bundleDependencies` (also `bundledDependencies`) property is valid.
|
|
4352
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bundleDependencies
|
|
4348
4353
|
*/
|
|
4349
4354
|
'package-json/valid-bundleDependencies'?: Linter.RuleEntry<[]>;
|
|
4350
4355
|
/**
|
|
4351
4356
|
* Enforce that the `config` property is valid.
|
|
4352
|
-
* @see https://
|
|
4357
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-config
|
|
4353
4358
|
*/
|
|
4354
4359
|
'package-json/valid-config'?: Linter.RuleEntry<[]>;
|
|
4355
4360
|
/**
|
|
4356
4361
|
* Enforce that the `contributors` property is valid.
|
|
4357
|
-
* @see https://
|
|
4362
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-contributors
|
|
4358
4363
|
*/
|
|
4359
4364
|
'package-json/valid-contributors'?: Linter.RuleEntry<[]>;
|
|
4360
4365
|
/**
|
|
4361
4366
|
* Enforce that the `cpu` property is valid.
|
|
4362
|
-
* @see https://
|
|
4367
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-cpu
|
|
4363
4368
|
*/
|
|
4364
4369
|
'package-json/valid-cpu'?: Linter.RuleEntry<[]>;
|
|
4365
4370
|
/**
|
|
4366
4371
|
* Enforce that the `dependencies` property is valid.
|
|
4367
|
-
* @see https://
|
|
4372
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-dependencies
|
|
4368
4373
|
*/
|
|
4369
4374
|
'package-json/valid-dependencies'?: Linter.RuleEntry<[]>;
|
|
4370
4375
|
/**
|
|
4371
4376
|
* Enforce that the `description` property is valid.
|
|
4372
|
-
* @see https://
|
|
4377
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-description
|
|
4373
4378
|
*/
|
|
4374
4379
|
'package-json/valid-description'?: Linter.RuleEntry<[]>;
|
|
4375
4380
|
/**
|
|
4376
4381
|
* Enforce that the `devDependencies` property is valid.
|
|
4377
|
-
* @see https://
|
|
4382
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-devDependencies
|
|
4378
4383
|
*/
|
|
4379
4384
|
'package-json/valid-devDependencies'?: Linter.RuleEntry<[]>;
|
|
4380
4385
|
/**
|
|
4381
4386
|
* Enforce that the `devEngines` property is valid.
|
|
4382
|
-
* @see https://
|
|
4387
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-devEngines
|
|
4383
4388
|
*/
|
|
4384
4389
|
'package-json/valid-devEngines'?: Linter.RuleEntry<[]>;
|
|
4385
4390
|
/**
|
|
4386
4391
|
* Enforce that the `directories` property is valid.
|
|
4387
|
-
* @see https://
|
|
4392
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-directories
|
|
4388
4393
|
*/
|
|
4389
4394
|
'package-json/valid-directories'?: Linter.RuleEntry<[]>;
|
|
4390
4395
|
/**
|
|
4391
4396
|
* Enforce that the `engines` property is valid.
|
|
4392
|
-
* @see https://
|
|
4397
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-engines
|
|
4393
4398
|
*/
|
|
4394
4399
|
'package-json/valid-engines'?: Linter.RuleEntry<[]>;
|
|
4395
4400
|
/**
|
|
4396
4401
|
* Enforce that the `exports` property is valid.
|
|
4397
|
-
* @see https://
|
|
4402
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-exports
|
|
4398
4403
|
*/
|
|
4399
4404
|
'package-json/valid-exports'?: Linter.RuleEntry<[]>;
|
|
4400
4405
|
/**
|
|
4401
4406
|
* Enforce that the `files` property is valid.
|
|
4402
|
-
* @see https://
|
|
4407
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-files
|
|
4403
4408
|
*/
|
|
4404
4409
|
'package-json/valid-files'?: Linter.RuleEntry<[]>;
|
|
4405
4410
|
/**
|
|
4406
4411
|
* Enforce that the `funding` property is valid.
|
|
4407
|
-
* @see https://
|
|
4412
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-funding
|
|
4408
4413
|
*/
|
|
4409
4414
|
'package-json/valid-funding'?: Linter.RuleEntry<[]>;
|
|
4415
|
+
/**
|
|
4416
|
+
* Enforce that the `gypfile` property is valid.
|
|
4417
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-gypfile
|
|
4418
|
+
*/
|
|
4419
|
+
'package-json/valid-gypfile'?: Linter.RuleEntry<[]>;
|
|
4410
4420
|
/**
|
|
4411
4421
|
* Enforce that the `homepage` property is valid.
|
|
4412
|
-
* @see https://
|
|
4422
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-homepage
|
|
4413
4423
|
*/
|
|
4414
4424
|
'package-json/valid-homepage'?: Linter.RuleEntry<[]>;
|
|
4415
4425
|
/**
|
|
4416
4426
|
* Enforce that the `keywords` property is valid.
|
|
4417
|
-
* @see https://
|
|
4427
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-keywords
|
|
4418
4428
|
*/
|
|
4419
4429
|
'package-json/valid-keywords'?: Linter.RuleEntry<[]>;
|
|
4430
|
+
/**
|
|
4431
|
+
* Enforce that the `libc` property is valid.
|
|
4432
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-libc
|
|
4433
|
+
*/
|
|
4434
|
+
'package-json/valid-libc'?: Linter.RuleEntry<[]>;
|
|
4420
4435
|
/**
|
|
4421
4436
|
* Enforce that the `license` property is valid.
|
|
4422
|
-
* @see https://
|
|
4437
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-license
|
|
4423
4438
|
*/
|
|
4424
4439
|
'package-json/valid-license'?: Linter.RuleEntry<[]>;
|
|
4425
4440
|
/**
|
|
4426
4441
|
* Enforce that the `main` property is valid.
|
|
4427
|
-
* @see https://
|
|
4442
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-main
|
|
4428
4443
|
*/
|
|
4429
4444
|
'package-json/valid-main'?: Linter.RuleEntry<[]>;
|
|
4430
4445
|
/**
|
|
4431
4446
|
* Enforce that the `man` property is valid.
|
|
4432
|
-
* @see https://
|
|
4447
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-man
|
|
4433
4448
|
*/
|
|
4434
4449
|
'package-json/valid-man'?: Linter.RuleEntry<[]>;
|
|
4435
4450
|
/**
|
|
4436
4451
|
* Enforce that the `module` property is valid.
|
|
4437
|
-
* @see https://
|
|
4452
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-module
|
|
4438
4453
|
*/
|
|
4439
4454
|
'package-json/valid-module'?: Linter.RuleEntry<[]>;
|
|
4440
4455
|
/**
|
|
4441
|
-
* Enforce that
|
|
4442
|
-
* @see https://
|
|
4456
|
+
* Enforce that the `name` property is valid.
|
|
4457
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-name
|
|
4443
4458
|
*/
|
|
4444
4459
|
'package-json/valid-name'?: Linter.RuleEntry<[]>;
|
|
4445
4460
|
/**
|
|
4446
4461
|
* Enforce that the `optionalDependencies` property is valid.
|
|
4447
|
-
* @see https://
|
|
4462
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-optionalDependencies
|
|
4448
4463
|
*/
|
|
4449
4464
|
'package-json/valid-optionalDependencies'?: Linter.RuleEntry<[]>;
|
|
4450
4465
|
/**
|
|
4451
4466
|
* Enforce that the `os` property is valid.
|
|
4452
|
-
* @see https://
|
|
4467
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-os
|
|
4453
4468
|
*/
|
|
4454
4469
|
'package-json/valid-os'?: Linter.RuleEntry<[]>;
|
|
4455
|
-
/**
|
|
4456
|
-
* Enforce that package.json has all properties required by the npm spec
|
|
4457
|
-
* @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-package-definition.md
|
|
4458
|
-
* @deprecated
|
|
4459
|
-
*/
|
|
4460
|
-
'package-json/valid-package-definition'?: Linter.RuleEntry<PackageJsonValidPackageDefinition>;
|
|
4461
4470
|
/**
|
|
4462
4471
|
* Enforce that the `packageManager` property is valid.
|
|
4463
|
-
* @see https://
|
|
4472
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-packageManager
|
|
4464
4473
|
*/
|
|
4465
4474
|
'package-json/valid-packageManager'?: Linter.RuleEntry<[]>;
|
|
4466
4475
|
/**
|
|
4467
4476
|
* Enforce that the `peerDependencies` property is valid.
|
|
4468
|
-
* @see https://
|
|
4477
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-peerDependencies
|
|
4469
4478
|
*/
|
|
4470
4479
|
'package-json/valid-peerDependencies'?: Linter.RuleEntry<[]>;
|
|
4480
|
+
/**
|
|
4481
|
+
* Enforce that the `peerDependenciesMeta` property is valid.
|
|
4482
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-peerDependenciesMeta
|
|
4483
|
+
*/
|
|
4484
|
+
'package-json/valid-peerDependenciesMeta'?: Linter.RuleEntry<[]>;
|
|
4485
|
+
/**
|
|
4486
|
+
* Enforces that any dependencies declared in `peerDependenciesMeta` are also defined in the package's `peerDependencies`.
|
|
4487
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-peerDependenciesMeta-relationship
|
|
4488
|
+
*/
|
|
4489
|
+
'package-json/valid-peerDependenciesMeta-relationship'?: Linter.RuleEntry<[]>;
|
|
4471
4490
|
/**
|
|
4472
4491
|
* Enforce that the `private` property is valid.
|
|
4473
|
-
* @see https://
|
|
4492
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-private
|
|
4474
4493
|
*/
|
|
4475
4494
|
'package-json/valid-private'?: Linter.RuleEntry<[]>;
|
|
4476
4495
|
/**
|
|
4477
4496
|
* Enforce that the `publishConfig` property is valid.
|
|
4478
|
-
* @see https://
|
|
4497
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-publishConfig
|
|
4479
4498
|
*/
|
|
4480
4499
|
'package-json/valid-publishConfig'?: Linter.RuleEntry<[]>;
|
|
4481
4500
|
/**
|
|
4482
4501
|
* Enforce that the `repository` property is valid.
|
|
4483
|
-
* @see https://
|
|
4502
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-repository
|
|
4484
4503
|
*/
|
|
4485
4504
|
'package-json/valid-repository'?: Linter.RuleEntry<[]>;
|
|
4486
4505
|
/**
|
|
4487
4506
|
* Enforce that if repository directory is specified, it matches the path to the package.json file
|
|
4488
|
-
* @see https://
|
|
4507
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-repository-directory
|
|
4489
4508
|
*/
|
|
4490
4509
|
'package-json/valid-repository-directory'?: Linter.RuleEntry<[]>;
|
|
4491
4510
|
/**
|
|
4492
4511
|
* Enforce that the `scripts` property is valid.
|
|
4493
|
-
* @see https://
|
|
4512
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-scripts
|
|
4494
4513
|
*/
|
|
4495
4514
|
'package-json/valid-scripts'?: Linter.RuleEntry<[]>;
|
|
4496
4515
|
/**
|
|
4497
4516
|
* Enforce that the `sideEffects` property is valid.
|
|
4498
|
-
* @see https://
|
|
4517
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-sideEffects
|
|
4499
4518
|
*/
|
|
4500
4519
|
'package-json/valid-sideEffects'?: Linter.RuleEntry<[]>;
|
|
4501
4520
|
/**
|
|
4502
4521
|
* Enforce that the `type` property is valid.
|
|
4503
|
-
* @see https://
|
|
4522
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-type
|
|
4504
4523
|
*/
|
|
4505
4524
|
'package-json/valid-type'?: Linter.RuleEntry<[]>;
|
|
4506
4525
|
/**
|
|
4507
|
-
* Enforce that
|
|
4508
|
-
* @see https://
|
|
4526
|
+
* Enforce that the `version` property is valid.
|
|
4527
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-version
|
|
4509
4528
|
*/
|
|
4510
4529
|
'package-json/valid-version'?: Linter.RuleEntry<[]>;
|
|
4511
4530
|
/**
|
|
4512
4531
|
* Enforce that the `workspaces` property is valid.
|
|
4513
|
-
* @see https://
|
|
4532
|
+
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-workspaces
|
|
4514
4533
|
*/
|
|
4515
4534
|
'package-json/valid-workspaces'?: Linter.RuleEntry<[]>;
|
|
4516
4535
|
/**
|
|
@@ -5976,753 +5995,921 @@ interface RuleOptions {
|
|
|
5976
5995
|
*/
|
|
5977
5996
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5978
5997
|
/**
|
|
5979
|
-
*
|
|
5980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5998
|
+
* Prefer better DOM traversal APIs.
|
|
5999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/better-dom-traversing.md
|
|
6000
|
+
*/
|
|
6001
|
+
'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
|
|
6002
|
+
/**
|
|
6003
|
+
* Removed. Prefer `eslint-plugin-regexp`
|
|
6004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#better-regex
|
|
6005
|
+
* @deprecated
|
|
5981
6006
|
*/
|
|
5982
|
-
'unicorn/better-regex'?: Linter.RuleEntry<
|
|
6007
|
+
'unicorn/better-regex'?: Linter.RuleEntry<[]>;
|
|
5983
6008
|
/**
|
|
5984
6009
|
* Enforce a specific parameter name in catch clauses.
|
|
5985
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/catch-error-name.md
|
|
5986
6011
|
*/
|
|
5987
6012
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5988
6013
|
/**
|
|
5989
6014
|
* Enforce consistent assertion style with `node:assert`.
|
|
5990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-assert.md
|
|
5991
6016
|
*/
|
|
5992
6017
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
6018
|
+
/**
|
|
6019
|
+
* Enforce consistent spelling of compound words in identifiers.
|
|
6020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-compound-words.md
|
|
6021
|
+
*/
|
|
6022
|
+
'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
|
|
5993
6023
|
/**
|
|
5994
6024
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5995
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6025
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-date-clone.md
|
|
5996
6026
|
*/
|
|
5997
6027
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5998
6028
|
/**
|
|
5999
6029
|
* Use destructured variables over properties.
|
|
6000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-destructuring.md
|
|
6001
6031
|
*/
|
|
6002
6032
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
6003
6033
|
/**
|
|
6004
6034
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
6005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-empty-array-spread.md
|
|
6006
6036
|
*/
|
|
6007
6037
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
6008
6038
|
/**
|
|
6009
6039
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
6010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-existence-index-check.md
|
|
6011
6041
|
*/
|
|
6012
6042
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
6013
6043
|
/**
|
|
6014
6044
|
* Move function definitions to the highest possible scope.
|
|
6015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6045
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-function-scoping.md
|
|
6016
6046
|
*/
|
|
6017
6047
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
6048
|
+
/**
|
|
6049
|
+
* Enforce consistent JSON file reads before `JSON.parse()`.
|
|
6050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-json-file-read.md
|
|
6051
|
+
*/
|
|
6052
|
+
'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
|
|
6018
6053
|
/**
|
|
6019
6054
|
* Enforce consistent style for escaping `${` in template literals.
|
|
6020
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-template-literal-escape.md
|
|
6021
6056
|
*/
|
|
6022
6057
|
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
6023
6058
|
/**
|
|
6024
6059
|
* Enforce correct `Error` subclassing.
|
|
6025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6060
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/custom-error-definition.md
|
|
6026
6061
|
*/
|
|
6027
6062
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
6063
|
+
/**
|
|
6064
|
+
* Enforce consistent style for DOM element dataset access.
|
|
6065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/dom-node-dataset.md
|
|
6066
|
+
*/
|
|
6067
|
+
'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
|
|
6028
6068
|
/**
|
|
6029
6069
|
* Enforce no spaces between braces.
|
|
6030
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/empty-brace-spaces.md
|
|
6031
6071
|
*/
|
|
6032
6072
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
6033
6073
|
/**
|
|
6034
6074
|
* Enforce passing a `message` value when creating a built-in error.
|
|
6035
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/error-message.md
|
|
6036
6076
|
*/
|
|
6037
6077
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
6038
6078
|
/**
|
|
6039
6079
|
* Require escape sequences to use uppercase or lowercase values.
|
|
6040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/escape-case.md
|
|
6041
6081
|
*/
|
|
6042
6082
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
6043
6083
|
/**
|
|
6044
6084
|
* Add expiration conditions to TODO comments.
|
|
6045
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/expiring-todo-comments.md
|
|
6046
6086
|
*/
|
|
6047
6087
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
6048
6088
|
/**
|
|
6049
6089
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
6050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/explicit-length-check.md
|
|
6051
6091
|
*/
|
|
6052
6092
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
6053
6093
|
/**
|
|
6054
|
-
* Enforce a case style for filenames.
|
|
6055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6094
|
+
* Enforce a case style for filenames and directory names.
|
|
6095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/filename-case.md
|
|
6056
6096
|
*/
|
|
6057
6097
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
6058
6098
|
/**
|
|
6059
6099
|
* Enforce specific import styles per module.
|
|
6060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/import-style.md
|
|
6061
6101
|
*/
|
|
6062
6102
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
6063
6103
|
/**
|
|
6064
6104
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
6065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/isolated-functions.md
|
|
6066
6106
|
*/
|
|
6067
6107
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
6068
6108
|
/**
|
|
6069
6109
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
6070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/new-for-builtins.md
|
|
6071
6111
|
*/
|
|
6072
6112
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
6073
6113
|
/**
|
|
6074
6114
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
6075
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
6076
6116
|
*/
|
|
6077
6117
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
6078
6118
|
/**
|
|
6079
6119
|
* Disallow recursive access to `this` within getters and setters.
|
|
6080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6120
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-accessor-recursion.md
|
|
6081
6121
|
*/
|
|
6082
6122
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
6083
6123
|
/**
|
|
6084
6124
|
* Disallow anonymous functions and classes as the default export.
|
|
6085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6125
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-anonymous-default-export.md
|
|
6086
6126
|
*/
|
|
6087
6127
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
6088
6128
|
/**
|
|
6089
6129
|
* Prevent passing a function reference directly to iterator methods.
|
|
6090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6130
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-callback-reference.md
|
|
6091
6131
|
*/
|
|
6092
|
-
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<
|
|
6132
|
+
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
|
|
6133
|
+
/**
|
|
6134
|
+
* Disallow using reference values as `Array#fill()` values.
|
|
6135
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-fill-with-reference-type.md
|
|
6136
|
+
*/
|
|
6137
|
+
'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
|
|
6093
6138
|
/**
|
|
6094
6139
|
* Prefer `for…of` over the `forEach` method.
|
|
6095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6140
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-for-each.md
|
|
6096
6141
|
*/
|
|
6097
6142
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
6143
|
+
/**
|
|
6144
|
+
* Disallow `.fill()` after `Array.from({length: …})`.
|
|
6145
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-from-fill.md
|
|
6146
|
+
*/
|
|
6147
|
+
'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
|
|
6098
6148
|
/**
|
|
6099
6149
|
* Disallow using the `this` argument in array methods.
|
|
6100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6150
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-method-this-argument.md
|
|
6101
6151
|
*/
|
|
6102
6152
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
6103
6153
|
/**
|
|
6104
6154
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
6105
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
6106
6156
|
* @deprecated
|
|
6107
6157
|
*/
|
|
6108
6158
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
6109
6159
|
/**
|
|
6110
6160
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
6111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reduce.md
|
|
6112
6162
|
*/
|
|
6113
6163
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
6114
6164
|
/**
|
|
6115
6165
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
6116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reverse.md
|
|
6117
6167
|
*/
|
|
6118
6168
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
6119
6169
|
/**
|
|
6120
6170
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
6121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-sort.md
|
|
6122
6172
|
*/
|
|
6123
6173
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
6124
6174
|
/**
|
|
6125
6175
|
* Disallow member access from await expression.
|
|
6126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-expression-member.md
|
|
6127
6177
|
*/
|
|
6128
6178
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
6129
6179
|
/**
|
|
6130
6180
|
* Disallow using `await` in `Promise` method parameters.
|
|
6131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-in-promise-methods.md
|
|
6132
6182
|
*/
|
|
6133
6183
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6184
|
+
/**
|
|
6185
|
+
* Disallow unnecessary `Blob` to `File` conversion.
|
|
6186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-blob-to-file.md
|
|
6187
|
+
*/
|
|
6188
|
+
'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
|
|
6189
|
+
/**
|
|
6190
|
+
* Prefer drawing canvases directly instead of converting them to images.
|
|
6191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-canvas-to-image.md
|
|
6192
|
+
*/
|
|
6193
|
+
'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
|
|
6194
|
+
/**
|
|
6195
|
+
* Disallow confusing uses of `Array#{splice,toSpliced}()`.
|
|
6196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-confusing-array-splice.md
|
|
6197
|
+
*/
|
|
6198
|
+
'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
|
|
6134
6199
|
/**
|
|
6135
6200
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
6136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-console-spaces.md
|
|
6137
6202
|
*/
|
|
6138
6203
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
6139
6204
|
/**
|
|
6140
6205
|
* Do not use `document.cookie` directly.
|
|
6141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-document-cookie.md
|
|
6142
6207
|
*/
|
|
6143
6208
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
6209
|
+
/**
|
|
6210
|
+
* Disallow duplicate values in `Set` constructor array literals.
|
|
6211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-duplicate-set-values.md
|
|
6212
|
+
*/
|
|
6213
|
+
'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
|
|
6144
6214
|
/**
|
|
6145
6215
|
* Disallow empty files.
|
|
6146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-empty-file.md
|
|
6147
6217
|
*/
|
|
6148
|
-
'unicorn/no-empty-file'?: Linter.RuleEntry<
|
|
6218
|
+
'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
|
|
6219
|
+
/**
|
|
6220
|
+
* Disallow exports in scripts.
|
|
6221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-exports-in-scripts.md
|
|
6222
|
+
*/
|
|
6223
|
+
'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
|
|
6149
6224
|
/**
|
|
6150
6225
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
6151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-for-loop.md
|
|
6152
6227
|
*/
|
|
6153
6228
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
6154
6229
|
/**
|
|
6155
6230
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
6156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-hex-escape.md
|
|
6157
6232
|
*/
|
|
6158
6233
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
6159
6234
|
/**
|
|
6160
6235
|
* Disallow immediate mutation after variable assignment.
|
|
6161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-immediate-mutation.md
|
|
6162
6237
|
*/
|
|
6163
6238
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
6239
|
+
/**
|
|
6240
|
+
* Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
|
|
6241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-incorrect-query-selector.md
|
|
6242
|
+
*/
|
|
6243
|
+
'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
|
|
6164
6244
|
/**
|
|
6165
6245
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
6166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
6167
6247
|
* @deprecated
|
|
6168
6248
|
*/
|
|
6169
6249
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
6170
6250
|
/**
|
|
6171
6251
|
* Disallow `instanceof` with built-in objects
|
|
6172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-instanceof-builtins.md
|
|
6173
6253
|
*/
|
|
6174
6254
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
6175
6255
|
/**
|
|
6176
6256
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
6177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-fetch-options.md
|
|
6178
6258
|
*/
|
|
6179
6259
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
6260
|
+
/**
|
|
6261
|
+
* Disallow invalid `accept` values on file inputs.
|
|
6262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-file-input-accept.md
|
|
6263
|
+
*/
|
|
6264
|
+
'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
|
|
6180
6265
|
/**
|
|
6181
6266
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
6182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
6183
6268
|
*/
|
|
6184
6269
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
6185
6270
|
/**
|
|
6186
6271
|
* Disallow identifiers starting with `new` or `class`.
|
|
6187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-keyword-prefix.md
|
|
6188
6273
|
*/
|
|
6189
6274
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
6275
|
+
/**
|
|
6276
|
+
* Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
|
|
6277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-late-current-target-access.md
|
|
6278
|
+
*/
|
|
6279
|
+
'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
|
|
6190
6280
|
/**
|
|
6191
6281
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
6192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
6193
6283
|
* @deprecated
|
|
6194
6284
|
*/
|
|
6195
6285
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
6196
6286
|
/**
|
|
6197
6287
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
6198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6288
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-lonely-if.md
|
|
6199
6289
|
*/
|
|
6200
6290
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
6201
6291
|
/**
|
|
6202
6292
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
6203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
6204
6294
|
*/
|
|
6205
6295
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
6296
|
+
/**
|
|
6297
|
+
* Disallow manually wrapped comments.
|
|
6298
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-manually-wrapped-comments.md
|
|
6299
|
+
*/
|
|
6300
|
+
'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
|
|
6206
6301
|
/**
|
|
6207
6302
|
* Disallow named usage of default import and export.
|
|
6208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6303
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-named-default.md
|
|
6209
6304
|
*/
|
|
6210
6305
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
6211
6306
|
/**
|
|
6212
6307
|
* Disallow negated conditions.
|
|
6213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6308
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negated-condition.md
|
|
6214
6309
|
*/
|
|
6215
6310
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
6216
6311
|
/**
|
|
6217
6312
|
* Disallow negated expression in equality check.
|
|
6218
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negation-in-equality-check.md
|
|
6219
6314
|
*/
|
|
6220
6315
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
6221
6316
|
/**
|
|
6222
6317
|
* Disallow nested ternary expressions.
|
|
6223
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6318
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-nested-ternary.md
|
|
6224
6319
|
*/
|
|
6225
6320
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
6226
6321
|
/**
|
|
6227
6322
|
* Disallow `new Array()`.
|
|
6228
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6323
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-array.md
|
|
6229
6324
|
*/
|
|
6230
6325
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
6231
6326
|
/**
|
|
6232
6327
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
6233
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6328
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-buffer.md
|
|
6234
6329
|
*/
|
|
6235
6330
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
6236
6331
|
/**
|
|
6237
6332
|
* Disallow the use of the `null` literal.
|
|
6238
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6333
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-null.md
|
|
6239
6334
|
*/
|
|
6240
6335
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
6241
6336
|
/**
|
|
6242
6337
|
* Disallow the use of objects as default parameters.
|
|
6243
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-object-as-default-parameter.md
|
|
6244
6339
|
*/
|
|
6245
6340
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
6246
6341
|
/**
|
|
6247
6342
|
* Disallow `process.exit()`.
|
|
6248
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6343
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-process-exit.md
|
|
6249
6344
|
*/
|
|
6250
6345
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
6251
6346
|
/**
|
|
6252
6347
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
6253
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
6254
6349
|
*/
|
|
6255
6350
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6256
6351
|
/**
|
|
6257
6352
|
* Disallow classes that only have static members.
|
|
6258
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6353
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-static-only-class.md
|
|
6259
6354
|
*/
|
|
6260
6355
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
6261
6356
|
/**
|
|
6262
6357
|
* Disallow `then` property.
|
|
6263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-thenable.md
|
|
6264
6359
|
*/
|
|
6265
6360
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
6266
6361
|
/**
|
|
6267
6362
|
* Disallow assigning `this` to a variable.
|
|
6268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-assignment.md
|
|
6269
6364
|
*/
|
|
6270
6365
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
6366
|
+
/**
|
|
6367
|
+
* Disallow `this` outside of classes.
|
|
6368
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-outside-of-class.md
|
|
6369
|
+
*/
|
|
6370
|
+
'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
|
|
6271
6371
|
/**
|
|
6272
6372
|
* Disallow comparing `undefined` using `typeof`.
|
|
6273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6373
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-typeof-undefined.md
|
|
6274
6374
|
*/
|
|
6275
6375
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
6276
6376
|
/**
|
|
6277
6377
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
6278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6378
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
6279
6379
|
*/
|
|
6280
6380
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
6281
6381
|
/**
|
|
6282
6382
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
6283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6383
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
6284
6384
|
*/
|
|
6285
6385
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
6286
6386
|
/**
|
|
6287
6387
|
* Disallow awaiting non-promise values.
|
|
6288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6388
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-await.md
|
|
6289
6389
|
*/
|
|
6290
6390
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
6391
|
+
/**
|
|
6392
|
+
* Disallow unnecessary nested ternary expressions.
|
|
6393
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-nested-ternary.md
|
|
6394
|
+
*/
|
|
6395
|
+
'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
6291
6396
|
/**
|
|
6292
6397
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
6293
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6398
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
6294
6399
|
*/
|
|
6295
6400
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
6296
6401
|
/**
|
|
6297
6402
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
6298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
6299
6404
|
*/
|
|
6300
6405
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
6301
6406
|
/**
|
|
6302
6407
|
* Disallow unreadable array destructuring.
|
|
6303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
6304
6409
|
*/
|
|
6305
6410
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
6306
6411
|
/**
|
|
6307
6412
|
* Disallow unreadable IIFEs.
|
|
6308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-iife.md
|
|
6309
6414
|
*/
|
|
6310
6415
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
6416
|
+
/**
|
|
6417
|
+
* Disallow ignoring the return value of selected array methods.
|
|
6418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-array-method-return.md
|
|
6419
|
+
*/
|
|
6420
|
+
'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
|
|
6311
6421
|
/**
|
|
6312
6422
|
* Disallow unused object properties.
|
|
6313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6423
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-properties.md
|
|
6314
6424
|
*/
|
|
6315
6425
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
6316
6426
|
/**
|
|
6317
6427
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
6318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-collection-argument.md
|
|
6319
6429
|
*/
|
|
6320
6430
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
6321
6431
|
/**
|
|
6322
6432
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
6323
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6433
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-error-capture-stack-trace.md
|
|
6324
6434
|
*/
|
|
6325
6435
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
6326
6436
|
/**
|
|
6327
6437
|
* Disallow useless fallback when spreading in object literals.
|
|
6328
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6438
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
6329
6439
|
*/
|
|
6330
6440
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
6331
6441
|
/**
|
|
6332
6442
|
* Disallow unnecessary `.toArray()` on iterators.
|
|
6333
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6443
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-iterator-to-array.md
|
|
6334
6444
|
*/
|
|
6335
6445
|
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
6336
6446
|
/**
|
|
6337
6447
|
* Disallow useless array length check.
|
|
6338
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6448
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-length-check.md
|
|
6339
6449
|
*/
|
|
6340
6450
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
6341
6451
|
/**
|
|
6342
6452
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6343
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
6344
6454
|
*/
|
|
6345
6455
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
6346
6456
|
/**
|
|
6347
6457
|
* Disallow unnecessary spread.
|
|
6348
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6458
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-spread.md
|
|
6349
6459
|
*/
|
|
6350
6460
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
6351
6461
|
/**
|
|
6352
6462
|
* Disallow useless case in switch statements.
|
|
6353
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6463
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-switch-case.md
|
|
6354
6464
|
*/
|
|
6355
6465
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
6356
6466
|
/**
|
|
6357
6467
|
* Disallow useless `undefined`.
|
|
6358
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6468
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-undefined.md
|
|
6359
6469
|
*/
|
|
6360
6470
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
6361
6471
|
/**
|
|
6362
6472
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6363
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6473
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-zero-fractions.md
|
|
6364
6474
|
*/
|
|
6365
6475
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
6366
6476
|
/**
|
|
6367
6477
|
* Enforce proper case for numeric literals.
|
|
6368
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6478
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/number-literal-case.md
|
|
6369
6479
|
*/
|
|
6370
6480
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
6371
6481
|
/**
|
|
6372
6482
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6373
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6483
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/numeric-separators-style.md
|
|
6374
6484
|
*/
|
|
6375
6485
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
6376
6486
|
/**
|
|
6377
6487
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6378
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6488
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-add-event-listener.md
|
|
6379
6489
|
*/
|
|
6380
6490
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
6381
6491
|
/**
|
|
6382
6492
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6383
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6493
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-find.md
|
|
6384
6494
|
*/
|
|
6385
6495
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
6386
6496
|
/**
|
|
6387
6497
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6388
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6498
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat.md
|
|
6389
6499
|
*/
|
|
6390
6500
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
6391
6501
|
/**
|
|
6392
6502
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6393
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6503
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat-map.md
|
|
6394
6504
|
*/
|
|
6395
6505
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
6396
6506
|
/**
|
|
6397
6507
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6398
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6508
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-index-of.md
|
|
6399
6509
|
*/
|
|
6400
6510
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
6511
|
+
/**
|
|
6512
|
+
* Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
|
|
6513
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-last-methods.md
|
|
6514
|
+
*/
|
|
6515
|
+
'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
|
|
6401
6516
|
/**
|
|
6402
6517
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6403
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6518
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-some.md
|
|
6404
6519
|
*/
|
|
6405
6520
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
6406
6521
|
/**
|
|
6407
6522
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6408
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6523
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-at.md
|
|
6409
6524
|
*/
|
|
6410
6525
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
6411
6526
|
/**
|
|
6412
6527
|
* Prefer `BigInt` literals over the constructor.
|
|
6413
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6528
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-bigint-literals.md
|
|
6414
6529
|
*/
|
|
6415
6530
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
6416
6531
|
/**
|
|
6417
6532
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6418
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6533
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
6419
6534
|
*/
|
|
6420
6535
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
6421
6536
|
/**
|
|
6422
6537
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
6423
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6538
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-class-fields.md
|
|
6424
6539
|
*/
|
|
6425
6540
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
6426
6541
|
/**
|
|
6427
6542
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
6428
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6543
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-classlist-toggle.md
|
|
6429
6544
|
*/
|
|
6430
6545
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
6431
6546
|
/**
|
|
6432
6547
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6433
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6548
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-code-point.md
|
|
6434
6549
|
*/
|
|
6435
6550
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
6436
6551
|
/**
|
|
6437
6552
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6438
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6553
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-date-now.md
|
|
6439
6554
|
*/
|
|
6440
6555
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
6441
6556
|
/**
|
|
6442
6557
|
* Prefer default parameters over reassignment.
|
|
6443
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6558
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-default-parameters.md
|
|
6444
6559
|
*/
|
|
6445
6560
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
6446
6561
|
/**
|
|
6447
|
-
* Prefer `
|
|
6448
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6562
|
+
* Prefer `Element#append()` over `Node#appendChild()`.
|
|
6563
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-append.md
|
|
6449
6564
|
*/
|
|
6450
6565
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
6451
6566
|
/**
|
|
6452
|
-
*
|
|
6453
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6567
|
+
* Renamed to `unicorn/dom-node-dataset`.
|
|
6568
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
|
|
6569
|
+
* @deprecated
|
|
6454
6570
|
*/
|
|
6455
6571
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
6456
6572
|
/**
|
|
6457
6573
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6458
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-remove.md
|
|
6459
6575
|
*/
|
|
6460
6576
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
6461
6577
|
/**
|
|
6462
6578
|
* Prefer `.textContent` over `.innerText`.
|
|
6463
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
6464
6580
|
*/
|
|
6465
6581
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
6466
6582
|
/**
|
|
6467
6583
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6468
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-event-target.md
|
|
6469
6585
|
*/
|
|
6470
6586
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
6471
6587
|
/**
|
|
6472
6588
|
* Prefer `export…from` when re-exporting.
|
|
6473
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-export-from.md
|
|
6474
6590
|
*/
|
|
6475
6591
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
6592
|
+
/**
|
|
6593
|
+
* Prefer `.getOrInsertComputed()` when the default value has side effects.
|
|
6594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-get-or-insert-computed.md
|
|
6595
|
+
*/
|
|
6596
|
+
'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
|
|
6476
6597
|
/**
|
|
6477
6598
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6478
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-global-this.md
|
|
6479
6600
|
*/
|
|
6480
6601
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
6602
|
+
/**
|
|
6603
|
+
* Prefer HTTPS over HTTP.
|
|
6604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-https.md
|
|
6605
|
+
*/
|
|
6606
|
+
'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
|
|
6481
6607
|
/**
|
|
6482
6608
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
6483
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-import-meta-properties.md
|
|
6484
6610
|
*/
|
|
6485
6611
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
6486
6612
|
/**
|
|
6487
6613
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6488
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes.md
|
|
6489
6615
|
*/
|
|
6490
6616
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
6491
6617
|
/**
|
|
6492
|
-
* Prefer
|
|
6493
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6618
|
+
* Prefer `.includes()` over repeated equality comparisons.
|
|
6619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes-over-repeated-comparisons.md
|
|
6620
|
+
*/
|
|
6621
|
+
'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
|
|
6622
|
+
/**
|
|
6623
|
+
* Prefer `Iterator.concat(…)` over temporary spread arrays.
|
|
6624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-concat.md
|
|
6625
|
+
*/
|
|
6626
|
+
'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
|
|
6627
|
+
/**
|
|
6628
|
+
* Prefer moving `.toArray()` to the end of iterator helper chains.
|
|
6629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-to-array-at-end.md
|
|
6630
|
+
*/
|
|
6631
|
+
'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
|
|
6632
|
+
/**
|
|
6633
|
+
* Renamed to `unicorn/consistent-json-file-read`.
|
|
6634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
|
|
6635
|
+
* @deprecated
|
|
6494
6636
|
*/
|
|
6495
6637
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
6496
6638
|
/**
|
|
6497
|
-
* Prefer `KeyboardEvent#key` over
|
|
6498
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6639
|
+
* Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
|
|
6640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
6499
6641
|
*/
|
|
6500
6642
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
6501
6643
|
/**
|
|
6502
6644
|
* Prefer using a logical operator over a ternary.
|
|
6503
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6504
6646
|
*/
|
|
6505
6647
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
6648
|
+
/**
|
|
6649
|
+
* Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
|
|
6650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-abs.md
|
|
6651
|
+
*/
|
|
6652
|
+
'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
|
|
6506
6653
|
/**
|
|
6507
6654
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-min-max.md
|
|
6509
6656
|
*/
|
|
6510
6657
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
6511
6658
|
/**
|
|
6512
6659
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-trunc.md
|
|
6514
6661
|
*/
|
|
6515
6662
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
6516
6663
|
/**
|
|
6517
6664
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6518
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
6519
6666
|
*/
|
|
6520
6667
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
6521
6668
|
/**
|
|
6522
6669
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-math-apis.md
|
|
6524
6671
|
*/
|
|
6525
6672
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
6526
6673
|
/**
|
|
6527
6674
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6528
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-module.md
|
|
6529
6676
|
*/
|
|
6530
6677
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
6531
6678
|
/**
|
|
6532
6679
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6533
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
6534
6681
|
*/
|
|
6535
6682
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
6536
6683
|
/**
|
|
6537
6684
|
* Prefer negative index over `.length - index` when possible.
|
|
6538
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-negative-index.md
|
|
6539
6686
|
*/
|
|
6540
6687
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
6541
6688
|
/**
|
|
6542
6689
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6543
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-node-protocol.md
|
|
6544
6691
|
*/
|
|
6545
6692
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
6546
6693
|
/**
|
|
6547
6694
|
* Prefer `Number` static properties over global ones.
|
|
6548
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-number-properties.md
|
|
6549
6696
|
*/
|
|
6550
6697
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
6551
6698
|
/**
|
|
6552
6699
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6553
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-object-from-entries.md
|
|
6554
6701
|
*/
|
|
6555
6702
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
6556
6703
|
/**
|
|
6557
6704
|
* Prefer omitting the `catch` binding parameter.
|
|
6558
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
6559
6706
|
*/
|
|
6560
6707
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
6561
6708
|
/**
|
|
6562
6709
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6563
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-prototype-methods.md
|
|
6564
6711
|
*/
|
|
6565
6712
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
6566
6713
|
/**
|
|
6567
|
-
* Prefer `.querySelector()`
|
|
6568
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6714
|
+
* Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
|
|
6715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-query-selector.md
|
|
6716
|
+
*/
|
|
6717
|
+
'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
|
|
6718
|
+
/**
|
|
6719
|
+
* Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
|
|
6720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-queue-microtask.md
|
|
6569
6721
|
*/
|
|
6570
|
-
'unicorn/prefer-
|
|
6722
|
+
'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
|
|
6571
6723
|
/**
|
|
6572
6724
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6573
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-reflect-apply.md
|
|
6574
6726
|
*/
|
|
6575
6727
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
6576
6728
|
/**
|
|
6577
6729
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6578
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-regexp-test.md
|
|
6579
6731
|
*/
|
|
6580
6732
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
6581
6733
|
/**
|
|
6582
6734
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
6583
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-response-static-json.md
|
|
6584
6736
|
*/
|
|
6585
6737
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
6586
6738
|
/**
|
|
6587
6739
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6588
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-has.md
|
|
6589
6741
|
*/
|
|
6590
|
-
'unicorn/prefer-set-has'?: Linter.RuleEntry<
|
|
6742
|
+
'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
|
|
6591
6743
|
/**
|
|
6592
6744
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6593
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-size.md
|
|
6594
6746
|
*/
|
|
6595
6747
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
6596
6748
|
/**
|
|
6597
6749
|
* Prefer simple conditions first in logical expressions.
|
|
6598
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-simple-condition-first.md
|
|
6599
6751
|
*/
|
|
6600
6752
|
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
6601
6753
|
/**
|
|
6602
|
-
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
6603
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6754
|
+
* Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
6755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-single-call.md
|
|
6604
6756
|
*/
|
|
6605
6757
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
6758
|
+
/**
|
|
6759
|
+
* Prefer `String#split()` with a limit.
|
|
6760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-split-limit.md
|
|
6761
|
+
*/
|
|
6762
|
+
'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
|
|
6606
6763
|
/**
|
|
6607
6764
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6608
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-spread.md
|
|
6609
6766
|
*/
|
|
6610
6767
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
6768
|
+
/**
|
|
6769
|
+
* Prefer `String#matchAll()` over `RegExp#exec()` loops.
|
|
6770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-match-all.md
|
|
6771
|
+
*/
|
|
6772
|
+
'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
|
|
6773
|
+
/**
|
|
6774
|
+
* Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
|
|
6775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-pad-start-end.md
|
|
6776
|
+
*/
|
|
6777
|
+
'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
|
|
6611
6778
|
/**
|
|
6612
6779
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6613
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-raw.md
|
|
6614
6781
|
*/
|
|
6615
6782
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
6616
6783
|
/**
|
|
6617
|
-
* Prefer `String#
|
|
6618
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6784
|
+
* Prefer `String#repeat()` for repeated whitespace.
|
|
6785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-repeat.md
|
|
6786
|
+
*/
|
|
6787
|
+
'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
|
|
6788
|
+
/**
|
|
6789
|
+
* Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
|
|
6790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-replace-all.md
|
|
6619
6791
|
*/
|
|
6620
6792
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
6621
6793
|
/**
|
|
6622
6794
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6623
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-slice.md
|
|
6624
6796
|
*/
|
|
6625
6797
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
6626
6798
|
/**
|
|
6627
6799
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6628
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
6629
6801
|
*/
|
|
6630
6802
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
6631
6803
|
/**
|
|
6632
6804
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6633
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
6634
6806
|
*/
|
|
6635
6807
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
6636
6808
|
/**
|
|
6637
6809
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6638
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-structured-clone.md
|
|
6639
6811
|
*/
|
|
6640
6812
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
6641
6813
|
/**
|
|
6642
6814
|
* Prefer `switch` over multiple `else-if`.
|
|
6643
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-switch.md
|
|
6644
6816
|
*/
|
|
6645
6817
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
6646
6818
|
/**
|
|
6647
6819
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6648
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-ternary.md
|
|
6649
6821
|
*/
|
|
6650
6822
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
6651
6823
|
/**
|
|
6652
6824
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6653
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-top-level-await.md
|
|
6654
6826
|
*/
|
|
6655
6827
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
6656
6828
|
/**
|
|
6657
6829
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6658
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-type-error.md
|
|
6659
6831
|
*/
|
|
6660
6832
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
6661
6833
|
/**
|
|
6662
6834
|
* Prevent abbreviations.
|
|
6663
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prevent-abbreviations.md
|
|
6664
6836
|
*/
|
|
6665
6837
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
6666
6838
|
/**
|
|
6667
6839
|
* Enforce consistent relative URL style.
|
|
6668
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6840
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/relative-url-style.md
|
|
6669
6841
|
*/
|
|
6670
6842
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
6671
6843
|
/**
|
|
6672
6844
|
* Enforce using the separator argument with `Array#join()`.
|
|
6673
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-array-join-separator.md
|
|
6674
6846
|
*/
|
|
6675
6847
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
6848
|
+
/**
|
|
6849
|
+
* Require `CSS.escape()` for interpolated values in CSS selectors.
|
|
6850
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-css-escape.md
|
|
6851
|
+
*/
|
|
6852
|
+
'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
|
|
6676
6853
|
/**
|
|
6677
6854
|
* Require non-empty module attributes for imports and exports
|
|
6678
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-attributes.md
|
|
6679
6856
|
*/
|
|
6680
6857
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
6681
6858
|
/**
|
|
6682
6859
|
* Require non-empty specifier list in import and export statements.
|
|
6683
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-specifiers.md
|
|
6684
6861
|
*/
|
|
6685
6862
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
6686
6863
|
/**
|
|
6687
6864
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6688
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6865
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6689
6866
|
*/
|
|
6690
6867
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
6868
|
+
/**
|
|
6869
|
+
* Require passive event listeners for high-frequency events.
|
|
6870
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-passive-events.md
|
|
6871
|
+
*/
|
|
6872
|
+
'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
|
|
6691
6873
|
/**
|
|
6692
6874
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6875
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-post-message-target-origin.md
|
|
6694
6876
|
*/
|
|
6695
6877
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
6696
6878
|
/**
|
|
6697
6879
|
* Enforce better string content.
|
|
6698
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6880
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/string-content.md
|
|
6699
6881
|
*/
|
|
6700
6882
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
6701
6883
|
/**
|
|
6702
6884
|
* Enforce consistent brace style for `case` clauses.
|
|
6703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6885
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-braces.md
|
|
6704
6886
|
*/
|
|
6705
6887
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
6706
6888
|
/**
|
|
6707
6889
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
6708
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6890
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-break-position.md
|
|
6709
6891
|
*/
|
|
6710
6892
|
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
6711
6893
|
/**
|
|
6712
6894
|
* Fix whitespace-insensitive template indentation.
|
|
6713
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/template-indent.md
|
|
6714
6896
|
*/
|
|
6715
6897
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
6716
6898
|
/**
|
|
6717
6899
|
* Enforce consistent case for text encoding identifiers.
|
|
6718
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6900
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/text-encoding-identifier-case.md
|
|
6719
6901
|
*/
|
|
6720
6902
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
6721
6903
|
/**
|
|
6722
6904
|
* Require `new` when creating an error.
|
|
6723
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/throw-new-error.md
|
|
6724
6906
|
*/
|
|
6725
6907
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
6908
|
+
/**
|
|
6909
|
+
* Limit the complexity of `try` blocks.
|
|
6910
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/try-complexity.md
|
|
6911
|
+
*/
|
|
6912
|
+
'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
|
|
6726
6913
|
/**
|
|
6727
6914
|
* Disallow unused variables
|
|
6728
6915
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
@@ -6959,7 +7146,7 @@ interface RuleOptions {
|
|
|
6959
7146
|
*/
|
|
6960
7147
|
'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>;
|
|
6961
7148
|
/**
|
|
6962
|
-
* Enforce consistent spacing between
|
|
7149
|
+
* Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
|
|
6963
7150
|
* @see https://eslint.vuejs.org/rules/key-spacing.html
|
|
6964
7151
|
*/
|
|
6965
7152
|
'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>;
|
|
@@ -7681,7 +7868,7 @@ interface RuleOptions {
|
|
|
7681
7868
|
*/
|
|
7682
7869
|
'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>;
|
|
7683
7870
|
/**
|
|
7684
|
-
* Require quotes around object literal property names in `<template>`
|
|
7871
|
+
* Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
|
|
7685
7872
|
* @see https://eslint.vuejs.org/rules/quote-props.html
|
|
7686
7873
|
*/
|
|
7687
7874
|
'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>;
|
|
@@ -11682,7 +11869,6 @@ type NNoUnpublishedBin = [] | [{
|
|
|
11682
11869
|
exclude?: string[];
|
|
11683
11870
|
replace: [string, string];
|
|
11684
11871
|
})[]]);
|
|
11685
|
-
[k: string]: unknown | undefined;
|
|
11686
11872
|
}]; // ----- n/no-unpublished-import -----
|
|
11687
11873
|
type NNoUnpublishedImport = [] | [{
|
|
11688
11874
|
allowModules?: string[];
|
|
@@ -11736,7 +11922,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
11736
11922
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
11737
11923
|
version?: string;
|
|
11738
11924
|
allowExperimental?: boolean;
|
|
11739
|
-
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")[];
|
|
11925
|
+
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")[];
|
|
11740
11926
|
}]; // ----- n/prefer-global/buffer -----
|
|
11741
11927
|
type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
|
|
11742
11928
|
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
|
|
@@ -12174,9 +12360,12 @@ type PackageJsonExportsSubpathsStyle = [] | [{
|
|
|
12174
12360
|
}]; // ----- package-json/no-empty-fields -----
|
|
12175
12361
|
type PackageJsonNoEmptyFields = [] | [{
|
|
12176
12362
|
ignoreProperties?: string[];
|
|
12363
|
+
}]; // ----- package-json/no-local-dependencies -----
|
|
12364
|
+
type PackageJsonNoLocalDependencies = [] | [{
|
|
12365
|
+
ignorePrivate?: boolean;
|
|
12177
12366
|
}]; // ----- package-json/order-properties -----
|
|
12178
12367
|
type PackageJsonOrderProperties = [] | [{
|
|
12179
|
-
order?: (
|
|
12368
|
+
order?: ("sort-package-json" | string[]);
|
|
12180
12369
|
}]; // ----- package-json/repository-shorthand -----
|
|
12181
12370
|
type PackageJsonRepositoryShorthand = [] | [{
|
|
12182
12371
|
form?: ("object" | "shorthand");
|
|
@@ -12190,12 +12379,18 @@ type PackageJsonRequireAuthor = [] | [{
|
|
|
12190
12379
|
}]; // ----- package-json/require-bin -----
|
|
12191
12380
|
type PackageJsonRequireBin = [] | [{
|
|
12192
12381
|
ignorePrivate?: boolean;
|
|
12382
|
+
}]; // ----- package-json/require-browser -----
|
|
12383
|
+
type PackageJsonRequireBrowser = [] | [{
|
|
12384
|
+
ignorePrivate?: boolean;
|
|
12193
12385
|
}]; // ----- package-json/require-bugs -----
|
|
12194
12386
|
type PackageJsonRequireBugs = [] | [{
|
|
12195
12387
|
ignorePrivate?: boolean;
|
|
12196
12388
|
}]; // ----- package-json/require-bundleDependencies -----
|
|
12197
12389
|
type PackageJsonRequireBundleDependencies = [] | [{
|
|
12198
12390
|
ignorePrivate?: boolean;
|
|
12391
|
+
}]; // ----- package-json/require-config -----
|
|
12392
|
+
type PackageJsonRequireConfig = [] | [{
|
|
12393
|
+
ignorePrivate?: boolean;
|
|
12199
12394
|
}]; // ----- package-json/require-contributors -----
|
|
12200
12395
|
type PackageJsonRequireContributors = [] | [{
|
|
12201
12396
|
ignorePrivate?: boolean;
|
|
@@ -12229,12 +12424,18 @@ type PackageJsonRequireFiles = [] | [{
|
|
|
12229
12424
|
}]; // ----- package-json/require-funding -----
|
|
12230
12425
|
type PackageJsonRequireFunding = [] | [{
|
|
12231
12426
|
ignorePrivate?: boolean;
|
|
12427
|
+
}]; // ----- package-json/require-gypfile -----
|
|
12428
|
+
type PackageJsonRequireGypfile = [] | [{
|
|
12429
|
+
ignorePrivate?: boolean;
|
|
12232
12430
|
}]; // ----- package-json/require-homepage -----
|
|
12233
12431
|
type PackageJsonRequireHomepage = [] | [{
|
|
12234
12432
|
ignorePrivate?: boolean;
|
|
12235
12433
|
}]; // ----- package-json/require-keywords -----
|
|
12236
12434
|
type PackageJsonRequireKeywords = [] | [{
|
|
12237
12435
|
ignorePrivate?: boolean;
|
|
12436
|
+
}]; // ----- package-json/require-libc -----
|
|
12437
|
+
type PackageJsonRequireLibc = [] | [{
|
|
12438
|
+
ignorePrivate?: boolean;
|
|
12238
12439
|
}]; // ----- package-json/require-license -----
|
|
12239
12440
|
type PackageJsonRequireLicense = [] | [{
|
|
12240
12441
|
ignorePrivate?: boolean;
|
|
@@ -12262,6 +12463,9 @@ type PackageJsonRequirePackageManager = [] | [{
|
|
|
12262
12463
|
}]; // ----- package-json/require-peerDependencies -----
|
|
12263
12464
|
type PackageJsonRequirePeerDependencies = [] | [{
|
|
12264
12465
|
ignorePrivate?: boolean;
|
|
12466
|
+
}]; // ----- package-json/require-peerDependenciesMeta -----
|
|
12467
|
+
type PackageJsonRequirePeerDependenciesMeta = [] | [{
|
|
12468
|
+
ignorePrivate?: boolean;
|
|
12265
12469
|
}]; // ----- package-json/require-publishConfig -----
|
|
12266
12470
|
type PackageJsonRequirePublishConfig = [] | [{
|
|
12267
12471
|
ignorePrivate?: boolean;
|
|
@@ -12297,11 +12501,14 @@ type PackageJsonRestrictDependencyRanges = [] | [({
|
|
|
12297
12501
|
}[])]; // ----- package-json/restrict-private-properties -----
|
|
12298
12502
|
type PackageJsonRestrictPrivateProperties = [] | [{
|
|
12299
12503
|
blockedProperties?: string[];
|
|
12504
|
+
}]; // ----- package-json/restrict-top-level-properties -----
|
|
12505
|
+
type PackageJsonRestrictTopLevelProperties = [] | [{
|
|
12506
|
+
ban?: (string | {
|
|
12507
|
+
message?: string;
|
|
12508
|
+
property: string;
|
|
12509
|
+
})[];
|
|
12300
12510
|
}]; // ----- package-json/sort-collections -----
|
|
12301
|
-
type PackageJsonSortCollections = [] | [string[]]; // -----
|
|
12302
|
-
type PackageJsonValidPackageDefinition = [] | [{
|
|
12303
|
-
ignoreProperties?: string[];
|
|
12304
|
-
}]; // ----- padded-blocks -----
|
|
12511
|
+
type PackageJsonSortCollections = [] | [string[]]; // ----- padded-blocks -----
|
|
12305
12512
|
type PaddedBlocks = [] | [(("always" | "never") | {
|
|
12306
12513
|
blocks?: ("always" | "never");
|
|
12307
12514
|
switches?: ("always" | "never");
|
|
@@ -14012,23 +14219,40 @@ type TomlSpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
14012
14219
|
markers?: string[];
|
|
14013
14220
|
}]; // ----- toml/table-bracket-spacing -----
|
|
14014
14221
|
type TomlTableBracketSpacing = [] | [("always" | "never")]; // ----- unicode-bom -----
|
|
14015
|
-
type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/
|
|
14016
|
-
type UnicornBetterRegex = [] | [{
|
|
14017
|
-
sortCharacterClasses?: boolean;
|
|
14018
|
-
}]; // ----- unicorn/catch-error-name -----
|
|
14222
|
+
type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/catch-error-name -----
|
|
14019
14223
|
type UnicornCatchErrorName = [] | [{
|
|
14020
14224
|
name?: string;
|
|
14021
14225
|
ignore?: unknown[];
|
|
14022
|
-
}]; // ----- unicorn/consistent-
|
|
14226
|
+
}]; // ----- unicorn/consistent-compound-words -----
|
|
14227
|
+
type UnicornConsistentCompoundWords = [] | [{
|
|
14228
|
+
checkProperties?: boolean;
|
|
14229
|
+
checkVariables?: boolean;
|
|
14230
|
+
checkDefaultAndNamespaceImports?: (boolean | "internal");
|
|
14231
|
+
checkShorthandImports?: (boolean | "internal");
|
|
14232
|
+
checkShorthandProperties?: boolean;
|
|
14233
|
+
extendDefaultReplacements?: boolean;
|
|
14234
|
+
replacements?: _UnicornConsistentCompoundWords_Replacements;
|
|
14235
|
+
allowList?: _UnicornConsistentCompoundWords_TrueObject;
|
|
14236
|
+
}];
|
|
14237
|
+
interface _UnicornConsistentCompoundWords_Replacements {
|
|
14238
|
+
[k: string]: (false | string) | undefined;
|
|
14239
|
+
}
|
|
14240
|
+
interface _UnicornConsistentCompoundWords_TrueObject {
|
|
14241
|
+
[k: string]: true | undefined;
|
|
14242
|
+
} // ----- unicorn/consistent-function-scoping -----
|
|
14023
14243
|
type UnicornConsistentFunctionScoping = [] | [{
|
|
14024
14244
|
checkArrowFunctions?: boolean;
|
|
14245
|
+
}]; // ----- unicorn/consistent-json-file-read -----
|
|
14246
|
+
type UnicornConsistentJsonFileRead = [] | [("string" | "buffer")]; // ----- unicorn/dom-node-dataset -----
|
|
14247
|
+
type UnicornDomNodeDataset = [] | [{
|
|
14248
|
+
preferAttributes?: boolean;
|
|
14025
14249
|
}]; // ----- unicorn/escape-case -----
|
|
14026
14250
|
type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/expiring-todo-comments -----
|
|
14027
14251
|
type UnicornExpiringTodoComments = [] | [{
|
|
14028
14252
|
terms?: string[];
|
|
14029
14253
|
ignore?: unknown[];
|
|
14030
|
-
|
|
14031
|
-
|
|
14254
|
+
checkDates?: boolean;
|
|
14255
|
+
checkDatesOnPullRequests?: boolean;
|
|
14032
14256
|
allowWarningComments?: boolean;
|
|
14033
14257
|
date?: string;
|
|
14034
14258
|
}]; // ----- unicorn/explicit-length-check -----
|
|
@@ -14039,6 +14263,7 @@ type UnicornFilenameCase = [] | [({
|
|
|
14039
14263
|
case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase");
|
|
14040
14264
|
ignore?: unknown[];
|
|
14041
14265
|
multipleFileExtensions?: boolean;
|
|
14266
|
+
checkDirectories?: boolean;
|
|
14042
14267
|
} | {
|
|
14043
14268
|
cases?: {
|
|
14044
14269
|
camelCase?: boolean;
|
|
@@ -14048,6 +14273,7 @@ type UnicornFilenameCase = [] | [({
|
|
|
14048
14273
|
};
|
|
14049
14274
|
ignore?: unknown[];
|
|
14050
14275
|
multipleFileExtensions?: boolean;
|
|
14276
|
+
checkDirectories?: boolean;
|
|
14051
14277
|
})]; // ----- unicorn/import-style -----
|
|
14052
14278
|
type UnicornImportStyle = [] | [{
|
|
14053
14279
|
checkImport?: boolean;
|
|
@@ -14071,6 +14297,9 @@ type UnicornIsolatedFunctions = [] | [{
|
|
|
14071
14297
|
functions?: string[];
|
|
14072
14298
|
selectors?: string[];
|
|
14073
14299
|
comments?: string[];
|
|
14300
|
+
}]; // ----- unicorn/no-array-callback-reference -----
|
|
14301
|
+
type UnicornNoArrayCallbackReference = [] | [{
|
|
14302
|
+
ignore?: string[];
|
|
14074
14303
|
}]; // ----- unicorn/no-array-reduce -----
|
|
14075
14304
|
type UnicornNoArrayReduce = [] | [{
|
|
14076
14305
|
allowSimpleOperations?: boolean;
|
|
@@ -14080,6 +14309,9 @@ type UnicornNoArrayReverse = [] | [{
|
|
|
14080
14309
|
}]; // ----- unicorn/no-array-sort -----
|
|
14081
14310
|
type UnicornNoArraySort = [] | [{
|
|
14082
14311
|
allowExpressionStatement?: boolean;
|
|
14312
|
+
}]; // ----- unicorn/no-empty-file -----
|
|
14313
|
+
type UnicornNoEmptyFile = [] | [{
|
|
14314
|
+
allowComments?: boolean;
|
|
14083
14315
|
}]; // ----- unicorn/no-instanceof-builtins -----
|
|
14084
14316
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
14085
14317
|
useErrorIsError?: boolean;
|
|
@@ -14093,13 +14325,14 @@ type UnicornNoKeywordPrefix = [] | [{
|
|
|
14093
14325
|
onlyCamelCase?: boolean;
|
|
14094
14326
|
}]; // ----- unicorn/no-null -----
|
|
14095
14327
|
type UnicornNoNull = [] | [{
|
|
14328
|
+
checkArguments?: boolean;
|
|
14096
14329
|
checkStrictEquality?: boolean;
|
|
14097
14330
|
}]; // ----- unicorn/no-typeof-undefined -----
|
|
14098
14331
|
type UnicornNoTypeofUndefined = [] | [{
|
|
14099
14332
|
checkGlobalVariables?: boolean;
|
|
14100
14333
|
}]; // ----- unicorn/no-unnecessary-polyfills -----
|
|
14101
14334
|
type UnicornNoUnnecessaryPolyfills = [] | [{
|
|
14102
|
-
targets
|
|
14335
|
+
targets?: (string | unknown[] | {
|
|
14103
14336
|
[k: string]: unknown | undefined;
|
|
14104
14337
|
});
|
|
14105
14338
|
}]; // ----- unicorn/no-useless-undefined -----
|
|
@@ -14130,6 +14363,7 @@ type UnicornNumericSeparatorsStyle = [] | [{
|
|
|
14130
14363
|
onlyIfContainsSeparator?: boolean;
|
|
14131
14364
|
minimumDigits?: number;
|
|
14132
14365
|
groupLength?: number;
|
|
14366
|
+
fractionGroupLength?: number;
|
|
14133
14367
|
};
|
|
14134
14368
|
onlyIfContainsSeparator?: boolean;
|
|
14135
14369
|
}]; // ----- unicorn/prefer-add-event-listener -----
|
|
@@ -14147,7 +14381,10 @@ type UnicornPreferAt = [] | [{
|
|
|
14147
14381
|
checkAllIndexAccess?: boolean;
|
|
14148
14382
|
}]; // ----- unicorn/prefer-export-from -----
|
|
14149
14383
|
type UnicornPreferExportFrom = [] | [{
|
|
14150
|
-
|
|
14384
|
+
checkUsedVariables?: boolean;
|
|
14385
|
+
}]; // ----- unicorn/prefer-includes-over-repeated-comparisons -----
|
|
14386
|
+
type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
|
|
14387
|
+
minimumComparisons?: number;
|
|
14151
14388
|
}]; // ----- unicorn/prefer-number-properties -----
|
|
14152
14389
|
type UnicornPreferNumberProperties = [] | [{
|
|
14153
14390
|
checkInfinity?: boolean;
|
|
@@ -14155,9 +14392,22 @@ type UnicornPreferNumberProperties = [] | [{
|
|
|
14155
14392
|
}]; // ----- unicorn/prefer-object-from-entries -----
|
|
14156
14393
|
type UnicornPreferObjectFromEntries = [] | [{
|
|
14157
14394
|
functions?: unknown[];
|
|
14395
|
+
}]; // ----- unicorn/prefer-query-selector -----
|
|
14396
|
+
type UnicornPreferQuerySelector = [] | [{
|
|
14397
|
+
allowWithVariables?: boolean;
|
|
14398
|
+
}]; // ----- unicorn/prefer-queue-microtask -----
|
|
14399
|
+
type UnicornPreferQueueMicrotask = [] | [{
|
|
14400
|
+
checkSetImmediate?: boolean;
|
|
14401
|
+
checkSetTimeout?: boolean;
|
|
14402
|
+
}]; // ----- unicorn/prefer-set-has -----
|
|
14403
|
+
type UnicornPreferSetHas = [] | [{
|
|
14404
|
+
minimumItems?: number;
|
|
14158
14405
|
}]; // ----- unicorn/prefer-single-call -----
|
|
14159
14406
|
type UnicornPreferSingleCall = [] | [{
|
|
14160
14407
|
ignore?: unknown[];
|
|
14408
|
+
}]; // ----- unicorn/prefer-string-repeat -----
|
|
14409
|
+
type UnicornPreferStringRepeat = [] | [{
|
|
14410
|
+
minimumRepetitions?: number;
|
|
14161
14411
|
}]; // ----- unicorn/prefer-structured-clone -----
|
|
14162
14412
|
type UnicornPreferStructuredClone = [] | [{
|
|
14163
14413
|
functions?: unknown[];
|
|
@@ -14190,15 +14440,20 @@ interface _UnicornPreventAbbreviations_BooleanObject {
|
|
|
14190
14440
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
14191
14441
|
[k: string]: boolean | undefined;
|
|
14192
14442
|
} // ----- unicorn/relative-url-style -----
|
|
14193
|
-
type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/
|
|
14443
|
+
type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/require-css-escape -----
|
|
14444
|
+
type UnicornRequireCssEscape = [] | [{
|
|
14445
|
+
checkAllSelectors?: boolean;
|
|
14446
|
+
}]; // ----- unicorn/string-content -----
|
|
14194
14447
|
type UnicornStringContent = [] | [{
|
|
14195
14448
|
patterns?: {
|
|
14196
14449
|
[k: string]: (string | {
|
|
14197
14450
|
suggest: string;
|
|
14198
14451
|
fix?: boolean;
|
|
14452
|
+
caseSensitive?: boolean;
|
|
14199
14453
|
message?: string;
|
|
14200
14454
|
}) | undefined;
|
|
14201
14455
|
};
|
|
14456
|
+
selectors?: string[];
|
|
14202
14457
|
}]; // ----- unicorn/switch-case-braces -----
|
|
14203
14458
|
type UnicornSwitchCaseBraces = [] | [("always" | "avoid")]; // ----- unicorn/template-indent -----
|
|
14204
14459
|
type UnicornTemplateIndent = [] | [{
|
|
@@ -14210,6 +14465,9 @@ type UnicornTemplateIndent = [] | [{
|
|
|
14210
14465
|
}]; // ----- unicorn/text-encoding-identifier-case -----
|
|
14211
14466
|
type UnicornTextEncodingIdentifierCase = [] | [{
|
|
14212
14467
|
withDash?: boolean;
|
|
14468
|
+
}]; // ----- unicorn/try-complexity -----
|
|
14469
|
+
type UnicornTryComplexity = [] | [{
|
|
14470
|
+
max?: number;
|
|
14213
14471
|
}]; // ----- unused-imports/no-unused-imports -----
|
|
14214
14472
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
14215
14473
|
args?: ("all" | "after-used" | "none");
|
|
@@ -14264,6 +14522,7 @@ type VueArrayElementNewline = [] | [(_VueArrayElementNewlineBasicConfig | {
|
|
|
14264
14522
|
ArrayPattern?: _VueArrayElementNewlineBasicConfig;
|
|
14265
14523
|
})];
|
|
14266
14524
|
type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
14525
|
+
consistent?: boolean;
|
|
14267
14526
|
multiline?: boolean;
|
|
14268
14527
|
minItems?: (number | null);
|
|
14269
14528
|
}); // ----- vue/arrow-spacing -----
|
|
@@ -14323,9 +14582,14 @@ type VueCommaDangle = [] | [(_VueCommaDangleValue | {
|
|
|
14323
14582
|
imports?: _VueCommaDangleValueWithIgnore;
|
|
14324
14583
|
exports?: _VueCommaDangleValueWithIgnore;
|
|
14325
14584
|
functions?: _VueCommaDangleValueWithIgnore;
|
|
14585
|
+
importAttributes?: _VueCommaDangleValueWithIgnore;
|
|
14586
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore;
|
|
14587
|
+
enums?: _VueCommaDangleValueWithIgnore;
|
|
14588
|
+
generics?: _VueCommaDangleValueWithIgnore;
|
|
14589
|
+
tuples?: _VueCommaDangleValueWithIgnore;
|
|
14326
14590
|
})];
|
|
14327
14591
|
type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
14328
|
-
type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "
|
|
14592
|
+
type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore"); // ----- vue/comma-spacing -----
|
|
14329
14593
|
type VueCommaSpacing = [] | [{
|
|
14330
14594
|
before?: boolean;
|
|
14331
14595
|
after?: boolean;
|
|
@@ -14375,6 +14639,10 @@ type VueFirstAttributeLinebreak = [] | [{
|
|
|
14375
14639
|
}]; // ----- vue/func-call-spacing -----
|
|
14376
14640
|
type VueFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
14377
14641
|
allowNewlines?: boolean;
|
|
14642
|
+
optionalChain?: {
|
|
14643
|
+
before?: boolean;
|
|
14644
|
+
after?: boolean;
|
|
14645
|
+
};
|
|
14378
14646
|
}]); // ----- vue/html-button-has-type -----
|
|
14379
14647
|
type VueHtmlButtonHasType = [] | [{
|
|
14380
14648
|
button?: boolean;
|
|
@@ -14446,6 +14714,7 @@ type VueKeySpacing = [] | [({
|
|
|
14446
14714
|
mode?: ("strict" | "minimum");
|
|
14447
14715
|
beforeColon?: boolean;
|
|
14448
14716
|
afterColon?: boolean;
|
|
14717
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[];
|
|
14449
14718
|
} | {
|
|
14450
14719
|
singleLine?: {
|
|
14451
14720
|
mode?: ("strict" | "minimum");
|
|
@@ -14489,18 +14758,6 @@ type VueKeywordSpacing = [] | [{
|
|
|
14489
14758
|
before?: boolean;
|
|
14490
14759
|
after?: boolean;
|
|
14491
14760
|
};
|
|
14492
|
-
as?: {
|
|
14493
|
-
before?: boolean;
|
|
14494
|
-
after?: boolean;
|
|
14495
|
-
};
|
|
14496
|
-
async?: {
|
|
14497
|
-
before?: boolean;
|
|
14498
|
-
after?: boolean;
|
|
14499
|
-
};
|
|
14500
|
-
await?: {
|
|
14501
|
-
before?: boolean;
|
|
14502
|
-
after?: boolean;
|
|
14503
|
-
};
|
|
14504
14761
|
boolean?: {
|
|
14505
14762
|
before?: boolean;
|
|
14506
14763
|
after?: boolean;
|
|
@@ -14593,18 +14850,10 @@ type VueKeywordSpacing = [] | [{
|
|
|
14593
14850
|
before?: boolean;
|
|
14594
14851
|
after?: boolean;
|
|
14595
14852
|
};
|
|
14596
|
-
from?: {
|
|
14597
|
-
before?: boolean;
|
|
14598
|
-
after?: boolean;
|
|
14599
|
-
};
|
|
14600
14853
|
function?: {
|
|
14601
14854
|
before?: boolean;
|
|
14602
14855
|
after?: boolean;
|
|
14603
14856
|
};
|
|
14604
|
-
get?: {
|
|
14605
|
-
before?: boolean;
|
|
14606
|
-
after?: boolean;
|
|
14607
|
-
};
|
|
14608
14857
|
goto?: {
|
|
14609
14858
|
before?: boolean;
|
|
14610
14859
|
after?: boolean;
|
|
@@ -14637,10 +14886,6 @@ type VueKeywordSpacing = [] | [{
|
|
|
14637
14886
|
before?: boolean;
|
|
14638
14887
|
after?: boolean;
|
|
14639
14888
|
};
|
|
14640
|
-
let?: {
|
|
14641
|
-
before?: boolean;
|
|
14642
|
-
after?: boolean;
|
|
14643
|
-
};
|
|
14644
14889
|
long?: {
|
|
14645
14890
|
before?: boolean;
|
|
14646
14891
|
after?: boolean;
|
|
@@ -14657,10 +14902,6 @@ type VueKeywordSpacing = [] | [{
|
|
|
14657
14902
|
before?: boolean;
|
|
14658
14903
|
after?: boolean;
|
|
14659
14904
|
};
|
|
14660
|
-
of?: {
|
|
14661
|
-
before?: boolean;
|
|
14662
|
-
after?: boolean;
|
|
14663
|
-
};
|
|
14664
14905
|
package?: {
|
|
14665
14906
|
before?: boolean;
|
|
14666
14907
|
after?: boolean;
|
|
@@ -14681,10 +14922,6 @@ type VueKeywordSpacing = [] | [{
|
|
|
14681
14922
|
before?: boolean;
|
|
14682
14923
|
after?: boolean;
|
|
14683
14924
|
};
|
|
14684
|
-
set?: {
|
|
14685
|
-
before?: boolean;
|
|
14686
|
-
after?: boolean;
|
|
14687
|
-
};
|
|
14688
14925
|
short?: {
|
|
14689
14926
|
before?: boolean;
|
|
14690
14927
|
after?: boolean;
|
|
@@ -14753,10 +14990,66 @@ type VueKeywordSpacing = [] | [{
|
|
|
14753
14990
|
before?: boolean;
|
|
14754
14991
|
after?: boolean;
|
|
14755
14992
|
};
|
|
14993
|
+
arguments?: {
|
|
14994
|
+
before?: boolean;
|
|
14995
|
+
after?: boolean;
|
|
14996
|
+
};
|
|
14997
|
+
as?: {
|
|
14998
|
+
before?: boolean;
|
|
14999
|
+
after?: boolean;
|
|
15000
|
+
};
|
|
15001
|
+
async?: {
|
|
15002
|
+
before?: boolean;
|
|
15003
|
+
after?: boolean;
|
|
15004
|
+
};
|
|
15005
|
+
await?: {
|
|
15006
|
+
before?: boolean;
|
|
15007
|
+
after?: boolean;
|
|
15008
|
+
};
|
|
15009
|
+
eval?: {
|
|
15010
|
+
before?: boolean;
|
|
15011
|
+
after?: boolean;
|
|
15012
|
+
};
|
|
15013
|
+
from?: {
|
|
15014
|
+
before?: boolean;
|
|
15015
|
+
after?: boolean;
|
|
15016
|
+
};
|
|
15017
|
+
get?: {
|
|
15018
|
+
before?: boolean;
|
|
15019
|
+
after?: boolean;
|
|
15020
|
+
};
|
|
15021
|
+
let?: {
|
|
15022
|
+
before?: boolean;
|
|
15023
|
+
after?: boolean;
|
|
15024
|
+
};
|
|
15025
|
+
of?: {
|
|
15026
|
+
before?: boolean;
|
|
15027
|
+
after?: boolean;
|
|
15028
|
+
};
|
|
15029
|
+
set?: {
|
|
15030
|
+
before?: boolean;
|
|
15031
|
+
after?: boolean;
|
|
15032
|
+
};
|
|
15033
|
+
type?: {
|
|
15034
|
+
before?: boolean;
|
|
15035
|
+
after?: boolean;
|
|
15036
|
+
};
|
|
15037
|
+
using?: {
|
|
15038
|
+
before?: boolean;
|
|
15039
|
+
after?: boolean;
|
|
15040
|
+
};
|
|
14756
15041
|
yield?: {
|
|
14757
15042
|
before?: boolean;
|
|
14758
15043
|
after?: boolean;
|
|
14759
15044
|
};
|
|
15045
|
+
accessor?: {
|
|
15046
|
+
before?: boolean;
|
|
15047
|
+
after?: boolean;
|
|
15048
|
+
};
|
|
15049
|
+
satisfies?: {
|
|
15050
|
+
before?: boolean;
|
|
15051
|
+
after?: boolean;
|
|
15052
|
+
};
|
|
14760
15053
|
};
|
|
14761
15054
|
}]; // ----- vue/match-component-file-name -----
|
|
14762
15055
|
type VueMatchComponentFileName = [] | [{
|
|
@@ -14876,7 +15169,9 @@ type VueMultilineHtmlElementContentNewline = [] | [{
|
|
|
14876
15169
|
ignores?: string[];
|
|
14877
15170
|
allowEmptyLines?: boolean;
|
|
14878
15171
|
}]; // ----- vue/multiline-ternary -----
|
|
14879
|
-
type VueMultilineTernary = [] | [("always" | "always-multiline" | "never")]
|
|
15172
|
+
type VueMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
|
|
15173
|
+
ignoreJSX?: boolean;
|
|
15174
|
+
}]; // ----- vue/mustache-interpolation-spacing -----
|
|
14880
15175
|
type VueMustacheInterpolationSpacing = [] | [("always" | "never")]; // ----- vue/new-line-between-multi-line-property -----
|
|
14881
15176
|
type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
14882
15177
|
minLineOfMultilineProperty?: number;
|
|
@@ -14936,6 +15231,13 @@ type VueNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
14936
15231
|
enforceForNewInMemberExpressions?: boolean;
|
|
14937
15232
|
enforceForFunctionPrototypeMethods?: boolean;
|
|
14938
15233
|
allowParensAfterCommentPattern?: string;
|
|
15234
|
+
nestedConditionalExpressions?: boolean;
|
|
15235
|
+
allowNodesInSpreadElement?: {
|
|
15236
|
+
ConditionalExpression?: boolean;
|
|
15237
|
+
LogicalExpression?: boolean;
|
|
15238
|
+
AwaitExpression?: boolean;
|
|
15239
|
+
};
|
|
15240
|
+
ignoredNodes?: string[];
|
|
14939
15241
|
}]); // ----- vue/no-implicit-coercion -----
|
|
14940
15242
|
type VueNoImplicitCoercion = [] | [{
|
|
14941
15243
|
boolean?: boolean;
|
|
@@ -15159,14 +15461,41 @@ type VueObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
15159
15461
|
minProperties?: number;
|
|
15160
15462
|
consistent?: boolean;
|
|
15161
15463
|
});
|
|
15464
|
+
TSTypeLiteral?: (("always" | "never") | {
|
|
15465
|
+
multiline?: boolean;
|
|
15466
|
+
minProperties?: number;
|
|
15467
|
+
consistent?: boolean;
|
|
15468
|
+
});
|
|
15469
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
15470
|
+
multiline?: boolean;
|
|
15471
|
+
minProperties?: number;
|
|
15472
|
+
consistent?: boolean;
|
|
15473
|
+
});
|
|
15474
|
+
TSEnumBody?: (("always" | "never") | {
|
|
15475
|
+
multiline?: boolean;
|
|
15476
|
+
minProperties?: number;
|
|
15477
|
+
consistent?: boolean;
|
|
15478
|
+
});
|
|
15162
15479
|
})]; // ----- vue/object-curly-spacing -----
|
|
15163
15480
|
type VueObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
15164
15481
|
arraysInObjects?: boolean;
|
|
15165
15482
|
objectsInObjects?: boolean;
|
|
15483
|
+
overrides?: {
|
|
15484
|
+
ObjectPattern?: ("always" | "never");
|
|
15485
|
+
ObjectExpression?: ("always" | "never");
|
|
15486
|
+
ImportDeclaration?: ("always" | "never");
|
|
15487
|
+
ImportAttributes?: ("always" | "never");
|
|
15488
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
15489
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
15490
|
+
TSMappedType?: ("always" | "never");
|
|
15491
|
+
TSTypeLiteral?: ("always" | "never");
|
|
15492
|
+
TSInterfaceBody?: ("always" | "never");
|
|
15493
|
+
TSEnumBody?: ("always" | "never");
|
|
15494
|
+
};
|
|
15495
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
15166
15496
|
}]; // ----- vue/object-property-newline -----
|
|
15167
15497
|
type VueObjectPropertyNewline = [] | [{
|
|
15168
15498
|
allowAllPropertiesOnSameLine?: boolean;
|
|
15169
|
-
allowMultiplePropertiesPerLine?: boolean;
|
|
15170
15499
|
}]; // ----- vue/object-shorthand -----
|
|
15171
15500
|
type VueObjectShorthand = ([] | [("always" | "methods" | "properties" | "never" | "consistent" | "consistent-as-needed")] | [] | [("always" | "methods" | "properties")] | [("always" | "methods" | "properties"), {
|
|
15172
15501
|
avoidQuotes?: boolean;
|
|
@@ -15176,7 +15505,7 @@ type VueObjectShorthand = ([] | [("always" | "methods" | "properties" | "never"
|
|
|
15176
15505
|
avoidQuotes?: boolean;
|
|
15177
15506
|
avoidExplicitReturnArrows?: boolean;
|
|
15178
15507
|
}]); // ----- vue/operator-linebreak -----
|
|
15179
|
-
type VueOperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after" | "before" | "none" | null), {
|
|
15508
|
+
type VueOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("after" | "before" | "none") | null), {
|
|
15180
15509
|
overrides?: {
|
|
15181
15510
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
15182
15511
|
};
|
|
@@ -15264,6 +15593,7 @@ type VueSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
15264
15593
|
}]; // ----- vue/space-infix-ops -----
|
|
15265
15594
|
type VueSpaceInfixOps = [] | [{
|
|
15266
15595
|
int32Hint?: boolean;
|
|
15596
|
+
ignoreTypes?: boolean;
|
|
15267
15597
|
}]; // ----- vue/space-unary-ops -----
|
|
15268
15598
|
type VueSpaceUnaryOps = [] | [{
|
|
15269
15599
|
words?: boolean;
|