@lincy/eslint-config 4.5.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +98 -56
- package/dist/index.d.cts +762 -143
- package/dist/index.d.ts +762 -143
- package/dist/index.js +96 -56
- package/package.json +31 -30
package/dist/index.d.cts
CHANGED
|
@@ -129,6 +129,11 @@ interface RuleOptions {
|
|
|
129
129
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
130
130
|
*/
|
|
131
131
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
132
|
+
/**
|
|
133
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
134
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
135
|
+
*/
|
|
136
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
132
137
|
/**
|
|
133
138
|
* Prevent importing modules in `dist` folder
|
|
134
139
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -2737,6 +2742,7 @@ interface RuleOptions {
|
|
|
2737
2742
|
/**
|
|
2738
2743
|
* disallow complicated conditional rendering
|
|
2739
2744
|
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2745
|
+
* @deprecated
|
|
2740
2746
|
*/
|
|
2741
2747
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2742
2748
|
/**
|
|
@@ -2772,6 +2778,7 @@ interface RuleOptions {
|
|
|
2772
2778
|
/**
|
|
2773
2779
|
* disallow spreading 'key' from objects.
|
|
2774
2780
|
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2781
|
+
* @deprecated
|
|
2775
2782
|
*/
|
|
2776
2783
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2777
2784
|
/**
|
|
@@ -2874,6 +2881,416 @@ interface RuleOptions {
|
|
|
2874
2881
|
* @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
|
|
2875
2882
|
*/
|
|
2876
2883
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2884
|
+
/**
|
|
2885
|
+
* disallow confusing quantifiers
|
|
2886
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
2887
|
+
*/
|
|
2888
|
+
'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
|
|
2889
|
+
/**
|
|
2890
|
+
* enforce consistent escaping of control characters
|
|
2891
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
|
|
2892
|
+
*/
|
|
2893
|
+
'regexp/control-character-escape'?: Linter.RuleEntry<[]>
|
|
2894
|
+
/**
|
|
2895
|
+
* enforce single grapheme in string literal
|
|
2896
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
|
|
2897
|
+
*/
|
|
2898
|
+
'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
|
|
2899
|
+
/**
|
|
2900
|
+
* enforce consistent usage of hexadecimal escape
|
|
2901
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
|
|
2902
|
+
*/
|
|
2903
|
+
'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
|
|
2904
|
+
/**
|
|
2905
|
+
* enforce into your favorite case
|
|
2906
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
|
|
2907
|
+
*/
|
|
2908
|
+
'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
|
|
2909
|
+
/**
|
|
2910
|
+
* enforce match any character style
|
|
2911
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
|
|
2912
|
+
*/
|
|
2913
|
+
'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
|
|
2914
|
+
/**
|
|
2915
|
+
* enforce use of escapes on negation
|
|
2916
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
|
|
2917
|
+
*/
|
|
2918
|
+
'regexp/negation'?: Linter.RuleEntry<[]>
|
|
2919
|
+
/**
|
|
2920
|
+
* disallow elements that contradict assertions
|
|
2921
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
|
|
2922
|
+
*/
|
|
2923
|
+
'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
|
|
2924
|
+
/**
|
|
2925
|
+
* disallow control characters
|
|
2926
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
|
|
2927
|
+
*/
|
|
2928
|
+
'regexp/no-control-character'?: Linter.RuleEntry<[]>
|
|
2929
|
+
/**
|
|
2930
|
+
* disallow duplicate characters in the RegExp character class
|
|
2931
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
|
|
2932
|
+
*/
|
|
2933
|
+
'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
|
|
2934
|
+
/**
|
|
2935
|
+
* disallow duplicate disjunctions
|
|
2936
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
|
|
2937
|
+
*/
|
|
2938
|
+
'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
|
|
2939
|
+
/**
|
|
2940
|
+
* disallow alternatives without elements
|
|
2941
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
|
|
2942
|
+
*/
|
|
2943
|
+
'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
|
|
2944
|
+
/**
|
|
2945
|
+
* disallow capturing group that captures empty.
|
|
2946
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
|
|
2947
|
+
*/
|
|
2948
|
+
'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
|
|
2949
|
+
/**
|
|
2950
|
+
* disallow character classes that match no characters
|
|
2951
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
|
|
2952
|
+
*/
|
|
2953
|
+
'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
|
|
2954
|
+
/**
|
|
2955
|
+
* disallow empty group
|
|
2956
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
|
|
2957
|
+
*/
|
|
2958
|
+
'regexp/no-empty-group'?: Linter.RuleEntry<[]>
|
|
2959
|
+
/**
|
|
2960
|
+
* disallow empty lookahead assertion or empty lookbehind assertion
|
|
2961
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
|
|
2962
|
+
*/
|
|
2963
|
+
'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
|
|
2964
|
+
/**
|
|
2965
|
+
* disallow empty string literals in character classes
|
|
2966
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
|
|
2967
|
+
*/
|
|
2968
|
+
'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
|
|
2969
|
+
/**
|
|
2970
|
+
* disallow escape backspace (`[\b]`)
|
|
2971
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
|
|
2972
|
+
*/
|
|
2973
|
+
'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
|
|
2974
|
+
/**
|
|
2975
|
+
* disallow unnecessary nested lookaround assertions
|
|
2976
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
|
|
2977
|
+
*/
|
|
2978
|
+
'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
|
|
2979
|
+
/**
|
|
2980
|
+
* disallow invalid regular expression strings in `RegExp` constructors
|
|
2981
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
|
|
2982
|
+
*/
|
|
2983
|
+
'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
|
|
2984
|
+
/**
|
|
2985
|
+
* disallow invisible raw character
|
|
2986
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
|
|
2987
|
+
*/
|
|
2988
|
+
'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
|
|
2989
|
+
/**
|
|
2990
|
+
* disallow lazy quantifiers at the end of an expression
|
|
2991
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
|
|
2992
|
+
*/
|
|
2993
|
+
'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
|
|
2994
|
+
/**
|
|
2995
|
+
* disallow legacy RegExp features
|
|
2996
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
|
|
2997
|
+
*/
|
|
2998
|
+
'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
|
|
2999
|
+
/**
|
|
3000
|
+
* disallow capturing groups that do not behave as one would expect
|
|
3001
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
|
|
3002
|
+
*/
|
|
3003
|
+
'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
|
|
3004
|
+
/**
|
|
3005
|
+
* disallow multi-code-point characters in character classes and quantifiers
|
|
3006
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
|
|
3007
|
+
*/
|
|
3008
|
+
'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
|
|
3009
|
+
/**
|
|
3010
|
+
* disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
|
|
3011
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
|
|
3012
|
+
*/
|
|
3013
|
+
'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
|
|
3014
|
+
/**
|
|
3015
|
+
* disallow non-standard flags
|
|
3016
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
|
|
3017
|
+
*/
|
|
3018
|
+
'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
|
|
3019
|
+
/**
|
|
3020
|
+
* disallow obscure character ranges
|
|
3021
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
|
|
3022
|
+
*/
|
|
3023
|
+
'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
|
|
3024
|
+
/**
|
|
3025
|
+
* disallow octal escape sequence
|
|
3026
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
|
|
3027
|
+
*/
|
|
3028
|
+
'regexp/no-octal'?: Linter.RuleEntry<[]>
|
|
3029
|
+
/**
|
|
3030
|
+
* disallow optional assertions
|
|
3031
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
|
|
3032
|
+
*/
|
|
3033
|
+
'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
|
|
3034
|
+
/**
|
|
3035
|
+
* disallow backreferences that reference a group that might not be matched
|
|
3036
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
|
|
3037
|
+
*/
|
|
3038
|
+
'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3039
|
+
/**
|
|
3040
|
+
* disallow standalone backslashes (`\`)
|
|
3041
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
|
|
3042
|
+
*/
|
|
3043
|
+
'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
|
|
3044
|
+
/**
|
|
3045
|
+
* disallow exponential and polynomial backtracking
|
|
3046
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
|
|
3047
|
+
*/
|
|
3048
|
+
'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
|
|
3049
|
+
/**
|
|
3050
|
+
* disallow quantifiers that cause quadratic moves
|
|
3051
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
|
|
3052
|
+
*/
|
|
3053
|
+
'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
|
|
3054
|
+
/**
|
|
3055
|
+
* disallow trivially nested assertions
|
|
3056
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
|
|
3057
|
+
*/
|
|
3058
|
+
'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
|
|
3059
|
+
/**
|
|
3060
|
+
* disallow nested quantifiers that can be rewritten as one quantifier
|
|
3061
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
|
|
3062
|
+
*/
|
|
3063
|
+
'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
|
|
3064
|
+
/**
|
|
3065
|
+
* disallow unused capturing group
|
|
3066
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
|
|
3067
|
+
*/
|
|
3068
|
+
'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
|
|
3069
|
+
/**
|
|
3070
|
+
* disallow assertions that are known to always accept (or reject)
|
|
3071
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
|
|
3072
|
+
*/
|
|
3073
|
+
'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
|
|
3074
|
+
/**
|
|
3075
|
+
* disallow useless backreferences in regular expressions
|
|
3076
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
|
|
3077
|
+
*/
|
|
3078
|
+
'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
|
|
3079
|
+
/**
|
|
3080
|
+
* disallow character class with one character
|
|
3081
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
|
|
3082
|
+
*/
|
|
3083
|
+
'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
|
|
3084
|
+
/**
|
|
3085
|
+
* disallow useless `$` replacements in replacement string
|
|
3086
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
|
|
3087
|
+
*/
|
|
3088
|
+
'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
|
|
3089
|
+
/**
|
|
3090
|
+
* disallow unnecessary escape characters in RegExp
|
|
3091
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
|
|
3092
|
+
*/
|
|
3093
|
+
'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
|
|
3094
|
+
/**
|
|
3095
|
+
* disallow unnecessary regex flags
|
|
3096
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
|
|
3097
|
+
*/
|
|
3098
|
+
'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
|
|
3099
|
+
/**
|
|
3100
|
+
* disallow unnecessarily non-greedy quantifiers
|
|
3101
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
|
|
3102
|
+
*/
|
|
3103
|
+
'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
|
|
3104
|
+
/**
|
|
3105
|
+
* disallow unnecessary non-capturing group
|
|
3106
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
|
|
3107
|
+
*/
|
|
3108
|
+
'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
|
|
3109
|
+
/**
|
|
3110
|
+
* disallow quantifiers that can be removed
|
|
3111
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
|
|
3112
|
+
*/
|
|
3113
|
+
'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
|
|
3114
|
+
/**
|
|
3115
|
+
* disallow unnecessary character ranges
|
|
3116
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
|
|
3117
|
+
*/
|
|
3118
|
+
'regexp/no-useless-range'?: Linter.RuleEntry<[]>
|
|
3119
|
+
/**
|
|
3120
|
+
* disallow unnecessary elements in expression character classes
|
|
3121
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
|
|
3122
|
+
*/
|
|
3123
|
+
'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
|
|
3124
|
+
/**
|
|
3125
|
+
* disallow string disjunction of single characters in `\q{...}`
|
|
3126
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
|
|
3127
|
+
*/
|
|
3128
|
+
'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
|
|
3129
|
+
/**
|
|
3130
|
+
* disallow unnecessary `{n,m}` quantifier
|
|
3131
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
|
|
3132
|
+
*/
|
|
3133
|
+
'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
|
|
3134
|
+
/**
|
|
3135
|
+
* disallow quantifiers with a maximum of zero
|
|
3136
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
|
|
3137
|
+
*/
|
|
3138
|
+
'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
|
|
3139
|
+
/**
|
|
3140
|
+
* disallow the alternatives of lookarounds that end with a non-constant quantifier
|
|
3141
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
|
|
3142
|
+
*/
|
|
3143
|
+
'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
|
|
3144
|
+
/**
|
|
3145
|
+
* require optimal quantifiers for concatenated quantifiers
|
|
3146
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
|
|
3147
|
+
*/
|
|
3148
|
+
'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
|
|
3149
|
+
/**
|
|
3150
|
+
* enforce using character class
|
|
3151
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
|
|
3152
|
+
*/
|
|
3153
|
+
'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
|
|
3154
|
+
/**
|
|
3155
|
+
* enforce using `\d`
|
|
3156
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
|
|
3157
|
+
*/
|
|
3158
|
+
'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
|
|
3159
|
+
/**
|
|
3160
|
+
* enforces escape of replacement `$` character (`$$`).
|
|
3161
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
|
|
3162
|
+
*/
|
|
3163
|
+
'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
|
|
3164
|
+
/**
|
|
3165
|
+
* prefer lookarounds over capturing group that do not replace
|
|
3166
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
|
|
3167
|
+
*/
|
|
3168
|
+
'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
|
|
3169
|
+
/**
|
|
3170
|
+
* enforce using named backreferences
|
|
3171
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
|
|
3172
|
+
*/
|
|
3173
|
+
'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
|
|
3174
|
+
/**
|
|
3175
|
+
* enforce using named capture groups
|
|
3176
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
|
|
3177
|
+
*/
|
|
3178
|
+
'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
|
|
3179
|
+
/**
|
|
3180
|
+
* enforce using named replacement
|
|
3181
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
|
|
3182
|
+
*/
|
|
3183
|
+
'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
|
|
3184
|
+
/**
|
|
3185
|
+
* enforce using `+` quantifier
|
|
3186
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
|
|
3187
|
+
*/
|
|
3188
|
+
'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
|
|
3189
|
+
/**
|
|
3190
|
+
* prefer predefined assertion over equivalent lookarounds
|
|
3191
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
|
|
3192
|
+
*/
|
|
3193
|
+
'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
|
|
3194
|
+
/**
|
|
3195
|
+
* enforce using quantifier
|
|
3196
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
3197
|
+
*/
|
|
3198
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
|
|
3199
|
+
/**
|
|
3200
|
+
* enforce using `?` quantifier
|
|
3201
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
3202
|
+
*/
|
|
3203
|
+
'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
|
|
3204
|
+
/**
|
|
3205
|
+
* enforce using character class range
|
|
3206
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
|
|
3207
|
+
*/
|
|
3208
|
+
'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
|
|
3209
|
+
/**
|
|
3210
|
+
* enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
|
|
3211
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
|
|
3212
|
+
*/
|
|
3213
|
+
'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
|
|
3214
|
+
/**
|
|
3215
|
+
* enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
|
|
3216
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
|
|
3217
|
+
*/
|
|
3218
|
+
'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
3219
|
+
/**
|
|
3220
|
+
* enforce using result array `groups`
|
|
3221
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
|
|
3222
|
+
*/
|
|
3223
|
+
'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
|
|
3224
|
+
/**
|
|
3225
|
+
* prefer character class set operations instead of lookarounds
|
|
3226
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
|
|
3227
|
+
*/
|
|
3228
|
+
'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
|
|
3229
|
+
/**
|
|
3230
|
+
* enforce using `*` quantifier
|
|
3231
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
|
|
3232
|
+
*/
|
|
3233
|
+
'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
|
|
3234
|
+
/**
|
|
3235
|
+
* enforce use of unicode codepoint escapes
|
|
3236
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
|
|
3237
|
+
*/
|
|
3238
|
+
'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
|
|
3239
|
+
/**
|
|
3240
|
+
* enforce using `\w`
|
|
3241
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
|
|
3242
|
+
*/
|
|
3243
|
+
'regexp/prefer-w'?: Linter.RuleEntry<[]>
|
|
3244
|
+
/**
|
|
3245
|
+
* enforce the use of the `u` flag
|
|
3246
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
|
|
3247
|
+
*/
|
|
3248
|
+
'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
|
|
3249
|
+
/**
|
|
3250
|
+
* enforce the use of the `v` flag
|
|
3251
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
|
|
3252
|
+
*/
|
|
3253
|
+
'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
|
|
3254
|
+
/**
|
|
3255
|
+
* require simplify set operations
|
|
3256
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
|
|
3257
|
+
*/
|
|
3258
|
+
'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
|
|
3259
|
+
/**
|
|
3260
|
+
* sort alternatives if order doesn't matter
|
|
3261
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
|
|
3262
|
+
*/
|
|
3263
|
+
'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
|
|
3264
|
+
/**
|
|
3265
|
+
* enforces elements order in character class
|
|
3266
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
|
|
3267
|
+
*/
|
|
3268
|
+
'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
|
|
3269
|
+
/**
|
|
3270
|
+
* require regex flags to be sorted
|
|
3271
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
|
|
3272
|
+
*/
|
|
3273
|
+
'regexp/sort-flags'?: Linter.RuleEntry<[]>
|
|
3274
|
+
/**
|
|
3275
|
+
* disallow not strictly valid regular expressions
|
|
3276
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
|
|
3277
|
+
*/
|
|
3278
|
+
'regexp/strict'?: Linter.RuleEntry<[]>
|
|
3279
|
+
/**
|
|
3280
|
+
* enforce consistent usage of unicode escape or unicode codepoint escape
|
|
3281
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
|
|
3282
|
+
*/
|
|
3283
|
+
'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
|
|
3284
|
+
/**
|
|
3285
|
+
* enforce consistent naming of unicode properties
|
|
3286
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
|
|
3287
|
+
*/
|
|
3288
|
+
'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
|
|
3289
|
+
/**
|
|
3290
|
+
* use the `i` flag if it simplifies the pattern
|
|
3291
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
3292
|
+
*/
|
|
3293
|
+
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
2877
3294
|
/**
|
|
2878
3295
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
2879
3296
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3119,6 +3536,11 @@ interface RuleOptions {
|
|
|
3119
3536
|
* @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
|
|
3120
3537
|
*/
|
|
3121
3538
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
|
|
3539
|
+
/**
|
|
3540
|
+
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
3541
|
+
* @see https://eslint.style/rules/jsx/jsx-function-call-newline
|
|
3542
|
+
*/
|
|
3543
|
+
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
|
|
3122
3544
|
/**
|
|
3123
3545
|
* Enforce JSX indentation
|
|
3124
3546
|
* @see https://eslint.style/rules/jsx/jsx-indent
|
|
@@ -3189,6 +3611,11 @@ interface RuleOptions {
|
|
|
3189
3611
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3190
3612
|
*/
|
|
3191
3613
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3614
|
+
/**
|
|
3615
|
+
* Enforce position of line comments
|
|
3616
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3617
|
+
*/
|
|
3618
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3192
3619
|
/**
|
|
3193
3620
|
* Enforce consistent linebreak style
|
|
3194
3621
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3219,6 +3646,11 @@ interface RuleOptions {
|
|
|
3219
3646
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3220
3647
|
*/
|
|
3221
3648
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3649
|
+
/**
|
|
3650
|
+
* Enforce a particular style for multiline comments
|
|
3651
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3652
|
+
*/
|
|
3653
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3222
3654
|
/**
|
|
3223
3655
|
* Enforce newlines between operands of ternary expressions
|
|
3224
3656
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -4579,652 +5011,677 @@ interface RuleOptions {
|
|
|
4579
5011
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4580
5012
|
/**
|
|
4581
5013
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
4583
5015
|
*/
|
|
4584
5016
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4585
5017
|
/**
|
|
4586
5018
|
* Enforce a specific parameter name in catch clauses.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
4588
5020
|
*/
|
|
4589
5021
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4590
5022
|
/**
|
|
4591
5023
|
* Use destructured variables over properties.
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
4593
5025
|
*/
|
|
4594
5026
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5027
|
+
/**
|
|
5028
|
+
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5030
|
+
*/
|
|
5031
|
+
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4595
5032
|
/**
|
|
4596
5033
|
* Move function definitions to the highest possible scope.
|
|
4597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
4598
5035
|
*/
|
|
4599
5036
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4600
5037
|
/**
|
|
4601
5038
|
* Enforce correct `Error` subclassing.
|
|
4602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
4603
5040
|
*/
|
|
4604
5041
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4605
5042
|
/**
|
|
4606
5043
|
* Enforce no spaces between braces.
|
|
4607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
4608
5045
|
*/
|
|
4609
5046
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4610
5047
|
/**
|
|
4611
5048
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
4613
5050
|
*/
|
|
4614
5051
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4615
5052
|
/**
|
|
4616
5053
|
* Require escape sequences to use uppercase values.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
4618
5055
|
*/
|
|
4619
5056
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4620
5057
|
/**
|
|
4621
5058
|
* Add expiration conditions to TODO comments.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
4623
5060
|
*/
|
|
4624
5061
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4625
5062
|
/**
|
|
4626
5063
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
4628
5065
|
*/
|
|
4629
5066
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4630
5067
|
/**
|
|
4631
5068
|
* Enforce a case style for filenames.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
4633
5070
|
*/
|
|
4634
5071
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4635
5072
|
/**
|
|
4636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
4637
5074
|
* @deprecated
|
|
4638
5075
|
*/
|
|
4639
5076
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4640
5077
|
/**
|
|
4641
5078
|
* Enforce specific import styles per module.
|
|
4642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
4643
5080
|
*/
|
|
4644
5081
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4645
5082
|
/**
|
|
4646
5083
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
4648
5085
|
*/
|
|
4649
5086
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4650
5087
|
/**
|
|
4651
5088
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4653
5090
|
*/
|
|
4654
5091
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4655
5092
|
/**
|
|
4656
5093
|
* Disallow anonymous functions and classes as the default export.
|
|
4657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
4658
5095
|
*/
|
|
4659
5096
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4660
5097
|
/**
|
|
4661
5098
|
* Prevent passing a function reference directly to iterator methods.
|
|
4662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
4663
5100
|
*/
|
|
4664
5101
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4665
5102
|
/**
|
|
4666
5103
|
* Prefer `for…of` over the `forEach` method.
|
|
4667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
4668
5105
|
*/
|
|
4669
5106
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4670
5107
|
/**
|
|
4671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4672
5109
|
* @deprecated
|
|
4673
5110
|
*/
|
|
4674
5111
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4675
5112
|
/**
|
|
4676
5113
|
* Disallow using the `this` argument in array methods.
|
|
4677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
4678
5115
|
*/
|
|
4679
5116
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4680
5117
|
/**
|
|
4681
5118
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
4683
5120
|
*/
|
|
4684
5121
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4685
5122
|
/**
|
|
4686
5123
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
4688
5125
|
*/
|
|
4689
5126
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4690
5127
|
/**
|
|
4691
5128
|
* Disallow member access from await expression.
|
|
4692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
4693
5130
|
*/
|
|
4694
5131
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4695
5132
|
/**
|
|
4696
5133
|
* Disallow using `await` in `Promise` method parameters.
|
|
4697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4698
5135
|
*/
|
|
4699
5136
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4700
5137
|
/**
|
|
4701
5138
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
4703
5140
|
*/
|
|
4704
5141
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4705
5142
|
/**
|
|
4706
5143
|
* Do not use `document.cookie` directly.
|
|
4707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
4708
5145
|
*/
|
|
4709
5146
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4710
5147
|
/**
|
|
4711
5148
|
* Disallow empty files.
|
|
4712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
4713
5150
|
*/
|
|
4714
5151
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4715
5152
|
/**
|
|
4716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4717
5154
|
* @deprecated
|
|
4718
5155
|
*/
|
|
4719
5156
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4720
5157
|
/**
|
|
4721
5158
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
4723
5160
|
*/
|
|
4724
5161
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4725
5162
|
/**
|
|
4726
5163
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
4728
5165
|
*/
|
|
4729
5166
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4730
5167
|
/**
|
|
4731
5168
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
4733
5170
|
*/
|
|
4734
5171
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5172
|
+
/**
|
|
5173
|
+
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5175
|
+
*/
|
|
5176
|
+
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4735
5177
|
/**
|
|
4736
5178
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4738
5180
|
*/
|
|
4739
5181
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4740
5182
|
/**
|
|
4741
5183
|
* Disallow identifiers starting with `new` or `class`.
|
|
4742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
4743
5185
|
*/
|
|
4744
5186
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4745
5187
|
/**
|
|
4746
5188
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
4748
5190
|
*/
|
|
4749
5191
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5192
|
+
/**
|
|
5193
|
+
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5195
|
+
*/
|
|
5196
|
+
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4750
5197
|
/**
|
|
4751
5198
|
* Disallow negated conditions.
|
|
4752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
4753
5200
|
*/
|
|
4754
5201
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4755
5202
|
/**
|
|
4756
5203
|
* Disallow nested ternary expressions.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
4758
5205
|
*/
|
|
4759
5206
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4760
5207
|
/**
|
|
4761
5208
|
* Disallow `new Array()`.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
4763
5210
|
*/
|
|
4764
5211
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4765
5212
|
/**
|
|
4766
5213
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
4768
5215
|
*/
|
|
4769
5216
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4770
5217
|
/**
|
|
4771
5218
|
* Disallow the use of the `null` literal.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
4773
5220
|
*/
|
|
4774
5221
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4775
5222
|
/**
|
|
4776
5223
|
* Disallow the use of objects as default parameters.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4778
5225
|
*/
|
|
4779
5226
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4780
5227
|
/**
|
|
4781
5228
|
* Disallow `process.exit()`.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
4783
5230
|
*/
|
|
4784
5231
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4785
5232
|
/**
|
|
4786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5233
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
4787
5234
|
* @deprecated
|
|
4788
5235
|
*/
|
|
4789
5236
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4790
5237
|
/**
|
|
4791
5238
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4793
5240
|
*/
|
|
4794
5241
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4795
5242
|
/**
|
|
4796
5243
|
* Disallow classes that only have static members.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
4798
5245
|
*/
|
|
4799
5246
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4800
5247
|
/**
|
|
4801
5248
|
* Disallow `then` property.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
4803
5250
|
*/
|
|
4804
5251
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4805
5252
|
/**
|
|
4806
5253
|
* Disallow assigning `this` to a variable.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
4808
5255
|
*/
|
|
4809
5256
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4810
5257
|
/**
|
|
4811
5258
|
* Disallow comparing `undefined` using `typeof`.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
4813
5260
|
*/
|
|
4814
5261
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4815
5262
|
/**
|
|
4816
5263
|
* Disallow awaiting non-promise values.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
4818
5265
|
*/
|
|
4819
5266
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4820
5267
|
/**
|
|
4821
5268
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4823
5270
|
*/
|
|
4824
5271
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4825
5272
|
/**
|
|
4826
5273
|
* Disallow unreadable array destructuring.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4828
5275
|
*/
|
|
4829
5276
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4830
5277
|
/**
|
|
4831
5278
|
* Disallow unreadable IIFEs.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
4833
5280
|
*/
|
|
4834
5281
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4835
5282
|
/**
|
|
4836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5283
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4837
5284
|
* @deprecated
|
|
4838
5285
|
*/
|
|
4839
5286
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4840
5287
|
/**
|
|
4841
5288
|
* Disallow unused object properties.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
4843
5290
|
*/
|
|
4844
5291
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4845
5292
|
/**
|
|
4846
5293
|
* Disallow useless fallback when spreading in object literals.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4848
5295
|
*/
|
|
4849
5296
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4850
5297
|
/**
|
|
4851
5298
|
* Disallow useless array length check.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
4853
5300
|
*/
|
|
4854
5301
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4855
5302
|
/**
|
|
4856
5303
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4858
5305
|
*/
|
|
4859
5306
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4860
5307
|
/**
|
|
4861
5308
|
* Disallow unnecessary spread.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
4863
5310
|
*/
|
|
4864
5311
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4865
5312
|
/**
|
|
4866
5313
|
* Disallow useless case in switch statements.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
4868
5315
|
*/
|
|
4869
5316
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4870
5317
|
/**
|
|
4871
5318
|
* Disallow useless `undefined`.
|
|
4872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
4873
5320
|
*/
|
|
4874
5321
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4875
5322
|
/**
|
|
4876
5323
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
4878
5325
|
*/
|
|
4879
5326
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4880
5327
|
/**
|
|
4881
5328
|
* Enforce proper case for numeric literals.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
4883
5330
|
*/
|
|
4884
5331
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4885
5332
|
/**
|
|
4886
5333
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
4888
5335
|
*/
|
|
4889
5336
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4890
5337
|
/**
|
|
4891
5338
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
4893
5340
|
*/
|
|
4894
5341
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4895
5342
|
/**
|
|
4896
5343
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
4898
5345
|
*/
|
|
4899
5346
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4900
5347
|
/**
|
|
4901
5348
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
4903
5350
|
*/
|
|
4904
5351
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4905
5352
|
/**
|
|
4906
5353
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
4908
5355
|
*/
|
|
4909
5356
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4910
5357
|
/**
|
|
4911
5358
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
4913
5360
|
*/
|
|
4914
5361
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4915
5362
|
/**
|
|
4916
5363
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
4918
5365
|
*/
|
|
4919
5366
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4920
5367
|
/**
|
|
4921
5368
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
4923
5370
|
*/
|
|
4924
5371
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4925
5372
|
/**
|
|
4926
5373
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4928
5375
|
*/
|
|
4929
5376
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4930
5377
|
/**
|
|
4931
5378
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
4933
5380
|
*/
|
|
4934
5381
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4935
5382
|
/**
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5383
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4937
5384
|
* @deprecated
|
|
4938
5385
|
*/
|
|
4939
5386
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4940
5387
|
/**
|
|
4941
5388
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
4943
5390
|
*/
|
|
4944
5391
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4945
5392
|
/**
|
|
4946
5393
|
* Prefer default parameters over reassignment.
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
4948
5395
|
*/
|
|
4949
5396
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4950
5397
|
/**
|
|
4951
5398
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
4953
5400
|
*/
|
|
4954
5401
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4955
5402
|
/**
|
|
4956
5403
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4958
5405
|
*/
|
|
4959
5406
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4960
5407
|
/**
|
|
4961
5408
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4963
5410
|
*/
|
|
4964
5411
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4965
5412
|
/**
|
|
4966
5413
|
* Prefer `.textContent` over `.innerText`.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4968
5415
|
*/
|
|
4969
5416
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4970
5417
|
/**
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4972
5419
|
* @deprecated
|
|
4973
5420
|
*/
|
|
4974
5421
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4975
5422
|
/**
|
|
4976
5423
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
4978
5425
|
*/
|
|
4979
5426
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4980
5427
|
/**
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4982
5429
|
* @deprecated
|
|
4983
5430
|
*/
|
|
4984
5431
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4985
5432
|
/**
|
|
4986
5433
|
* Prefer `export…from` when re-exporting.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
4988
5435
|
*/
|
|
4989
5436
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4990
5437
|
/**
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5438
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4992
5439
|
* @deprecated
|
|
4993
5440
|
*/
|
|
4994
5441
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4995
5442
|
/**
|
|
4996
5443
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
4998
5445
|
*/
|
|
4999
5446
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5000
5447
|
/**
|
|
5001
5448
|
* Prefer reading a JSON file as a buffer.
|
|
5002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5003
5450
|
*/
|
|
5004
5451
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5005
5452
|
/**
|
|
5006
5453
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5008
5455
|
*/
|
|
5009
5456
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5010
5457
|
/**
|
|
5011
5458
|
* Prefer using a logical operator over a ternary.
|
|
5012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5013
5460
|
*/
|
|
5014
5461
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5015
5462
|
/**
|
|
5016
5463
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
5018
5465
|
*/
|
|
5019
5466
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5020
5467
|
/**
|
|
5021
5468
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5023
5470
|
*/
|
|
5024
5471
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5025
5472
|
/**
|
|
5026
5473
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5028
5475
|
*/
|
|
5029
5476
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5030
5477
|
/**
|
|
5031
5478
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
5033
5480
|
*/
|
|
5034
5481
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5035
5482
|
/**
|
|
5036
5483
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5038
5485
|
*/
|
|
5039
5486
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5040
5487
|
/**
|
|
5041
5488
|
* Prefer negative index over `.length - index` when possible.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
5043
5490
|
*/
|
|
5044
5491
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5045
5492
|
/**
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5493
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5047
5494
|
* @deprecated
|
|
5048
5495
|
*/
|
|
5049
5496
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5050
5497
|
/**
|
|
5051
5498
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
5053
5500
|
*/
|
|
5054
5501
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5055
5502
|
/**
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5503
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5057
5504
|
* @deprecated
|
|
5058
5505
|
*/
|
|
5059
5506
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5060
5507
|
/**
|
|
5061
5508
|
* Prefer `Number` static properties over global ones.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
5063
5510
|
*/
|
|
5064
5511
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5065
5512
|
/**
|
|
5066
5513
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
5068
5515
|
*/
|
|
5069
5516
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5070
5517
|
/**
|
|
5071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5518
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5072
5519
|
* @deprecated
|
|
5073
5520
|
*/
|
|
5074
5521
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5075
5522
|
/**
|
|
5076
5523
|
* Prefer omitting the `catch` binding parameter.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5078
5525
|
*/
|
|
5079
5526
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5080
5527
|
/**
|
|
5081
5528
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
5083
5530
|
*/
|
|
5084
5531
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5085
5532
|
/**
|
|
5086
5533
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
5088
5535
|
*/
|
|
5089
5536
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5090
5537
|
/**
|
|
5091
5538
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
5093
5540
|
*/
|
|
5094
5541
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5095
5542
|
/**
|
|
5096
5543
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
5098
5545
|
*/
|
|
5099
5546
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5100
5547
|
/**
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5548
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5102
5549
|
* @deprecated
|
|
5103
5550
|
*/
|
|
5104
5551
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5105
5552
|
/**
|
|
5106
5553
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
5108
5555
|
*/
|
|
5109
5556
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5110
5557
|
/**
|
|
5111
5558
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5559
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
5113
5560
|
*/
|
|
5114
5561
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5115
5562
|
/**
|
|
5116
5563
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
5118
5565
|
*/
|
|
5119
5566
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5120
5567
|
/**
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5568
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5122
5569
|
* @deprecated
|
|
5123
5570
|
*/
|
|
5124
5571
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5572
|
+
/**
|
|
5573
|
+
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
|
|
5575
|
+
*/
|
|
5576
|
+
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5125
5577
|
/**
|
|
5126
5578
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
5128
5580
|
*/
|
|
5129
5581
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5130
5582
|
/**
|
|
5131
5583
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
5133
5585
|
*/
|
|
5134
5586
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5135
5587
|
/**
|
|
5136
5588
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5138
5590
|
*/
|
|
5139
5591
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5140
5592
|
/**
|
|
5141
5593
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5143
5595
|
*/
|
|
5144
5596
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5597
|
+
/**
|
|
5598
|
+
* Prefer using `structuredClone` to create a deep clone.
|
|
5599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
|
|
5600
|
+
*/
|
|
5601
|
+
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5145
5602
|
/**
|
|
5146
5603
|
* Prefer `switch` over multiple `else-if`.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
5148
5605
|
*/
|
|
5149
5606
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5150
5607
|
/**
|
|
5151
5608
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
5153
5610
|
*/
|
|
5154
5611
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5155
5612
|
/**
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5613
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5157
5614
|
* @deprecated
|
|
5158
5615
|
*/
|
|
5159
5616
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5160
5617
|
/**
|
|
5161
5618
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5163
5620
|
*/
|
|
5164
5621
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5165
5622
|
/**
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5623
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5167
5624
|
* @deprecated
|
|
5168
5625
|
*/
|
|
5169
5626
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5170
5627
|
/**
|
|
5171
5628
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5173
5630
|
*/
|
|
5174
5631
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5175
5632
|
/**
|
|
5176
5633
|
* Prevent abbreviations.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5178
5635
|
*/
|
|
5179
5636
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5180
5637
|
/**
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5638
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5182
5639
|
* @deprecated
|
|
5183
5640
|
*/
|
|
5184
5641
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5185
5642
|
/**
|
|
5186
5643
|
* Enforce consistent relative URL style.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5188
5645
|
*/
|
|
5189
5646
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5190
5647
|
/**
|
|
5191
5648
|
* Enforce using the separator argument with `Array#join()`.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5649
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5193
5650
|
*/
|
|
5194
5651
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5195
5652
|
/**
|
|
5196
5653
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5198
5655
|
*/
|
|
5199
5656
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5200
5657
|
/**
|
|
5201
5658
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5203
5660
|
*/
|
|
5204
5661
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5205
5662
|
/**
|
|
5206
5663
|
* Enforce better string content.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5664
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5208
5665
|
*/
|
|
5209
5666
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5210
5667
|
/**
|
|
5211
5668
|
* Enforce consistent brace style for `case` clauses.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5213
5670
|
*/
|
|
5214
5671
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5215
5672
|
/**
|
|
5216
5673
|
* Fix whitespace-insensitive template indentation.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5218
5675
|
*/
|
|
5219
5676
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5220
5677
|
/**
|
|
5221
5678
|
* Enforce consistent case for text encoding identifiers.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5679
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5223
5680
|
*/
|
|
5224
5681
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5225
5682
|
/**
|
|
5226
|
-
* Require `new` when
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5683
|
+
* Require `new` when creating an error.
|
|
5684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
5228
5685
|
*/
|
|
5229
5686
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5230
5687
|
/**
|
|
@@ -6683,6 +7140,12 @@ type AntfuConsistentListNewline = []|[{
|
|
|
6683
7140
|
TSTypeParameterInstantiation?: boolean
|
|
6684
7141
|
ObjectPattern?: boolean
|
|
6685
7142
|
ArrayPattern?: boolean
|
|
7143
|
+
JSXOpeningElement?: boolean
|
|
7144
|
+
}]
|
|
7145
|
+
// ----- antfu/indent-unindent -----
|
|
7146
|
+
type AntfuIndentUnindent = []|[{
|
|
7147
|
+
indent?: number
|
|
7148
|
+
tags?: string[]
|
|
6686
7149
|
}]
|
|
6687
7150
|
// ----- array-bracket-newline -----
|
|
6688
7151
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -8814,6 +9277,9 @@ type NodeHashbang = []|[{
|
|
|
8814
9277
|
})[]])
|
|
8815
9278
|
ignoreUnpublished?: boolean
|
|
8816
9279
|
additionalExecutables?: string[]
|
|
9280
|
+
executableMap?: {
|
|
9281
|
+
[k: string]: string
|
|
9282
|
+
}
|
|
8817
9283
|
}]
|
|
8818
9284
|
// ----- node/no-deprecated-api -----
|
|
8819
9285
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -8973,7 +9439,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
8973
9439
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
8974
9440
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
8975
9441
|
version?: string
|
|
8976
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9442
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
8977
9443
|
}]
|
|
8978
9444
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
8979
9445
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -8983,7 +9449,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8983
9449
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
8984
9450
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8985
9451
|
version?: string
|
|
8986
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "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" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "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" | "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.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.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.getRandomValues" | "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.randomUUID" | "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" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "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.promises.FileHandle" | "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.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "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.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "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.statSync" | "fs.statfsSync" | "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" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "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/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.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.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.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.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.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9452
|
+
allowExperimental?: boolean
|
|
9453
|
+
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" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.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.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.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.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.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
8987
9454
|
}]
|
|
8988
9455
|
// ----- node/prefer-global/buffer -----
|
|
8989
9456
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9023,6 +9490,9 @@ type NodeShebang = []|[{
|
|
|
9023
9490
|
})[]])
|
|
9024
9491
|
ignoreUnpublished?: boolean
|
|
9025
9492
|
additionalExecutables?: string[]
|
|
9493
|
+
executableMap?: {
|
|
9494
|
+
[k: string]: string
|
|
9495
|
+
}
|
|
9026
9496
|
}]
|
|
9027
9497
|
// ----- nonblock-statement-body-position -----
|
|
9028
9498
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -9375,6 +9845,124 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
9375
9845
|
checkJS?: boolean
|
|
9376
9846
|
allowExportNames?: string[]
|
|
9377
9847
|
}]
|
|
9848
|
+
// ----- regexp/hexadecimal-escape -----
|
|
9849
|
+
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
9850
|
+
// ----- regexp/letter-case -----
|
|
9851
|
+
type RegexpLetterCase = []|[{
|
|
9852
|
+
caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
|
|
9853
|
+
unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9854
|
+
hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9855
|
+
controlEscape?: ("lowercase" | "uppercase" | "ignore")
|
|
9856
|
+
}]
|
|
9857
|
+
// ----- regexp/match-any -----
|
|
9858
|
+
type RegexpMatchAny = []|[{
|
|
9859
|
+
|
|
9860
|
+
allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
|
|
9861
|
+
}]
|
|
9862
|
+
// ----- regexp/no-dupe-disjunctions -----
|
|
9863
|
+
type RegexpNoDupeDisjunctions = []|[{
|
|
9864
|
+
report?: ("all" | "trivial" | "interesting")
|
|
9865
|
+
reportExponentialBacktracking?: ("none" | "certain" | "potential")
|
|
9866
|
+
reportUnreachable?: ("certain" | "potential")
|
|
9867
|
+
}]
|
|
9868
|
+
// ----- regexp/no-lazy-ends -----
|
|
9869
|
+
type RegexpNoLazyEnds = []|[{
|
|
9870
|
+
ignorePartial?: boolean
|
|
9871
|
+
}]
|
|
9872
|
+
// ----- regexp/no-legacy-features -----
|
|
9873
|
+
type RegexpNoLegacyFeatures = []|[{
|
|
9874
|
+
staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
|
|
9875
|
+
prototypeMethods?: ("compile")[]
|
|
9876
|
+
}]
|
|
9877
|
+
// ----- regexp/no-misleading-capturing-group -----
|
|
9878
|
+
type RegexpNoMisleadingCapturingGroup = []|[{
|
|
9879
|
+
reportBacktrackingEnds?: boolean
|
|
9880
|
+
}]
|
|
9881
|
+
// ----- regexp/no-misleading-unicode-character -----
|
|
9882
|
+
type RegexpNoMisleadingUnicodeCharacter = []|[{
|
|
9883
|
+
fixable?: boolean
|
|
9884
|
+
}]
|
|
9885
|
+
// ----- regexp/no-missing-g-flag -----
|
|
9886
|
+
type RegexpNoMissingGFlag = []|[{
|
|
9887
|
+
strictTypes?: boolean
|
|
9888
|
+
}]
|
|
9889
|
+
// ----- regexp/no-obscure-range -----
|
|
9890
|
+
type RegexpNoObscureRange = []|[{
|
|
9891
|
+
allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
9892
|
+
}]
|
|
9893
|
+
// ----- regexp/no-super-linear-backtracking -----
|
|
9894
|
+
type RegexpNoSuperLinearBacktracking = []|[{
|
|
9895
|
+
report?: ("certain" | "potential")
|
|
9896
|
+
}]
|
|
9897
|
+
// ----- regexp/no-super-linear-move -----
|
|
9898
|
+
type RegexpNoSuperLinearMove = []|[{
|
|
9899
|
+
report?: ("certain" | "potential")
|
|
9900
|
+
ignoreSticky?: boolean
|
|
9901
|
+
ignorePartial?: boolean
|
|
9902
|
+
}]
|
|
9903
|
+
// ----- regexp/no-unused-capturing-group -----
|
|
9904
|
+
type RegexpNoUnusedCapturingGroup = []|[{
|
|
9905
|
+
fixable?: boolean
|
|
9906
|
+
allowNamed?: boolean
|
|
9907
|
+
}]
|
|
9908
|
+
// ----- regexp/no-useless-character-class -----
|
|
9909
|
+
type RegexpNoUselessCharacterClass = []|[{
|
|
9910
|
+
ignores?: string[]
|
|
9911
|
+
}]
|
|
9912
|
+
// ----- regexp/no-useless-flag -----
|
|
9913
|
+
type RegexpNoUselessFlag = []|[{
|
|
9914
|
+
ignore?: ("i" | "m" | "s" | "g" | "y")[]
|
|
9915
|
+
strictTypes?: boolean
|
|
9916
|
+
}]
|
|
9917
|
+
// ----- regexp/no-useless-non-capturing-group -----
|
|
9918
|
+
type RegexpNoUselessNonCapturingGroup = []|[{
|
|
9919
|
+
allowTop?: (boolean | ("always" | "never" | "partial"))
|
|
9920
|
+
}]
|
|
9921
|
+
// ----- regexp/optimal-quantifier-concatenation -----
|
|
9922
|
+
type RegexpOptimalQuantifierConcatenation = []|[{
|
|
9923
|
+
capturingGroups?: ("ignore" | "report")
|
|
9924
|
+
}]
|
|
9925
|
+
// ----- regexp/prefer-character-class -----
|
|
9926
|
+
type RegexpPreferCharacterClass = []|[{
|
|
9927
|
+
minAlternatives?: number
|
|
9928
|
+
}]
|
|
9929
|
+
// ----- regexp/prefer-d -----
|
|
9930
|
+
type RegexpPreferD = []|[{
|
|
9931
|
+
insideCharacterClass?: ("ignore" | "range" | "d")
|
|
9932
|
+
}]
|
|
9933
|
+
// ----- regexp/prefer-lookaround -----
|
|
9934
|
+
type RegexpPreferLookaround = []|[{
|
|
9935
|
+
lookbehind?: boolean
|
|
9936
|
+
strictTypes?: boolean
|
|
9937
|
+
}]
|
|
9938
|
+
// ----- regexp/prefer-named-replacement -----
|
|
9939
|
+
type RegexpPreferNamedReplacement = []|[{
|
|
9940
|
+
strictTypes?: boolean
|
|
9941
|
+
}]
|
|
9942
|
+
// ----- regexp/prefer-range -----
|
|
9943
|
+
type RegexpPreferRange = []|[{
|
|
9944
|
+
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
9945
|
+
}]
|
|
9946
|
+
// ----- regexp/prefer-result-array-groups -----
|
|
9947
|
+
type RegexpPreferResultArrayGroups = []|[{
|
|
9948
|
+
strictTypes?: boolean
|
|
9949
|
+
}]
|
|
9950
|
+
// ----- regexp/sort-character-class-elements -----
|
|
9951
|
+
type RegexpSortCharacterClassElements = []|[{
|
|
9952
|
+
order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
|
|
9953
|
+
}]
|
|
9954
|
+
// ----- regexp/unicode-escape -----
|
|
9955
|
+
type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
|
|
9956
|
+
// ----- regexp/unicode-property -----
|
|
9957
|
+
type RegexpUnicodeProperty = []|[{
|
|
9958
|
+
generalCategory?: ("always" | "never" | "ignore")
|
|
9959
|
+
key?: ("short" | "long" | "ignore")
|
|
9960
|
+
property?: (("short" | "long" | "ignore") | {
|
|
9961
|
+
binary?: ("short" | "long" | "ignore")
|
|
9962
|
+
generalCategory?: ("short" | "long" | "ignore")
|
|
9963
|
+
script?: ("short" | "long" | "ignore")
|
|
9964
|
+
})
|
|
9965
|
+
}]
|
|
9378
9966
|
// ----- require-atomic-updates -----
|
|
9379
9967
|
type RequireAtomicUpdates = []|[{
|
|
9380
9968
|
allowProperties?: boolean
|
|
@@ -9641,6 +10229,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
|
|
|
9641
10229
|
type StyleJsxEqualsSpacing = []|[("always" | "never")]
|
|
9642
10230
|
// ----- style/jsx-first-prop-new-line -----
|
|
9643
10231
|
type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
10232
|
+
// ----- style/jsx-function-call-newline -----
|
|
10233
|
+
type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
|
|
9644
10234
|
// ----- style/jsx-indent -----
|
|
9645
10235
|
type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
9646
10236
|
checkAttributes?: boolean
|
|
@@ -9670,7 +10260,7 @@ type StyleJsxNewline = []|[{
|
|
|
9670
10260
|
}]
|
|
9671
10261
|
// ----- style/jsx-one-expression-per-line -----
|
|
9672
10262
|
type StyleJsxOneExpressionPerLine = []|[{
|
|
9673
|
-
allow?: ("none" | "literal" | "single-child")
|
|
10263
|
+
allow?: ("none" | "literal" | "single-child" | "single-line")
|
|
9674
10264
|
}]
|
|
9675
10265
|
// ----- style/jsx-pascal-case -----
|
|
9676
10266
|
type StyleJsxPascalCase = []|[{
|
|
@@ -9713,6 +10303,7 @@ type StyleJsxWrapMultilines = []|[{
|
|
|
9713
10303
|
condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9714
10304
|
logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9715
10305
|
prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10306
|
+
propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
9716
10307
|
}]
|
|
9717
10308
|
// ----- style/key-spacing -----
|
|
9718
10309
|
type StyleKeySpacing = []|[({
|
|
@@ -10043,6 +10634,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10043
10634
|
}
|
|
10044
10635
|
}
|
|
10045
10636
|
}]
|
|
10637
|
+
// ----- style/line-comment-position -----
|
|
10638
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10639
|
+
position?: ("above" | "beside")
|
|
10640
|
+
ignorePattern?: string
|
|
10641
|
+
applyDefaultPatterns?: boolean
|
|
10642
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10643
|
+
})]
|
|
10046
10644
|
// ----- style/linebreak-style -----
|
|
10047
10645
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10048
10646
|
// ----- style/lines-around-comment -----
|
|
@@ -10196,6 +10794,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10196
10794
|
requireLast?: boolean
|
|
10197
10795
|
}
|
|
10198
10796
|
}
|
|
10797
|
+
// ----- style/multiline-comment-style -----
|
|
10798
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10799
|
+
checkJSDoc?: boolean
|
|
10800
|
+
}])
|
|
10199
10801
|
// ----- style/multiline-ternary -----
|
|
10200
10802
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10201
10803
|
ignoreJSX?: boolean
|
|
@@ -12273,11 +12875,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
12273
12875
|
// ----- unicorn/prefer-number-properties -----
|
|
12274
12876
|
type UnicornPreferNumberProperties = []|[{
|
|
12275
12877
|
checkInfinity?: boolean
|
|
12878
|
+
checkNaN?: boolean
|
|
12276
12879
|
}]
|
|
12277
12880
|
// ----- unicorn/prefer-object-from-entries -----
|
|
12278
12881
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12279
12882
|
functions?: unknown[]
|
|
12280
12883
|
}]
|
|
12884
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
12885
|
+
type UnicornPreferStructuredClone = []|[{
|
|
12886
|
+
functions?: unknown[]
|
|
12887
|
+
}]
|
|
12281
12888
|
// ----- unicorn/prefer-switch -----
|
|
12282
12889
|
type UnicornPreferSwitch = []|[{
|
|
12283
12890
|
minimumCases?: number
|
|
@@ -13880,12 +14487,15 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'qu
|
|
|
13880
14487
|
*/
|
|
13881
14488
|
lessOpinionated?: boolean;
|
|
13882
14489
|
}
|
|
13883
|
-
interface StylisticOverridesConfig extends OptionsStylistic {
|
|
13884
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13885
|
-
}
|
|
13886
14490
|
interface OptionsOverrides {
|
|
13887
14491
|
overrides?: TypedFlatConfigItem['rules'];
|
|
13888
14492
|
}
|
|
14493
|
+
interface OptionsRegExp {
|
|
14494
|
+
/**
|
|
14495
|
+
* Override rulelevels
|
|
14496
|
+
*/
|
|
14497
|
+
level?: 'error' | 'warn';
|
|
14498
|
+
}
|
|
13889
14499
|
interface OptionsIgnores {
|
|
13890
14500
|
ignores?: string[];
|
|
13891
14501
|
}
|
|
@@ -13898,7 +14508,6 @@ interface OptionsReact {
|
|
|
13898
14508
|
jsx?: boolean;
|
|
13899
14509
|
/** react 版本 */
|
|
13900
14510
|
version?: string;
|
|
13901
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13902
14511
|
}
|
|
13903
14512
|
interface OptionsUnoCSS {
|
|
13904
14513
|
/**
|
|
@@ -13911,7 +14520,6 @@ interface OptionsUnoCSS {
|
|
|
13911
14520
|
* @default false
|
|
13912
14521
|
*/
|
|
13913
14522
|
strict?: boolean;
|
|
13914
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
13915
14523
|
}
|
|
13916
14524
|
interface OptionsConfig extends OptionsComponentExts {
|
|
13917
14525
|
/**
|
|
@@ -14020,6 +14628,13 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14020
14628
|
* @default true
|
|
14021
14629
|
*/
|
|
14022
14630
|
stylistic?: boolean | StylisticConfig;
|
|
14631
|
+
/**
|
|
14632
|
+
* Enable regexp rules.
|
|
14633
|
+
*
|
|
14634
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
14635
|
+
* @default true
|
|
14636
|
+
*/
|
|
14637
|
+
regexp?: boolean | OptionsRegExp;
|
|
14023
14638
|
/**
|
|
14024
14639
|
* 控制再编辑器中禁用某些规则.
|
|
14025
14640
|
* @default 基于 process.env 自动检测
|
|
@@ -14040,6 +14655,7 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14040
14655
|
stylistic?: TypedFlatConfigItem['rules'];
|
|
14041
14656
|
test?: TypedFlatConfigItem['rules'];
|
|
14042
14657
|
vue?: TypedFlatConfigItem['rules'];
|
|
14658
|
+
regexp?: TypedFlatConfigItem['rules'];
|
|
14043
14659
|
react?: TypedFlatConfigItem['rules'];
|
|
14044
14660
|
svelte?: TypedFlatConfigItem['rules'];
|
|
14045
14661
|
jsonc?: TypedFlatConfigItem['rules'];
|
|
@@ -14093,7 +14709,9 @@ declare function formatters(options?: OptionsFormatters | true, stylistic?: Styl
|
|
|
14093
14709
|
|
|
14094
14710
|
declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
14095
14711
|
|
|
14096
|
-
declare function react(options?: OptionsFiles & OptionsReact): Promise<TypedFlatConfigItem[]>;
|
|
14712
|
+
declare function react(options?: OptionsFiles & OptionsReact & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14713
|
+
|
|
14714
|
+
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14097
14715
|
|
|
14098
14716
|
/**
|
|
14099
14717
|
* Sort package.json
|
|
@@ -14109,7 +14727,7 @@ declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
|
|
|
14109
14727
|
declare function sortTsconfig(): TypedFlatConfigItem[];
|
|
14110
14728
|
|
|
14111
14729
|
declare const StylisticConfigDefaults: StylisticConfig;
|
|
14112
|
-
declare function stylistic(options?:
|
|
14730
|
+
declare function stylistic(options?: OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14113
14731
|
|
|
14114
14732
|
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14115
14733
|
|
|
@@ -14117,7 +14735,7 @@ declare function typescript(options?: OptionsFiles & OptionsComponentExts & Opti
|
|
|
14117
14735
|
|
|
14118
14736
|
declare function unicorn(): Promise<TypedFlatConfigItem[]>;
|
|
14119
14737
|
|
|
14120
|
-
declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
|
|
14738
|
+
declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
14121
14739
|
|
|
14122
14740
|
declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
14123
14741
|
|
|
@@ -14160,9 +14778,10 @@ declare const GLOB_VUE = "**/*.vue";
|
|
|
14160
14778
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
14161
14779
|
declare const GLOB_TOML = "**/*.toml";
|
|
14162
14780
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
14781
|
+
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
14163
14782
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
14164
14783
|
declare const GLOB_TESTS: string[];
|
|
14165
14784
|
declare const GLOB_ALL_SRC: string[];
|
|
14166
14785
|
declare const GLOB_EXCLUDE: string[];
|
|
14167
14786
|
|
|
14168
|
-
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type
|
|
14787
|
+
export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|