@jimmy.codes/eslint-config 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1143 -581
- package/dist/index.d.mts +1143 -581
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as eslint_plugin_jest from 'eslint-plugin-jest';
|
|
2
|
-
import * as eslint_plugin_jest_dom from 'eslint-plugin-jest-dom';
|
|
3
2
|
import * as eslint_plugin_testing_library from 'eslint-plugin-testing-library';
|
|
3
|
+
import * as eslint_plugin_jest_dom from 'eslint-plugin-jest-dom';
|
|
4
4
|
import * as eslint_plugin_react_refresh from 'eslint-plugin-react-refresh';
|
|
5
|
-
import * as eslint_plugin_jsx_a11y from 'eslint-plugin-jsx-a11y';
|
|
6
5
|
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
7
6
|
import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
7
|
+
import * as eslint_plugin_jsx_a11y from 'eslint-plugin-jsx-a11y';
|
|
8
8
|
import * as eslint from 'eslint';
|
|
9
9
|
import { Linter } from 'eslint';
|
|
10
10
|
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
@@ -3033,6 +3033,109 @@ interface RuleOptions {
|
|
|
3033
3033
|
* @deprecated
|
|
3034
3034
|
*/
|
|
3035
3035
|
'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
|
|
3036
|
+
/**
|
|
3037
|
+
* Enforce sorted arrays before include method.
|
|
3038
|
+
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
3039
|
+
*/
|
|
3040
|
+
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
3041
|
+
/**
|
|
3042
|
+
* Enforce sorted Astro attributes.
|
|
3043
|
+
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
3044
|
+
* @deprecated
|
|
3045
|
+
*/
|
|
3046
|
+
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
3047
|
+
/**
|
|
3048
|
+
* Enforce sorted classes.
|
|
3049
|
+
* @see https://perfectionist.dev/rules/sort-classes
|
|
3050
|
+
*/
|
|
3051
|
+
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
3052
|
+
/**
|
|
3053
|
+
* Enforce sorted TypeScript enums.
|
|
3054
|
+
* @see https://perfectionist.dev/rules/sort-enums
|
|
3055
|
+
*/
|
|
3056
|
+
'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
|
|
3057
|
+
/**
|
|
3058
|
+
* Enforce sorted exports.
|
|
3059
|
+
* @see https://perfectionist.dev/rules/sort-exports
|
|
3060
|
+
*/
|
|
3061
|
+
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
3062
|
+
/**
|
|
3063
|
+
* Enforce sorted imports.
|
|
3064
|
+
* @see https://perfectionist.dev/rules/sort-imports
|
|
3065
|
+
*/
|
|
3066
|
+
'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
|
|
3067
|
+
/**
|
|
3068
|
+
* Enforce sorted interface properties.
|
|
3069
|
+
* @see https://perfectionist.dev/rules/sort-interfaces
|
|
3070
|
+
*/
|
|
3071
|
+
'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
|
|
3072
|
+
/**
|
|
3073
|
+
* Enforce sorted intersection types.
|
|
3074
|
+
* @see https://perfectionist.dev/rules/sort-intersection-types
|
|
3075
|
+
*/
|
|
3076
|
+
'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
|
|
3077
|
+
/**
|
|
3078
|
+
* Enforce sorted JSX props.
|
|
3079
|
+
* @see https://perfectionist.dev/rules/sort-jsx-props
|
|
3080
|
+
*/
|
|
3081
|
+
'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
|
|
3082
|
+
/**
|
|
3083
|
+
* Enforce sorted Map elements.
|
|
3084
|
+
* @see https://perfectionist.dev/rules/sort-maps
|
|
3085
|
+
*/
|
|
3086
|
+
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
3087
|
+
/**
|
|
3088
|
+
* Enforce sorted named exports.
|
|
3089
|
+
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
3090
|
+
*/
|
|
3091
|
+
'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
|
|
3092
|
+
/**
|
|
3093
|
+
* Enforce sorted named imports.
|
|
3094
|
+
* @see https://perfectionist.dev/rules/sort-named-imports
|
|
3095
|
+
*/
|
|
3096
|
+
'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
|
|
3097
|
+
/**
|
|
3098
|
+
* Enforce sorted object types.
|
|
3099
|
+
* @see https://perfectionist.dev/rules/sort-object-types
|
|
3100
|
+
*/
|
|
3101
|
+
'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
|
|
3102
|
+
/**
|
|
3103
|
+
* Enforce sorted objects.
|
|
3104
|
+
* @see https://perfectionist.dev/rules/sort-objects
|
|
3105
|
+
*/
|
|
3106
|
+
'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
|
|
3107
|
+
/**
|
|
3108
|
+
* Enforce sorted sets.
|
|
3109
|
+
* @see https://perfectionist.dev/rules/sort-sets
|
|
3110
|
+
*/
|
|
3111
|
+
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
3112
|
+
/**
|
|
3113
|
+
* Enforce sorted Svelte attributes.
|
|
3114
|
+
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
3115
|
+
* @deprecated
|
|
3116
|
+
*/
|
|
3117
|
+
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
3118
|
+
/**
|
|
3119
|
+
* Enforce sorted switch cases.
|
|
3120
|
+
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
3121
|
+
*/
|
|
3122
|
+
'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
|
|
3123
|
+
/**
|
|
3124
|
+
* Enforce sorted union types.
|
|
3125
|
+
* @see https://perfectionist.dev/rules/sort-union-types
|
|
3126
|
+
*/
|
|
3127
|
+
'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
|
|
3128
|
+
/**
|
|
3129
|
+
* Enforce sorted variable declarations.
|
|
3130
|
+
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
3131
|
+
*/
|
|
3132
|
+
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
3133
|
+
/**
|
|
3134
|
+
* Enforce sorted Vue attributes.
|
|
3135
|
+
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
3136
|
+
* @deprecated
|
|
3137
|
+
*/
|
|
3138
|
+
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
3036
3139
|
/**
|
|
3037
3140
|
* Require using arrow functions for callbacks
|
|
3038
3141
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -3693,16 +3796,6 @@ interface RuleOptions {
|
|
|
3693
3796
|
* @deprecated
|
|
3694
3797
|
*/
|
|
3695
3798
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3696
|
-
/**
|
|
3697
|
-
* Automatically sort exports.
|
|
3698
|
-
* @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
|
|
3699
|
-
*/
|
|
3700
|
-
'simple-import-sort/exports'?: Linter.RuleEntry<[]>
|
|
3701
|
-
/**
|
|
3702
|
-
* Automatically sort imports.
|
|
3703
|
-
* @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
|
|
3704
|
-
*/
|
|
3705
|
-
'simple-import-sort/imports'?: Linter.RuleEntry<SimpleImportSortImports>
|
|
3706
3799
|
/**
|
|
3707
3800
|
* Enforce sorted import declarations within modules
|
|
3708
3801
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
@@ -7077,95 +7170,554 @@ type PaddingLineBetweenStatements = {
|
|
|
7077
7170
|
prev: _PaddingLineBetweenStatementsStatementType
|
|
7078
7171
|
next: _PaddingLineBetweenStatementsStatementType
|
|
7079
7172
|
}[]
|
|
7080
|
-
// -----
|
|
7081
|
-
type
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7173
|
+
// ----- perfectionist/sort-array-includes -----
|
|
7174
|
+
type PerfectionistSortArrayIncludes = []|[{
|
|
7175
|
+
|
|
7176
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7177
|
+
|
|
7178
|
+
order?: ("asc" | "desc")
|
|
7179
|
+
|
|
7180
|
+
matcher?: ("minimatch" | "regex")
|
|
7181
|
+
|
|
7182
|
+
ignoreCase?: boolean
|
|
7183
|
+
|
|
7184
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7185
|
+
|
|
7186
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7187
|
+
|
|
7188
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7189
|
+
|
|
7190
|
+
partitionByNewLine?: boolean
|
|
7089
7191
|
}]
|
|
7090
|
-
// -----
|
|
7091
|
-
type
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
}
|
|
7108
|
-
AssignmentExpression?: {
|
|
7109
|
-
array?: boolean
|
|
7110
|
-
object?: boolean
|
|
7192
|
+
// ----- perfectionist/sort-astro-attributes -----
|
|
7193
|
+
type PerfectionistSortAstroAttributes = []|[{
|
|
7194
|
+
|
|
7195
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7196
|
+
|
|
7197
|
+
order?: ("asc" | "desc")
|
|
7198
|
+
|
|
7199
|
+
matcher?: ("minimatch" | "regex")
|
|
7200
|
+
|
|
7201
|
+
ignoreCase?: boolean
|
|
7202
|
+
|
|
7203
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7204
|
+
|
|
7205
|
+
groups?: (string | string[])[]
|
|
7206
|
+
|
|
7207
|
+
customGroups?: {
|
|
7208
|
+
[k: string]: (string | string[]) | undefined
|
|
7111
7209
|
}
|
|
7112
|
-
} | {
|
|
7113
|
-
array?: boolean
|
|
7114
|
-
object?: boolean
|
|
7115
|
-
}), {
|
|
7116
|
-
enforceForRenamedProperties?: boolean
|
|
7117
|
-
}]
|
|
7118
|
-
// ----- prefer-promise-reject-errors -----
|
|
7119
|
-
type PreferPromiseRejectErrors = []|[{
|
|
7120
|
-
allowEmptyReject?: boolean
|
|
7121
7210
|
}]
|
|
7122
|
-
// -----
|
|
7123
|
-
type
|
|
7124
|
-
|
|
7211
|
+
// ----- perfectionist/sort-classes -----
|
|
7212
|
+
type PerfectionistSortClasses = []|[{
|
|
7213
|
+
|
|
7214
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7215
|
+
|
|
7216
|
+
order?: ("asc" | "desc")
|
|
7217
|
+
|
|
7218
|
+
matcher?: ("minimatch" | "regex")
|
|
7219
|
+
|
|
7220
|
+
ignoreCase?: boolean
|
|
7221
|
+
|
|
7222
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7223
|
+
|
|
7224
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7225
|
+
|
|
7226
|
+
groups?: (string | string[])[]
|
|
7227
|
+
|
|
7228
|
+
customGroups?: ({
|
|
7229
|
+
[k: string]: (string | string[]) | undefined
|
|
7230
|
+
} | ({
|
|
7231
|
+
|
|
7232
|
+
groupName?: string
|
|
7233
|
+
|
|
7234
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7235
|
+
|
|
7236
|
+
order?: ("desc" | "asc")
|
|
7237
|
+
anyOf?: {
|
|
7238
|
+
|
|
7239
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7240
|
+
|
|
7241
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7242
|
+
|
|
7243
|
+
elementNamePattern?: string
|
|
7244
|
+
|
|
7245
|
+
elementValuePattern?: string
|
|
7246
|
+
|
|
7247
|
+
decoratorNamePattern?: string
|
|
7248
|
+
}[]
|
|
7249
|
+
} | {
|
|
7250
|
+
|
|
7251
|
+
groupName?: string
|
|
7252
|
+
|
|
7253
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7254
|
+
|
|
7255
|
+
order?: ("desc" | "asc")
|
|
7256
|
+
|
|
7257
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7258
|
+
|
|
7259
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7260
|
+
|
|
7261
|
+
elementNamePattern?: string
|
|
7262
|
+
|
|
7263
|
+
elementValuePattern?: string
|
|
7264
|
+
|
|
7265
|
+
decoratorNamePattern?: string
|
|
7266
|
+
})[])
|
|
7125
7267
|
}]
|
|
7126
|
-
// -----
|
|
7127
|
-
type
|
|
7128
|
-
|
|
7268
|
+
// ----- perfectionist/sort-enums -----
|
|
7269
|
+
type PerfectionistSortEnums = []|[{
|
|
7270
|
+
|
|
7271
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7272
|
+
|
|
7273
|
+
order?: ("asc" | "desc")
|
|
7274
|
+
|
|
7275
|
+
matcher?: ("minimatch" | "regex")
|
|
7276
|
+
|
|
7277
|
+
ignoreCase?: boolean
|
|
7278
|
+
|
|
7279
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7280
|
+
|
|
7281
|
+
sortByValue?: boolean
|
|
7282
|
+
|
|
7283
|
+
forceNumericSort?: boolean
|
|
7284
|
+
|
|
7285
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7286
|
+
|
|
7287
|
+
partitionByNewLine?: boolean
|
|
7129
7288
|
}]
|
|
7130
|
-
// -----
|
|
7131
|
-
type
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7289
|
+
// ----- perfectionist/sort-exports -----
|
|
7290
|
+
type PerfectionistSortExports = []|[{
|
|
7291
|
+
|
|
7292
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7293
|
+
|
|
7294
|
+
order?: ("asc" | "desc")
|
|
7295
|
+
|
|
7296
|
+
matcher?: ("minimatch" | "regex")
|
|
7297
|
+
|
|
7298
|
+
ignoreCase?: boolean
|
|
7299
|
+
|
|
7300
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7301
|
+
|
|
7302
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7303
|
+
|
|
7304
|
+
partitionByNewLine?: boolean
|
|
7305
|
+
|
|
7306
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7147
7307
|
}]
|
|
7148
|
-
// -----
|
|
7149
|
-
type
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7308
|
+
// ----- perfectionist/sort-imports -----
|
|
7309
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
7310
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
7311
|
+
|
|
7312
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7313
|
+
|
|
7314
|
+
order?: ("asc" | "desc")
|
|
7315
|
+
|
|
7316
|
+
matcher?: ("minimatch" | "regex")
|
|
7317
|
+
|
|
7318
|
+
ignoreCase?: boolean
|
|
7319
|
+
|
|
7320
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7321
|
+
|
|
7322
|
+
internalPattern?: string[]
|
|
7323
|
+
|
|
7324
|
+
sortSideEffects?: boolean
|
|
7325
|
+
|
|
7326
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7327
|
+
|
|
7328
|
+
maxLineLength?: number
|
|
7329
|
+
|
|
7330
|
+
groups?: (string | string[])[]
|
|
7331
|
+
|
|
7332
|
+
customGroups?: {
|
|
7333
|
+
type?: {
|
|
7334
|
+
[k: string]: unknown | undefined
|
|
7335
|
+
}
|
|
7336
|
+
value?: {
|
|
7337
|
+
[k: string]: unknown | undefined
|
|
7338
|
+
}
|
|
7339
|
+
}
|
|
7340
|
+
|
|
7341
|
+
environment?: ("node" | "bun")
|
|
7342
|
+
})
|
|
7343
|
+
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
7344
|
+
[k: string]: unknown | undefined
|
|
7345
|
+
} | _PerfectionistSortImports_IsLineLength)
|
|
7346
|
+
interface _PerfectionistSortImports_IsLineLength {
|
|
7347
|
+
type: "line-length"
|
|
7348
|
+
[k: string]: unknown | undefined
|
|
7349
|
+
}
|
|
7350
|
+
// ----- perfectionist/sort-interfaces -----
|
|
7351
|
+
type PerfectionistSortInterfaces = []|[{
|
|
7352
|
+
|
|
7353
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7354
|
+
|
|
7355
|
+
order?: ("asc" | "desc")
|
|
7356
|
+
|
|
7357
|
+
matcher?: ("minimatch" | "regex")
|
|
7358
|
+
|
|
7359
|
+
ignoreCase?: boolean
|
|
7360
|
+
|
|
7361
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7362
|
+
|
|
7363
|
+
ignorePattern?: string[]
|
|
7364
|
+
|
|
7365
|
+
partitionByComment?: (boolean | string | string[])
|
|
7366
|
+
|
|
7367
|
+
partitionByNewLine?: boolean
|
|
7368
|
+
|
|
7369
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
7370
|
+
|
|
7371
|
+
groups?: (string | string[])[]
|
|
7372
|
+
|
|
7373
|
+
customGroups?: {
|
|
7374
|
+
[k: string]: (string | string[]) | undefined
|
|
7375
|
+
}
|
|
7153
7376
|
}]
|
|
7154
|
-
// -----
|
|
7155
|
-
type
|
|
7377
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
7378
|
+
type PerfectionistSortIntersectionTypes = []|[{
|
|
7156
7379
|
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7380
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7381
|
+
|
|
7382
|
+
order?: ("asc" | "desc")
|
|
7383
|
+
|
|
7384
|
+
matcher?: ("minimatch" | "regex")
|
|
7385
|
+
|
|
7386
|
+
ignoreCase?: boolean
|
|
7387
|
+
|
|
7388
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7389
|
+
|
|
7390
|
+
groups?: (string | string[])[]
|
|
7391
|
+
|
|
7392
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7393
|
+
|
|
7394
|
+
partitionByNewLine?: boolean
|
|
7161
7395
|
}]
|
|
7162
|
-
// -----
|
|
7163
|
-
type
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7396
|
+
// ----- perfectionist/sort-jsx-props -----
|
|
7397
|
+
type PerfectionistSortJsxProps = []|[{
|
|
7398
|
+
|
|
7399
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7400
|
+
|
|
7401
|
+
order?: ("asc" | "desc")
|
|
7402
|
+
|
|
7403
|
+
matcher?: ("minimatch" | "regex")
|
|
7404
|
+
|
|
7405
|
+
ignoreCase?: boolean
|
|
7406
|
+
|
|
7407
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7408
|
+
|
|
7409
|
+
ignorePattern?: string[]
|
|
7410
|
+
|
|
7411
|
+
groups?: (string | string[])[]
|
|
7412
|
+
|
|
7413
|
+
customGroups?: {
|
|
7414
|
+
[k: string]: (string | string[]) | undefined
|
|
7415
|
+
}
|
|
7167
7416
|
}]
|
|
7168
|
-
// -----
|
|
7417
|
+
// ----- perfectionist/sort-maps -----
|
|
7418
|
+
type PerfectionistSortMaps = []|[{
|
|
7419
|
+
|
|
7420
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7421
|
+
|
|
7422
|
+
order?: ("asc" | "desc")
|
|
7423
|
+
|
|
7424
|
+
matcher?: ("minimatch" | "regex")
|
|
7425
|
+
|
|
7426
|
+
ignoreCase?: boolean
|
|
7427
|
+
|
|
7428
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7429
|
+
|
|
7430
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7431
|
+
|
|
7432
|
+
partitionByNewLine?: boolean
|
|
7433
|
+
}]
|
|
7434
|
+
// ----- perfectionist/sort-named-exports -----
|
|
7435
|
+
type PerfectionistSortNamedExports = []|[{
|
|
7436
|
+
|
|
7437
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7438
|
+
|
|
7439
|
+
order?: ("asc" | "desc")
|
|
7440
|
+
|
|
7441
|
+
matcher?: ("minimatch" | "regex")
|
|
7442
|
+
|
|
7443
|
+
ignoreCase?: boolean
|
|
7444
|
+
|
|
7445
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7446
|
+
|
|
7447
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7448
|
+
|
|
7449
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7450
|
+
|
|
7451
|
+
partitionByNewLine?: boolean
|
|
7452
|
+
}]
|
|
7453
|
+
// ----- perfectionist/sort-named-imports -----
|
|
7454
|
+
type PerfectionistSortNamedImports = []|[{
|
|
7455
|
+
|
|
7456
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7457
|
+
|
|
7458
|
+
order?: ("asc" | "desc")
|
|
7459
|
+
|
|
7460
|
+
matcher?: ("minimatch" | "regex")
|
|
7461
|
+
|
|
7462
|
+
ignoreCase?: boolean
|
|
7463
|
+
|
|
7464
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7465
|
+
|
|
7466
|
+
ignoreAlias?: boolean
|
|
7467
|
+
|
|
7468
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
7469
|
+
|
|
7470
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7471
|
+
|
|
7472
|
+
partitionByNewLine?: boolean
|
|
7473
|
+
}]
|
|
7474
|
+
// ----- perfectionist/sort-object-types -----
|
|
7475
|
+
type PerfectionistSortObjectTypes = []|[{
|
|
7476
|
+
|
|
7477
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7478
|
+
|
|
7479
|
+
order?: ("asc" | "desc")
|
|
7480
|
+
|
|
7481
|
+
matcher?: ("minimatch" | "regex")
|
|
7482
|
+
|
|
7483
|
+
ignoreCase?: boolean
|
|
7484
|
+
|
|
7485
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7486
|
+
|
|
7487
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7488
|
+
|
|
7489
|
+
partitionByNewLine?: boolean
|
|
7490
|
+
|
|
7491
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
7492
|
+
|
|
7493
|
+
groups?: (string | string[])[]
|
|
7494
|
+
|
|
7495
|
+
customGroups?: {
|
|
7496
|
+
[k: string]: (string | string[]) | undefined
|
|
7497
|
+
}
|
|
7498
|
+
}]
|
|
7499
|
+
// ----- perfectionist/sort-objects -----
|
|
7500
|
+
type PerfectionistSortObjects = []|[{
|
|
7501
|
+
|
|
7502
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7503
|
+
|
|
7504
|
+
order?: ("asc" | "desc")
|
|
7505
|
+
|
|
7506
|
+
matcher?: ("minimatch" | "regex")
|
|
7507
|
+
|
|
7508
|
+
ignoreCase?: boolean
|
|
7509
|
+
|
|
7510
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7511
|
+
|
|
7512
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7513
|
+
|
|
7514
|
+
partitionByNewLine?: boolean
|
|
7515
|
+
|
|
7516
|
+
styledComponents?: boolean
|
|
7517
|
+
|
|
7518
|
+
destructureOnly?: boolean
|
|
7519
|
+
|
|
7520
|
+
ignorePattern?: string[]
|
|
7521
|
+
|
|
7522
|
+
groups?: (string | string[])[]
|
|
7523
|
+
|
|
7524
|
+
customGroups?: {
|
|
7525
|
+
[k: string]: (string | string[]) | undefined
|
|
7526
|
+
}
|
|
7527
|
+
}]
|
|
7528
|
+
// ----- perfectionist/sort-sets -----
|
|
7529
|
+
type PerfectionistSortSets = []|[{
|
|
7530
|
+
|
|
7531
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7532
|
+
|
|
7533
|
+
order?: ("asc" | "desc")
|
|
7534
|
+
|
|
7535
|
+
matcher?: ("minimatch" | "regex")
|
|
7536
|
+
|
|
7537
|
+
ignoreCase?: boolean
|
|
7538
|
+
|
|
7539
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7540
|
+
|
|
7541
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7542
|
+
|
|
7543
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7544
|
+
|
|
7545
|
+
partitionByNewLine?: boolean
|
|
7546
|
+
}]
|
|
7547
|
+
// ----- perfectionist/sort-svelte-attributes -----
|
|
7548
|
+
type PerfectionistSortSvelteAttributes = []|[{
|
|
7549
|
+
|
|
7550
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7551
|
+
|
|
7552
|
+
order?: ("asc" | "desc")
|
|
7553
|
+
|
|
7554
|
+
matcher?: ("minimatch" | "regex")
|
|
7555
|
+
|
|
7556
|
+
ignoreCase?: boolean
|
|
7557
|
+
|
|
7558
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7559
|
+
|
|
7560
|
+
groups?: (string | string[])[]
|
|
7561
|
+
|
|
7562
|
+
customGroups?: {
|
|
7563
|
+
[k: string]: (string | string[]) | undefined
|
|
7564
|
+
}
|
|
7565
|
+
}]
|
|
7566
|
+
// ----- perfectionist/sort-switch-case -----
|
|
7567
|
+
type PerfectionistSortSwitchCase = []|[{
|
|
7568
|
+
|
|
7569
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7570
|
+
|
|
7571
|
+
order?: ("asc" | "desc")
|
|
7572
|
+
|
|
7573
|
+
ignoreCase?: boolean
|
|
7574
|
+
|
|
7575
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7576
|
+
}]
|
|
7577
|
+
// ----- perfectionist/sort-union-types -----
|
|
7578
|
+
type PerfectionistSortUnionTypes = []|[{
|
|
7579
|
+
|
|
7580
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7581
|
+
|
|
7582
|
+
order?: ("asc" | "desc")
|
|
7583
|
+
|
|
7584
|
+
matcher?: ("minimatch" | "regex")
|
|
7585
|
+
|
|
7586
|
+
ignoreCase?: boolean
|
|
7587
|
+
|
|
7588
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7589
|
+
|
|
7590
|
+
groups?: (string | string[])[]
|
|
7591
|
+
|
|
7592
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7593
|
+
|
|
7594
|
+
partitionByNewLine?: boolean
|
|
7595
|
+
}]
|
|
7596
|
+
// ----- perfectionist/sort-variable-declarations -----
|
|
7597
|
+
type PerfectionistSortVariableDeclarations = []|[{
|
|
7598
|
+
|
|
7599
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7600
|
+
|
|
7601
|
+
order?: ("asc" | "desc")
|
|
7602
|
+
|
|
7603
|
+
matcher?: ("minimatch" | "regex")
|
|
7604
|
+
|
|
7605
|
+
ignoreCase?: boolean
|
|
7606
|
+
|
|
7607
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7608
|
+
|
|
7609
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7610
|
+
|
|
7611
|
+
partitionByNewLine?: boolean
|
|
7612
|
+
}]
|
|
7613
|
+
// ----- perfectionist/sort-vue-attributes -----
|
|
7614
|
+
type PerfectionistSortVueAttributes = []|[{
|
|
7615
|
+
|
|
7616
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7617
|
+
|
|
7618
|
+
order?: ("asc" | "desc")
|
|
7619
|
+
|
|
7620
|
+
matcher?: ("minimatch" | "regex")
|
|
7621
|
+
|
|
7622
|
+
ignoreCase?: boolean
|
|
7623
|
+
|
|
7624
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7625
|
+
|
|
7626
|
+
groups?: (string | string[])[]
|
|
7627
|
+
|
|
7628
|
+
customGroups?: {
|
|
7629
|
+
[k: string]: (string | string[]) | undefined
|
|
7630
|
+
}
|
|
7631
|
+
}]
|
|
7632
|
+
// ----- prefer-arrow-callback -----
|
|
7633
|
+
type PreferArrowCallback = []|[{
|
|
7634
|
+
allowNamedFunctions?: boolean
|
|
7635
|
+
allowUnboundThis?: boolean
|
|
7636
|
+
}]
|
|
7637
|
+
// ----- prefer-const -----
|
|
7638
|
+
type PreferConst = []|[{
|
|
7639
|
+
destructuring?: ("any" | "all")
|
|
7640
|
+
ignoreReadBeforeAssign?: boolean
|
|
7641
|
+
}]
|
|
7642
|
+
// ----- prefer-destructuring -----
|
|
7643
|
+
type PreferDestructuring = []|[({
|
|
7644
|
+
VariableDeclarator?: {
|
|
7645
|
+
array?: boolean
|
|
7646
|
+
object?: boolean
|
|
7647
|
+
}
|
|
7648
|
+
AssignmentExpression?: {
|
|
7649
|
+
array?: boolean
|
|
7650
|
+
object?: boolean
|
|
7651
|
+
}
|
|
7652
|
+
} | {
|
|
7653
|
+
array?: boolean
|
|
7654
|
+
object?: boolean
|
|
7655
|
+
})]|[({
|
|
7656
|
+
VariableDeclarator?: {
|
|
7657
|
+
array?: boolean
|
|
7658
|
+
object?: boolean
|
|
7659
|
+
}
|
|
7660
|
+
AssignmentExpression?: {
|
|
7661
|
+
array?: boolean
|
|
7662
|
+
object?: boolean
|
|
7663
|
+
}
|
|
7664
|
+
} | {
|
|
7665
|
+
array?: boolean
|
|
7666
|
+
object?: boolean
|
|
7667
|
+
}), {
|
|
7668
|
+
enforceForRenamedProperties?: boolean
|
|
7669
|
+
}]
|
|
7670
|
+
// ----- prefer-promise-reject-errors -----
|
|
7671
|
+
type PreferPromiseRejectErrors = []|[{
|
|
7672
|
+
allowEmptyReject?: boolean
|
|
7673
|
+
}]
|
|
7674
|
+
// ----- prefer-reflect -----
|
|
7675
|
+
type PreferReflect = []|[{
|
|
7676
|
+
exceptions?: ("apply" | "call" | "delete" | "defineProperty" | "getOwnPropertyDescriptor" | "getPrototypeOf" | "setPrototypeOf" | "isExtensible" | "getOwnPropertyNames" | "preventExtensions")[]
|
|
7677
|
+
}]
|
|
7678
|
+
// ----- prefer-regex-literals -----
|
|
7679
|
+
type PreferRegexLiterals = []|[{
|
|
7680
|
+
disallowRedundantWrapping?: boolean
|
|
7681
|
+
}]
|
|
7682
|
+
// ----- quote-props -----
|
|
7683
|
+
type QuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
7684
|
+
keywords?: boolean
|
|
7685
|
+
unnecessary?: boolean
|
|
7686
|
+
numbers?: boolean
|
|
7687
|
+
}])
|
|
7688
|
+
// ----- quotes -----
|
|
7689
|
+
type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
7690
|
+
avoidEscape?: boolean
|
|
7691
|
+
allowTemplateLiterals?: boolean
|
|
7692
|
+
})]
|
|
7693
|
+
// ----- radix -----
|
|
7694
|
+
type Radix = []|[("always" | "as-needed")]
|
|
7695
|
+
// ----- react-hooks/exhaustive-deps -----
|
|
7696
|
+
type ReactHooksExhaustiveDeps = []|[{
|
|
7697
|
+
additionalHooks?: string
|
|
7698
|
+
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean
|
|
7699
|
+
}]
|
|
7700
|
+
// ----- react-refresh/only-export-components -----
|
|
7701
|
+
type ReactRefreshOnlyExportComponents = []|[{
|
|
7702
|
+
allowConstantExport?: boolean
|
|
7703
|
+
checkJS?: boolean
|
|
7704
|
+
allowExportNames?: string[]
|
|
7705
|
+
}]
|
|
7706
|
+
// ----- react/boolean-prop-naming -----
|
|
7707
|
+
type ReactBooleanPropNaming = []|[{
|
|
7708
|
+
|
|
7709
|
+
propTypeNames?: [string, ...(string)[]]
|
|
7710
|
+
rule?: string
|
|
7711
|
+
message?: string
|
|
7712
|
+
validateNested?: boolean
|
|
7713
|
+
}]
|
|
7714
|
+
// ----- react/button-has-type -----
|
|
7715
|
+
type ReactButtonHasType = []|[{
|
|
7716
|
+
button?: boolean
|
|
7717
|
+
submit?: boolean
|
|
7718
|
+
reset?: boolean
|
|
7719
|
+
}]
|
|
7720
|
+
// ----- react/checked-requires-onchange-or-readonly -----
|
|
7169
7721
|
type ReactCheckedRequiresOnchangeOrReadonly = []|[{
|
|
7170
7722
|
ignoreMissingProperties?: boolean
|
|
7171
7723
|
ignoreExclusiveCheckedAttribute?: boolean
|
|
@@ -7639,10 +8191,6 @@ type SemiSpacing = []|[{
|
|
|
7639
8191
|
}]
|
|
7640
8192
|
// ----- semi-style -----
|
|
7641
8193
|
type SemiStyle = []|[("last" | "first")]
|
|
7642
|
-
// ----- simple-import-sort/imports -----
|
|
7643
|
-
type SimpleImportSortImports = []|[{
|
|
7644
|
-
groups?: string[][]
|
|
7645
|
-
}]
|
|
7646
8194
|
// ----- sort-imports -----
|
|
7647
8195
|
type SortImports = []|[{
|
|
7648
8196
|
ignoreCase?: boolean
|
|
@@ -7816,7 +8364,7 @@ interface TypescriptOptions {
|
|
|
7816
8364
|
*/
|
|
7817
8365
|
project: string | string[];
|
|
7818
8366
|
}
|
|
7819
|
-
type TestingFrameworks = "
|
|
8367
|
+
type TestingFrameworks = "jest" | "vitest";
|
|
7820
8368
|
type TestingUtilities = "testing-library";
|
|
7821
8369
|
type ReactUtilities = "@tanstack/query";
|
|
7822
8370
|
interface TestingOptions {
|
|
@@ -7838,20 +8386,35 @@ interface ReactOptions {
|
|
|
7838
8386
|
*/
|
|
7839
8387
|
utilities?: ReactUtilities[];
|
|
7840
8388
|
}
|
|
7841
|
-
type TypedConfigItem =
|
|
8389
|
+
type TypedConfigItem = {
|
|
7842
8390
|
/**
|
|
7843
8391
|
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
|
|
7844
8392
|
*
|
|
7845
8393
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
7846
8394
|
*/
|
|
7847
8395
|
plugins?: Record<string, unknown>;
|
|
7848
|
-
}
|
|
8396
|
+
} & Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins">;
|
|
7849
8397
|
interface Options {
|
|
7850
8398
|
/**
|
|
7851
|
-
* Are
|
|
8399
|
+
* Are astro rules enabled?
|
|
7852
8400
|
* @default false
|
|
7853
8401
|
*/
|
|
7854
|
-
|
|
8402
|
+
astro?: boolean;
|
|
8403
|
+
/**
|
|
8404
|
+
* Is auto detection enabled?
|
|
8405
|
+
* @default true
|
|
8406
|
+
*/
|
|
8407
|
+
autoDetect?: boolean;
|
|
8408
|
+
/**
|
|
8409
|
+
* Additional configs to either extend or overrides configurations
|
|
8410
|
+
* @default []
|
|
8411
|
+
*/
|
|
8412
|
+
configs?: Linter.Config[] | TypedConfigItem[];
|
|
8413
|
+
/**
|
|
8414
|
+
* Glob patterns for files that should be ignored
|
|
8415
|
+
* @see [Ignoring files](https://eslint.org/docs/latest/use/configure/ignore)
|
|
8416
|
+
*/
|
|
8417
|
+
ignores?: string[];
|
|
7855
8418
|
/**
|
|
7856
8419
|
* Are React rules enabled?
|
|
7857
8420
|
* @default false
|
|
@@ -7867,39 +8430,23 @@ interface Options {
|
|
|
7867
8430
|
*/
|
|
7868
8431
|
testing?: boolean | TestingOptions;
|
|
7869
8432
|
/**
|
|
7870
|
-
* Are
|
|
8433
|
+
* Are TypeScript rules enabled?
|
|
7871
8434
|
* @default false
|
|
7872
8435
|
*/
|
|
7873
|
-
|
|
7874
|
-
/**
|
|
7875
|
-
* Additional configs to either extend or overrides configurations
|
|
7876
|
-
* @default []
|
|
7877
|
-
*/
|
|
7878
|
-
configs?: TypedConfigItem[] | Linter.Config[];
|
|
7879
|
-
/**
|
|
7880
|
-
* Is auto detection enabled?
|
|
7881
|
-
* @default true
|
|
7882
|
-
*/
|
|
7883
|
-
autoDetect?: boolean;
|
|
7884
|
-
/**
|
|
7885
|
-
* Glob patterns for files that should be ignored
|
|
7886
|
-
* @see [Ignoring files](https://eslint.org/docs/latest/use/configure/ignore)
|
|
7887
|
-
*/
|
|
7888
|
-
ignores?: string[];
|
|
8436
|
+
typescript?: boolean | TypescriptOptions;
|
|
7889
8437
|
}
|
|
7890
8438
|
|
|
7891
|
-
declare const jimmyDotCodes: ({
|
|
8439
|
+
declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, testing, typescript, }?: Options, ...moreConfigs: Linter.Config[] | TypedConfigItem[]) => (Linter.Config<Linter.RulesRecord> | TypedConfigItem | _typescript_eslint_utils_ts_eslint.FlatConfig.Config | {
|
|
8440
|
+
name: string;
|
|
7892
8441
|
settings: {
|
|
7893
8442
|
"import-x/core-modules": string[];
|
|
7894
8443
|
};
|
|
7895
|
-
name: string;
|
|
7896
8444
|
files?: undefined;
|
|
7897
|
-
plugins?: undefined;
|
|
7898
8445
|
languageOptions?: undefined;
|
|
8446
|
+
plugins?: undefined;
|
|
7899
8447
|
processor?: undefined;
|
|
7900
8448
|
rules?: undefined;
|
|
7901
8449
|
} | {
|
|
7902
|
-
name: string;
|
|
7903
8450
|
files: string[];
|
|
7904
8451
|
languageOptions: {
|
|
7905
8452
|
globals: {
|
|
@@ -7909,8 +8456,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
7909
8456
|
readonly require: false;
|
|
7910
8457
|
};
|
|
7911
8458
|
};
|
|
8459
|
+
name: string;
|
|
7912
8460
|
} | {
|
|
7913
8461
|
name: string;
|
|
8462
|
+
rules: {
|
|
8463
|
+
'import-x/named': "off";
|
|
8464
|
+
};
|
|
7914
8465
|
settings: {
|
|
7915
8466
|
"import-x/resolver": {
|
|
7916
8467
|
typescript: boolean;
|
|
@@ -7921,434 +8472,60 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
7921
8472
|
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
7922
8473
|
};
|
|
7923
8474
|
};
|
|
7924
|
-
rules: {
|
|
7925
|
-
'import-x/named': "off";
|
|
7926
|
-
};
|
|
7927
8475
|
} | {
|
|
7928
|
-
name: string;
|
|
7929
|
-
plugins: {
|
|
7930
|
-
"import-x": eslint.ESLint.Plugin;
|
|
7931
|
-
"simple-import-sort": eslint.ESLint.Plugin;
|
|
7932
|
-
"node-import": eslint.ESLint.Plugin;
|
|
7933
|
-
};
|
|
7934
|
-
settings: {
|
|
7935
|
-
"import-x/parsers": {
|
|
7936
|
-
espree: string[];
|
|
7937
|
-
};
|
|
7938
|
-
};
|
|
7939
8476
|
languageOptions: {
|
|
7940
8477
|
parserOptions: {
|
|
7941
8478
|
ecmaVersion: "latest";
|
|
7942
8479
|
sourceType: "module";
|
|
7943
8480
|
};
|
|
7944
8481
|
};
|
|
8482
|
+
name: string;
|
|
8483
|
+
plugins: {
|
|
8484
|
+
"import-x": eslint.ESLint.Plugin;
|
|
8485
|
+
"node-import": eslint.ESLint.Plugin;
|
|
8486
|
+
};
|
|
7945
8487
|
rules: {
|
|
8488
|
+
"import-x/first": "error";
|
|
7946
8489
|
"import-x/namespace": "off";
|
|
7947
8490
|
"import-x/newline-after-import": "error";
|
|
7948
|
-
"import-x/first": "error";
|
|
7949
8491
|
"import-x/no-absolute-path": "error";
|
|
7950
|
-
"import-x/no-
|
|
7951
|
-
"import-x/no-
|
|
7952
|
-
"import-x/no-
|
|
7953
|
-
"
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
'import-x/
|
|
7957
|
-
'import-x/
|
|
7958
|
-
'import-x/default': "
|
|
7959
|
-
'import-x/
|
|
7960
|
-
'import-x/no-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
name: string;
|
|
7966
|
-
files: string[];
|
|
7967
|
-
plugins: {
|
|
7968
|
-
react: {
|
|
7969
|
-
deprecatedRules: Partial<{
|
|
7970
|
-
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
7971
|
-
'button-has-type': eslint.Rule.RuleModule;
|
|
7972
|
-
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
7973
|
-
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
7974
|
-
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
7975
|
-
'display-name': eslint.Rule.RuleModule;
|
|
7976
|
-
'forbid-component-props': eslint.Rule.RuleModule;
|
|
7977
|
-
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
7978
|
-
'forbid-elements': eslint.Rule.RuleModule;
|
|
7979
|
-
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
7980
|
-
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
7981
|
-
'forward-ref-uses-ref': {
|
|
7982
|
-
meta: {
|
|
7983
|
-
docs: {
|
|
7984
|
-
description: string;
|
|
7985
|
-
category: string;
|
|
7986
|
-
recommended: boolean;
|
|
7987
|
-
url: string;
|
|
7988
|
-
};
|
|
7989
|
-
messages: {
|
|
7990
|
-
missingRefParameter: string;
|
|
7991
|
-
addRefParameter: string;
|
|
7992
|
-
removeForwardRef: string;
|
|
7993
|
-
};
|
|
7994
|
-
schema: undefined[];
|
|
7995
|
-
type: string;
|
|
7996
|
-
hasSuggestions: boolean;
|
|
7997
|
-
};
|
|
7998
|
-
create(context: any): {
|
|
7999
|
-
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8000
|
-
};
|
|
8001
|
-
};
|
|
8002
|
-
'function-component-definition': eslint.Rule.RuleModule;
|
|
8003
|
-
'hook-use-state': eslint.Rule.RuleModule;
|
|
8004
|
-
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
8005
|
-
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
8006
|
-
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
8007
|
-
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
8008
|
-
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
8009
|
-
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
8010
|
-
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
8011
|
-
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
8012
|
-
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
8013
|
-
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
8014
|
-
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
8015
|
-
'jsx-indent': eslint.Rule.RuleModule;
|
|
8016
|
-
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
8017
|
-
'jsx-key': eslint.Rule.RuleModule;
|
|
8018
|
-
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
8019
|
-
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
8020
|
-
'jsx-newline': eslint.Rule.RuleModule;
|
|
8021
|
-
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
8022
|
-
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
8023
|
-
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
8024
|
-
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
8025
|
-
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
8026
|
-
'jsx-no-literals': {
|
|
8027
|
-
meta: eslint.Rule.RuleMetaData;
|
|
8028
|
-
create(context: any): (false & {
|
|
8029
|
-
Literal(node: any): void;
|
|
8030
|
-
JSXAttribute(node: any): void;
|
|
8031
|
-
JSXText(node: any): void;
|
|
8032
|
-
TemplateLiteral(node: any): void;
|
|
8033
|
-
}) | ({
|
|
8034
|
-
ImportDeclaration(node: any): void;
|
|
8035
|
-
VariableDeclaration(node: any): void;
|
|
8036
|
-
} & {
|
|
8037
|
-
Literal(node: any): void;
|
|
8038
|
-
JSXAttribute(node: any): void;
|
|
8039
|
-
JSXText(node: any): void;
|
|
8040
|
-
TemplateLiteral(node: any): void;
|
|
8041
|
-
});
|
|
8042
|
-
};
|
|
8043
|
-
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
8044
|
-
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
8045
|
-
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
8046
|
-
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
8047
|
-
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
8048
|
-
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
8049
|
-
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
8050
|
-
'jsx-fragments': eslint.Rule.RuleModule;
|
|
8051
|
-
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
8052
|
-
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
8053
|
-
'jsx-props-no-spread-multi': {
|
|
8054
|
-
meta: {
|
|
8055
|
-
docs: {
|
|
8056
|
-
description: string;
|
|
8057
|
-
category: string;
|
|
8058
|
-
recommended: boolean;
|
|
8059
|
-
url: string;
|
|
8060
|
-
};
|
|
8061
|
-
messages: {
|
|
8062
|
-
noMultiSpreading: string;
|
|
8063
|
-
};
|
|
8064
|
-
};
|
|
8065
|
-
create(context: any): {
|
|
8066
|
-
JSXOpeningElement(node: any): void;
|
|
8067
|
-
};
|
|
8068
|
-
};
|
|
8069
|
-
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
8070
|
-
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
8071
|
-
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
8072
|
-
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
8073
|
-
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
8074
|
-
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
8075
|
-
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
8076
|
-
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
8077
|
-
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
8078
|
-
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
8079
|
-
'no-array-index-key': eslint.Rule.RuleModule;
|
|
8080
|
-
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
8081
|
-
'no-children-prop': eslint.Rule.RuleModule;
|
|
8082
|
-
'no-danger': eslint.Rule.RuleModule;
|
|
8083
|
-
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
8084
|
-
'no-deprecated': eslint.Rule.RuleModule;
|
|
8085
|
-
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
8086
|
-
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
8087
|
-
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
8088
|
-
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
8089
|
-
'no-is-mounted': eslint.Rule.RuleModule;
|
|
8090
|
-
'no-multi-comp': eslint.Rule.RuleModule;
|
|
8091
|
-
'no-namespace': eslint.Rule.RuleModule;
|
|
8092
|
-
'no-set-state': eslint.Rule.RuleModule;
|
|
8093
|
-
'no-string-refs': eslint.Rule.RuleModule;
|
|
8094
|
-
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
8095
|
-
'no-render-return-value': eslint.Rule.RuleModule;
|
|
8096
|
-
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
8097
|
-
'no-typos': eslint.Rule.RuleModule;
|
|
8098
|
-
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
8099
|
-
'no-unknown-property': eslint.Rule.RuleModule;
|
|
8100
|
-
'no-unsafe': eslint.Rule.RuleModule;
|
|
8101
|
-
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
8102
|
-
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
8103
|
-
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
8104
|
-
'no-unused-state': eslint.Rule.RuleModule;
|
|
8105
|
-
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
8106
|
-
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
8107
|
-
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
8108
|
-
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
8109
|
-
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
8110
|
-
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
8111
|
-
'prop-types': eslint.Rule.RuleModule;
|
|
8112
|
-
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
8113
|
-
'require-default-props': eslint.Rule.RuleModule;
|
|
8114
|
-
'require-optimization': eslint.Rule.RuleModule;
|
|
8115
|
-
'require-render-return': eslint.Rule.RuleModule;
|
|
8116
|
-
'self-closing-comp': eslint.Rule.RuleModule;
|
|
8117
|
-
'sort-comp': eslint.Rule.RuleModule;
|
|
8118
|
-
'sort-default-props': eslint.Rule.RuleModule;
|
|
8119
|
-
'sort-prop-types': eslint.Rule.RuleModule;
|
|
8120
|
-
'state-in-constructor': eslint.Rule.RuleModule;
|
|
8121
|
-
'static-property-placement': eslint.Rule.RuleModule;
|
|
8122
|
-
'style-prop-object': eslint.Rule.RuleModule;
|
|
8123
|
-
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
8124
|
-
}>;
|
|
8125
|
-
rules: {
|
|
8126
|
-
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
8127
|
-
'button-has-type': eslint.Rule.RuleModule;
|
|
8128
|
-
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
8129
|
-
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
8130
|
-
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
8131
|
-
'display-name': eslint.Rule.RuleModule;
|
|
8132
|
-
'forbid-component-props': eslint.Rule.RuleModule;
|
|
8133
|
-
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
8134
|
-
'forbid-elements': eslint.Rule.RuleModule;
|
|
8135
|
-
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
8136
|
-
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
8137
|
-
'forward-ref-uses-ref': {
|
|
8138
|
-
meta: {
|
|
8139
|
-
docs: {
|
|
8140
|
-
description: string;
|
|
8141
|
-
category: string;
|
|
8142
|
-
recommended: boolean;
|
|
8143
|
-
url: string;
|
|
8144
|
-
};
|
|
8145
|
-
messages: {
|
|
8146
|
-
missingRefParameter: string;
|
|
8147
|
-
addRefParameter: string;
|
|
8148
|
-
removeForwardRef: string;
|
|
8149
|
-
};
|
|
8150
|
-
schema: undefined[];
|
|
8151
|
-
type: string;
|
|
8152
|
-
hasSuggestions: boolean;
|
|
8153
|
-
};
|
|
8154
|
-
create(context: any): {
|
|
8155
|
-
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
8156
|
-
};
|
|
8157
|
-
};
|
|
8158
|
-
'function-component-definition': eslint.Rule.RuleModule;
|
|
8159
|
-
'hook-use-state': eslint.Rule.RuleModule;
|
|
8160
|
-
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
8161
|
-
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
8162
|
-
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
8163
|
-
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
8164
|
-
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
8165
|
-
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
8166
|
-
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
8167
|
-
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
8168
|
-
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
8169
|
-
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
8170
|
-
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
8171
|
-
'jsx-indent': eslint.Rule.RuleModule;
|
|
8172
|
-
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
8173
|
-
'jsx-key': eslint.Rule.RuleModule;
|
|
8174
|
-
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
8175
|
-
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
8176
|
-
'jsx-newline': eslint.Rule.RuleModule;
|
|
8177
|
-
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
8178
|
-
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
8179
|
-
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
8180
|
-
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
8181
|
-
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
8182
|
-
'jsx-no-literals': {
|
|
8183
|
-
meta: eslint.Rule.RuleMetaData;
|
|
8184
|
-
create(context: any): (false & {
|
|
8185
|
-
Literal(node: any): void;
|
|
8186
|
-
JSXAttribute(node: any): void;
|
|
8187
|
-
JSXText(node: any): void;
|
|
8188
|
-
TemplateLiteral(node: any): void;
|
|
8189
|
-
}) | ({
|
|
8190
|
-
ImportDeclaration(node: any): void;
|
|
8191
|
-
VariableDeclaration(node: any): void;
|
|
8192
|
-
} & {
|
|
8193
|
-
Literal(node: any): void;
|
|
8194
|
-
JSXAttribute(node: any): void;
|
|
8195
|
-
JSXText(node: any): void;
|
|
8196
|
-
TemplateLiteral(node: any): void;
|
|
8197
|
-
});
|
|
8198
|
-
};
|
|
8199
|
-
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
8200
|
-
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
8201
|
-
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
8202
|
-
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
8203
|
-
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
8204
|
-
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
8205
|
-
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
8206
|
-
'jsx-fragments': eslint.Rule.RuleModule;
|
|
8207
|
-
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
8208
|
-
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
8209
|
-
'jsx-props-no-spread-multi': {
|
|
8210
|
-
meta: {
|
|
8211
|
-
docs: {
|
|
8212
|
-
description: string;
|
|
8213
|
-
category: string;
|
|
8214
|
-
recommended: boolean;
|
|
8215
|
-
url: string;
|
|
8216
|
-
};
|
|
8217
|
-
messages: {
|
|
8218
|
-
noMultiSpreading: string;
|
|
8219
|
-
};
|
|
8220
|
-
};
|
|
8221
|
-
create(context: any): {
|
|
8222
|
-
JSXOpeningElement(node: any): void;
|
|
8223
|
-
};
|
|
8224
|
-
};
|
|
8225
|
-
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
8226
|
-
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
8227
|
-
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
8228
|
-
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
8229
|
-
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
8230
|
-
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
8231
|
-
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
8232
|
-
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
8233
|
-
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
8234
|
-
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
8235
|
-
'no-array-index-key': eslint.Rule.RuleModule;
|
|
8236
|
-
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
8237
|
-
'no-children-prop': eslint.Rule.RuleModule;
|
|
8238
|
-
'no-danger': eslint.Rule.RuleModule;
|
|
8239
|
-
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
8240
|
-
'no-deprecated': eslint.Rule.RuleModule;
|
|
8241
|
-
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
8242
|
-
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
8243
|
-
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
8244
|
-
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
8245
|
-
'no-is-mounted': eslint.Rule.RuleModule;
|
|
8246
|
-
'no-multi-comp': eslint.Rule.RuleModule;
|
|
8247
|
-
'no-namespace': eslint.Rule.RuleModule;
|
|
8248
|
-
'no-set-state': eslint.Rule.RuleModule;
|
|
8249
|
-
'no-string-refs': eslint.Rule.RuleModule;
|
|
8250
|
-
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
8251
|
-
'no-render-return-value': eslint.Rule.RuleModule;
|
|
8252
|
-
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
8253
|
-
'no-typos': eslint.Rule.RuleModule;
|
|
8254
|
-
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
8255
|
-
'no-unknown-property': eslint.Rule.RuleModule;
|
|
8256
|
-
'no-unsafe': eslint.Rule.RuleModule;
|
|
8257
|
-
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
8258
|
-
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
8259
|
-
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
8260
|
-
'no-unused-state': eslint.Rule.RuleModule;
|
|
8261
|
-
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
8262
|
-
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
8263
|
-
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
8264
|
-
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
8265
|
-
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
8266
|
-
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
8267
|
-
'prop-types': eslint.Rule.RuleModule;
|
|
8268
|
-
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
8269
|
-
'require-default-props': eslint.Rule.RuleModule;
|
|
8270
|
-
'require-optimization': eslint.Rule.RuleModule;
|
|
8271
|
-
'require-render-return': eslint.Rule.RuleModule;
|
|
8272
|
-
'self-closing-comp': eslint.Rule.RuleModule;
|
|
8273
|
-
'sort-comp': eslint.Rule.RuleModule;
|
|
8274
|
-
'sort-default-props': eslint.Rule.RuleModule;
|
|
8275
|
-
'sort-prop-types': eslint.Rule.RuleModule;
|
|
8276
|
-
'state-in-constructor': eslint.Rule.RuleModule;
|
|
8277
|
-
'static-property-placement': eslint.Rule.RuleModule;
|
|
8278
|
-
'style-prop-object': eslint.Rule.RuleModule;
|
|
8279
|
-
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
8280
|
-
};
|
|
8281
|
-
configs: {
|
|
8282
|
-
recommended: {
|
|
8283
|
-
plugins: ["react"];
|
|
8284
|
-
parserOptions: {
|
|
8285
|
-
ecmaFeatures: {
|
|
8286
|
-
jsx: boolean;
|
|
8287
|
-
};
|
|
8288
|
-
};
|
|
8289
|
-
rules: {
|
|
8290
|
-
"react/display-name": number;
|
|
8291
|
-
"react/jsx-key": number;
|
|
8292
|
-
"react/jsx-no-comment-textnodes": number;
|
|
8293
|
-
"react/jsx-no-duplicate-props": number;
|
|
8294
|
-
"react/jsx-no-target-blank": number;
|
|
8295
|
-
"react/jsx-no-undef": number;
|
|
8296
|
-
"react/jsx-uses-react": number;
|
|
8297
|
-
"react/jsx-uses-vars": number;
|
|
8298
|
-
"react/no-children-prop": number;
|
|
8299
|
-
"react/no-danger-with-children": number;
|
|
8300
|
-
"react/no-deprecated": number;
|
|
8301
|
-
"react/no-direct-mutation-state": number;
|
|
8302
|
-
"react/no-find-dom-node": number;
|
|
8303
|
-
"react/no-is-mounted": number;
|
|
8304
|
-
"react/no-render-return-value": number;
|
|
8305
|
-
"react/no-string-refs": number;
|
|
8306
|
-
"react/no-unescaped-entities": number;
|
|
8307
|
-
"react/no-unknown-property": number;
|
|
8308
|
-
"react/no-unsafe": number;
|
|
8309
|
-
"react/prop-types": number;
|
|
8310
|
-
"react/react-in-jsx-scope": number;
|
|
8311
|
-
"react/require-render-return": number;
|
|
8312
|
-
};
|
|
8313
|
-
};
|
|
8314
|
-
all: {
|
|
8315
|
-
plugins: ["react"];
|
|
8316
|
-
parserOptions: {
|
|
8317
|
-
ecmaFeatures: {
|
|
8318
|
-
jsx: boolean;
|
|
8319
|
-
};
|
|
8320
|
-
};
|
|
8321
|
-
rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
|
|
8322
|
-
};
|
|
8323
|
-
'jsx-runtime': {
|
|
8324
|
-
plugins: ["react"];
|
|
8325
|
-
parserOptions: {
|
|
8326
|
-
ecmaFeatures: {
|
|
8327
|
-
jsx: boolean;
|
|
8328
|
-
};
|
|
8329
|
-
jsxPragma: any;
|
|
8330
|
-
};
|
|
8331
|
-
rules: {
|
|
8332
|
-
"react/react-in-jsx-scope": number;
|
|
8333
|
-
"react/jsx-uses-react": number;
|
|
8334
|
-
};
|
|
8335
|
-
};
|
|
8336
|
-
} & {
|
|
8337
|
-
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
8338
|
-
};
|
|
8492
|
+
"import-x/no-empty-named-blocks": "error";
|
|
8493
|
+
"import-x/no-self-import": "error";
|
|
8494
|
+
"import-x/no-useless-path-segments": "error";
|
|
8495
|
+
"node-import/prefer-node-protocol": "error";
|
|
8496
|
+
'import-x/no-unresolved': "error";
|
|
8497
|
+
'import-x/named': "error";
|
|
8498
|
+
'import-x/default': "error";
|
|
8499
|
+
'import-x/export': "error";
|
|
8500
|
+
'import-x/no-named-as-default': "warn";
|
|
8501
|
+
'import-x/no-named-as-default-member': "warn";
|
|
8502
|
+
'import-x/no-duplicates': "warn";
|
|
8503
|
+
};
|
|
8504
|
+
settings: {
|
|
8505
|
+
"import-x/parsers": {
|
|
8506
|
+
espree: string[];
|
|
8339
8507
|
};
|
|
8340
|
-
"react-hooks": typeof eslint_plugin_react_hooks;
|
|
8341
|
-
"jsx-a11y": typeof eslint_plugin_jsx_a11y;
|
|
8342
|
-
"react-refresh": typeof eslint_plugin_react_refresh;
|
|
8343
|
-
"@tanstack/query"?: undefined;
|
|
8344
8508
|
};
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8509
|
+
} | {
|
|
8510
|
+
name: string;
|
|
8511
|
+
plugins: {
|
|
8512
|
+
perfectionist: eslint.ESLint.Plugin;
|
|
8513
|
+
};
|
|
8514
|
+
rules: {
|
|
8515
|
+
"perfectionist/sort-imports": ["error", {
|
|
8516
|
+
customGroups: {
|
|
8517
|
+
type: {};
|
|
8518
|
+
value: {};
|
|
8350
8519
|
};
|
|
8351
|
-
|
|
8520
|
+
environment: "node";
|
|
8521
|
+
groups: (string | string[])[];
|
|
8522
|
+
order: "asc";
|
|
8523
|
+
type: "natural";
|
|
8524
|
+
}];
|
|
8525
|
+
};
|
|
8526
|
+
} | {
|
|
8527
|
+
files: string[];
|
|
8528
|
+
languageOptions: {
|
|
8352
8529
|
globals: {
|
|
8353
8530
|
AbortController: false;
|
|
8354
8531
|
AbortSignal: false;
|
|
@@ -9475,47 +9652,399 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9475
9652
|
XRWebGLLayer: false;
|
|
9476
9653
|
XSLTProcessor: false;
|
|
9477
9654
|
};
|
|
9655
|
+
parserOptions: {
|
|
9656
|
+
ecmaFeatures: {
|
|
9657
|
+
jsx: true;
|
|
9658
|
+
};
|
|
9659
|
+
jsxPragma: null;
|
|
9660
|
+
};
|
|
9478
9661
|
};
|
|
9479
|
-
|
|
9662
|
+
name: string;
|
|
9663
|
+
plugins: {
|
|
9664
|
+
"jsx-a11y": typeof eslint_plugin_jsx_a11y;
|
|
9480
9665
|
react: {
|
|
9481
|
-
|
|
9666
|
+
deprecatedRules: Partial<{
|
|
9667
|
+
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
9668
|
+
'button-has-type': eslint.Rule.RuleModule;
|
|
9669
|
+
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
9670
|
+
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
9671
|
+
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
9672
|
+
'display-name': eslint.Rule.RuleModule;
|
|
9673
|
+
'forbid-component-props': eslint.Rule.RuleModule;
|
|
9674
|
+
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
9675
|
+
'forbid-elements': eslint.Rule.RuleModule;
|
|
9676
|
+
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
9677
|
+
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
9678
|
+
'forward-ref-uses-ref': {
|
|
9679
|
+
meta: {
|
|
9680
|
+
docs: {
|
|
9681
|
+
description: string;
|
|
9682
|
+
category: string;
|
|
9683
|
+
recommended: boolean;
|
|
9684
|
+
url: string;
|
|
9685
|
+
};
|
|
9686
|
+
messages: {
|
|
9687
|
+
missingRefParameter: string;
|
|
9688
|
+
addRefParameter: string;
|
|
9689
|
+
removeForwardRef: string;
|
|
9690
|
+
};
|
|
9691
|
+
schema: undefined[];
|
|
9692
|
+
type: string;
|
|
9693
|
+
hasSuggestions: boolean;
|
|
9694
|
+
};
|
|
9695
|
+
create(context: any): {
|
|
9696
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
9697
|
+
};
|
|
9698
|
+
};
|
|
9699
|
+
'function-component-definition': eslint.Rule.RuleModule;
|
|
9700
|
+
'hook-use-state': eslint.Rule.RuleModule;
|
|
9701
|
+
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
9702
|
+
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
9703
|
+
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
9704
|
+
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
9705
|
+
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
9706
|
+
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
9707
|
+
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
9708
|
+
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
9709
|
+
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
9710
|
+
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
9711
|
+
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
9712
|
+
'jsx-indent': eslint.Rule.RuleModule;
|
|
9713
|
+
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
9714
|
+
'jsx-key': eslint.Rule.RuleModule;
|
|
9715
|
+
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
9716
|
+
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
9717
|
+
'jsx-newline': eslint.Rule.RuleModule;
|
|
9718
|
+
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
9719
|
+
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
9720
|
+
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
9721
|
+
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
9722
|
+
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
9723
|
+
'jsx-no-literals': {
|
|
9724
|
+
meta: eslint.Rule.RuleMetaData;
|
|
9725
|
+
create(context: any): (false & {
|
|
9726
|
+
Literal(node: any): void;
|
|
9727
|
+
JSXAttribute(node: any): void;
|
|
9728
|
+
JSXText(node: any): void;
|
|
9729
|
+
TemplateLiteral(node: any): void;
|
|
9730
|
+
}) | ({
|
|
9731
|
+
ImportDeclaration(node: any): void;
|
|
9732
|
+
VariableDeclaration(node: any): void;
|
|
9733
|
+
} & {
|
|
9734
|
+
Literal(node: any): void;
|
|
9735
|
+
JSXAttribute(node: any): void;
|
|
9736
|
+
JSXText(node: any): void;
|
|
9737
|
+
TemplateLiteral(node: any): void;
|
|
9738
|
+
});
|
|
9739
|
+
};
|
|
9740
|
+
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
9741
|
+
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
9742
|
+
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
9743
|
+
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
9744
|
+
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
9745
|
+
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
9746
|
+
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
9747
|
+
'jsx-fragments': eslint.Rule.RuleModule;
|
|
9748
|
+
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
9749
|
+
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
9750
|
+
'jsx-props-no-spread-multi': {
|
|
9751
|
+
meta: {
|
|
9752
|
+
docs: {
|
|
9753
|
+
description: string;
|
|
9754
|
+
category: string;
|
|
9755
|
+
recommended: boolean;
|
|
9756
|
+
url: string;
|
|
9757
|
+
};
|
|
9758
|
+
messages: {
|
|
9759
|
+
noMultiSpreading: string;
|
|
9760
|
+
};
|
|
9761
|
+
};
|
|
9762
|
+
create(context: any): {
|
|
9763
|
+
JSXOpeningElement(node: any): void;
|
|
9764
|
+
};
|
|
9765
|
+
};
|
|
9766
|
+
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
9767
|
+
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
9768
|
+
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
9769
|
+
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
9770
|
+
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
9771
|
+
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
9772
|
+
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
9773
|
+
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
9774
|
+
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
9775
|
+
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
9776
|
+
'no-array-index-key': eslint.Rule.RuleModule;
|
|
9777
|
+
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
9778
|
+
'no-children-prop': eslint.Rule.RuleModule;
|
|
9779
|
+
'no-danger': eslint.Rule.RuleModule;
|
|
9780
|
+
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
9781
|
+
'no-deprecated': eslint.Rule.RuleModule;
|
|
9782
|
+
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
9783
|
+
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
9784
|
+
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
9785
|
+
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
9786
|
+
'no-is-mounted': eslint.Rule.RuleModule;
|
|
9787
|
+
'no-multi-comp': eslint.Rule.RuleModule;
|
|
9788
|
+
'no-namespace': eslint.Rule.RuleModule;
|
|
9789
|
+
'no-set-state': eslint.Rule.RuleModule;
|
|
9790
|
+
'no-string-refs': eslint.Rule.RuleModule;
|
|
9791
|
+
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
9792
|
+
'no-render-return-value': eslint.Rule.RuleModule;
|
|
9793
|
+
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
9794
|
+
'no-typos': eslint.Rule.RuleModule;
|
|
9795
|
+
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
9796
|
+
'no-unknown-property': eslint.Rule.RuleModule;
|
|
9797
|
+
'no-unsafe': eslint.Rule.RuleModule;
|
|
9798
|
+
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
9799
|
+
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
9800
|
+
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
9801
|
+
'no-unused-state': eslint.Rule.RuleModule;
|
|
9802
|
+
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
9803
|
+
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
9804
|
+
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
9805
|
+
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
9806
|
+
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
9807
|
+
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
9808
|
+
'prop-types': eslint.Rule.RuleModule;
|
|
9809
|
+
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
9810
|
+
'require-default-props': eslint.Rule.RuleModule;
|
|
9811
|
+
'require-optimization': eslint.Rule.RuleModule;
|
|
9812
|
+
'require-render-return': eslint.Rule.RuleModule;
|
|
9813
|
+
'self-closing-comp': eslint.Rule.RuleModule;
|
|
9814
|
+
'sort-comp': eslint.Rule.RuleModule;
|
|
9815
|
+
'sort-default-props': eslint.Rule.RuleModule;
|
|
9816
|
+
'sort-prop-types': eslint.Rule.RuleModule;
|
|
9817
|
+
'state-in-constructor': eslint.Rule.RuleModule;
|
|
9818
|
+
'static-property-placement': eslint.Rule.RuleModule;
|
|
9819
|
+
'style-prop-object': eslint.Rule.RuleModule;
|
|
9820
|
+
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
9821
|
+
}>;
|
|
9822
|
+
rules: {
|
|
9823
|
+
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
9824
|
+
'button-has-type': eslint.Rule.RuleModule;
|
|
9825
|
+
'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
|
|
9826
|
+
'default-props-match-prop-types': eslint.Rule.RuleModule;
|
|
9827
|
+
'destructuring-assignment': eslint.Rule.RuleModule;
|
|
9828
|
+
'display-name': eslint.Rule.RuleModule;
|
|
9829
|
+
'forbid-component-props': eslint.Rule.RuleModule;
|
|
9830
|
+
'forbid-dom-props': eslint.Rule.RuleModule;
|
|
9831
|
+
'forbid-elements': eslint.Rule.RuleModule;
|
|
9832
|
+
'forbid-foreign-prop-types': eslint.Rule.RuleModule;
|
|
9833
|
+
'forbid-prop-types': eslint.Rule.RuleModule;
|
|
9834
|
+
'forward-ref-uses-ref': {
|
|
9835
|
+
meta: {
|
|
9836
|
+
docs: {
|
|
9837
|
+
description: string;
|
|
9838
|
+
category: string;
|
|
9839
|
+
recommended: boolean;
|
|
9840
|
+
url: string;
|
|
9841
|
+
};
|
|
9842
|
+
messages: {
|
|
9843
|
+
missingRefParameter: string;
|
|
9844
|
+
addRefParameter: string;
|
|
9845
|
+
removeForwardRef: string;
|
|
9846
|
+
};
|
|
9847
|
+
schema: undefined[];
|
|
9848
|
+
type: string;
|
|
9849
|
+
hasSuggestions: boolean;
|
|
9850
|
+
};
|
|
9851
|
+
create(context: any): {
|
|
9852
|
+
"FunctionExpression, ArrowFunctionExpression"(node: any): void;
|
|
9853
|
+
};
|
|
9854
|
+
};
|
|
9855
|
+
'function-component-definition': eslint.Rule.RuleModule;
|
|
9856
|
+
'hook-use-state': eslint.Rule.RuleModule;
|
|
9857
|
+
'iframe-missing-sandbox': eslint.Rule.RuleModule;
|
|
9858
|
+
'jsx-boolean-value': eslint.Rule.RuleModule;
|
|
9859
|
+
'jsx-child-element-spacing': eslint.Rule.RuleModule;
|
|
9860
|
+
'jsx-closing-bracket-location': eslint.Rule.RuleModule;
|
|
9861
|
+
'jsx-closing-tag-location': eslint.Rule.RuleModule;
|
|
9862
|
+
'jsx-curly-spacing': eslint.Rule.RuleModule;
|
|
9863
|
+
'jsx-curly-newline': eslint.Rule.RuleModule;
|
|
9864
|
+
'jsx-equals-spacing': eslint.Rule.RuleModule;
|
|
9865
|
+
'jsx-filename-extension': eslint.Rule.RuleModule;
|
|
9866
|
+
'jsx-first-prop-new-line': eslint.Rule.RuleModule;
|
|
9867
|
+
'jsx-handler-names': eslint.Rule.RuleModule;
|
|
9868
|
+
'jsx-indent': eslint.Rule.RuleModule;
|
|
9869
|
+
'jsx-indent-props': eslint.Rule.RuleModule;
|
|
9870
|
+
'jsx-key': eslint.Rule.RuleModule;
|
|
9871
|
+
'jsx-max-depth': eslint.Rule.RuleModule;
|
|
9872
|
+
'jsx-max-props-per-line': eslint.Rule.RuleModule;
|
|
9873
|
+
'jsx-newline': eslint.Rule.RuleModule;
|
|
9874
|
+
'jsx-no-bind': eslint.Rule.RuleModule;
|
|
9875
|
+
'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
|
|
9876
|
+
'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
|
|
9877
|
+
'jsx-no-duplicate-props': eslint.Rule.RuleModule;
|
|
9878
|
+
'jsx-no-leaked-render': eslint.Rule.RuleModule;
|
|
9879
|
+
'jsx-no-literals': {
|
|
9880
|
+
meta: eslint.Rule.RuleMetaData;
|
|
9881
|
+
create(context: any): (false & {
|
|
9882
|
+
Literal(node: any): void;
|
|
9883
|
+
JSXAttribute(node: any): void;
|
|
9884
|
+
JSXText(node: any): void;
|
|
9885
|
+
TemplateLiteral(node: any): void;
|
|
9886
|
+
}) | ({
|
|
9887
|
+
ImportDeclaration(node: any): void;
|
|
9888
|
+
VariableDeclaration(node: any): void;
|
|
9889
|
+
} & {
|
|
9890
|
+
Literal(node: any): void;
|
|
9891
|
+
JSXAttribute(node: any): void;
|
|
9892
|
+
JSXText(node: any): void;
|
|
9893
|
+
TemplateLiteral(node: any): void;
|
|
9894
|
+
});
|
|
9895
|
+
};
|
|
9896
|
+
'jsx-no-script-url': eslint.Rule.RuleModule;
|
|
9897
|
+
'jsx-no-target-blank': eslint.Rule.RuleModule;
|
|
9898
|
+
'jsx-no-useless-fragment': eslint.Rule.RuleModule;
|
|
9899
|
+
'jsx-one-expression-per-line': eslint.Rule.RuleModule;
|
|
9900
|
+
'jsx-no-undef': eslint.Rule.RuleModule;
|
|
9901
|
+
'jsx-curly-brace-presence': eslint.Rule.RuleModule;
|
|
9902
|
+
'jsx-pascal-case': eslint.Rule.RuleModule;
|
|
9903
|
+
'jsx-fragments': eslint.Rule.RuleModule;
|
|
9904
|
+
'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
|
|
9905
|
+
'jsx-props-no-spreading': eslint.Rule.RuleModule;
|
|
9906
|
+
'jsx-props-no-spread-multi': {
|
|
9907
|
+
meta: {
|
|
9908
|
+
docs: {
|
|
9909
|
+
description: string;
|
|
9910
|
+
category: string;
|
|
9911
|
+
recommended: boolean;
|
|
9912
|
+
url: string;
|
|
9913
|
+
};
|
|
9914
|
+
messages: {
|
|
9915
|
+
noMultiSpreading: string;
|
|
9916
|
+
};
|
|
9917
|
+
};
|
|
9918
|
+
create(context: any): {
|
|
9919
|
+
JSXOpeningElement(node: any): void;
|
|
9920
|
+
};
|
|
9921
|
+
};
|
|
9922
|
+
'jsx-sort-default-props': eslint.Rule.RuleModule;
|
|
9923
|
+
'jsx-sort-props': eslint.Rule.RuleModule;
|
|
9924
|
+
'jsx-space-before-closing': eslint.Rule.RuleModule;
|
|
9925
|
+
'jsx-tag-spacing': eslint.Rule.RuleModule;
|
|
9926
|
+
'jsx-uses-react': eslint.Rule.RuleModule;
|
|
9927
|
+
'jsx-uses-vars': eslint.Rule.RuleModule;
|
|
9928
|
+
'jsx-wrap-multilines': eslint.Rule.RuleModule;
|
|
9929
|
+
'no-invalid-html-attribute': eslint.Rule.RuleModule;
|
|
9930
|
+
'no-access-state-in-setstate': eslint.Rule.RuleModule;
|
|
9931
|
+
'no-adjacent-inline-elements': eslint.Rule.RuleModule;
|
|
9932
|
+
'no-array-index-key': eslint.Rule.RuleModule;
|
|
9933
|
+
'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
|
|
9934
|
+
'no-children-prop': eslint.Rule.RuleModule;
|
|
9935
|
+
'no-danger': eslint.Rule.RuleModule;
|
|
9936
|
+
'no-danger-with-children': eslint.Rule.RuleModule;
|
|
9937
|
+
'no-deprecated': eslint.Rule.RuleModule;
|
|
9938
|
+
'no-did-mount-set-state': eslint.Rule.RuleModule;
|
|
9939
|
+
'no-did-update-set-state': eslint.Rule.RuleModule;
|
|
9940
|
+
'no-direct-mutation-state': eslint.Rule.RuleModule;
|
|
9941
|
+
'no-find-dom-node': eslint.Rule.RuleModule;
|
|
9942
|
+
'no-is-mounted': eslint.Rule.RuleModule;
|
|
9943
|
+
'no-multi-comp': eslint.Rule.RuleModule;
|
|
9944
|
+
'no-namespace': eslint.Rule.RuleModule;
|
|
9945
|
+
'no-set-state': eslint.Rule.RuleModule;
|
|
9946
|
+
'no-string-refs': eslint.Rule.RuleModule;
|
|
9947
|
+
'no-redundant-should-component-update': eslint.Rule.RuleModule;
|
|
9948
|
+
'no-render-return-value': eslint.Rule.RuleModule;
|
|
9949
|
+
'no-this-in-sfc': eslint.Rule.RuleModule;
|
|
9950
|
+
'no-typos': eslint.Rule.RuleModule;
|
|
9951
|
+
'no-unescaped-entities': eslint.Rule.RuleModule;
|
|
9952
|
+
'no-unknown-property': eslint.Rule.RuleModule;
|
|
9953
|
+
'no-unsafe': eslint.Rule.RuleModule;
|
|
9954
|
+
'no-unstable-nested-components': eslint.Rule.RuleModule;
|
|
9955
|
+
'no-unused-class-component-methods': eslint.Rule.RuleModule;
|
|
9956
|
+
'no-unused-prop-types': eslint.Rule.RuleModule;
|
|
9957
|
+
'no-unused-state': eslint.Rule.RuleModule;
|
|
9958
|
+
'no-object-type-as-default-prop': eslint.Rule.RuleModule;
|
|
9959
|
+
'no-will-update-set-state': eslint.Rule.RuleModule;
|
|
9960
|
+
'prefer-es6-class': eslint.Rule.RuleModule;
|
|
9961
|
+
'prefer-exact-props': eslint.Rule.RuleModule;
|
|
9962
|
+
'prefer-read-only-props': eslint.Rule.RuleModule;
|
|
9963
|
+
'prefer-stateless-function': eslint.Rule.RuleModule;
|
|
9964
|
+
'prop-types': eslint.Rule.RuleModule;
|
|
9965
|
+
'react-in-jsx-scope': eslint.Rule.RuleModule;
|
|
9966
|
+
'require-default-props': eslint.Rule.RuleModule;
|
|
9967
|
+
'require-optimization': eslint.Rule.RuleModule;
|
|
9968
|
+
'require-render-return': eslint.Rule.RuleModule;
|
|
9969
|
+
'self-closing-comp': eslint.Rule.RuleModule;
|
|
9970
|
+
'sort-comp': eslint.Rule.RuleModule;
|
|
9971
|
+
'sort-default-props': eslint.Rule.RuleModule;
|
|
9972
|
+
'sort-prop-types': eslint.Rule.RuleModule;
|
|
9973
|
+
'state-in-constructor': eslint.Rule.RuleModule;
|
|
9974
|
+
'static-property-placement': eslint.Rule.RuleModule;
|
|
9975
|
+
'style-prop-object': eslint.Rule.RuleModule;
|
|
9976
|
+
'void-dom-elements-no-children': eslint.Rule.RuleModule;
|
|
9977
|
+
};
|
|
9978
|
+
configs: {
|
|
9979
|
+
recommended: {
|
|
9980
|
+
plugins: ["react"];
|
|
9981
|
+
parserOptions: {
|
|
9982
|
+
ecmaFeatures: {
|
|
9983
|
+
jsx: boolean;
|
|
9984
|
+
};
|
|
9985
|
+
};
|
|
9986
|
+
rules: {
|
|
9987
|
+
"react/display-name": number;
|
|
9988
|
+
"react/jsx-key": number;
|
|
9989
|
+
"react/jsx-no-comment-textnodes": number;
|
|
9990
|
+
"react/jsx-no-duplicate-props": number;
|
|
9991
|
+
"react/jsx-no-target-blank": number;
|
|
9992
|
+
"react/jsx-no-undef": number;
|
|
9993
|
+
"react/jsx-uses-react": number;
|
|
9994
|
+
"react/jsx-uses-vars": number;
|
|
9995
|
+
"react/no-children-prop": number;
|
|
9996
|
+
"react/no-danger-with-children": number;
|
|
9997
|
+
"react/no-deprecated": number;
|
|
9998
|
+
"react/no-direct-mutation-state": number;
|
|
9999
|
+
"react/no-find-dom-node": number;
|
|
10000
|
+
"react/no-is-mounted": number;
|
|
10001
|
+
"react/no-render-return-value": number;
|
|
10002
|
+
"react/no-string-refs": number;
|
|
10003
|
+
"react/no-unescaped-entities": number;
|
|
10004
|
+
"react/no-unknown-property": number;
|
|
10005
|
+
"react/no-unsafe": number;
|
|
10006
|
+
"react/prop-types": number;
|
|
10007
|
+
"react/react-in-jsx-scope": number;
|
|
10008
|
+
"react/require-render-return": number;
|
|
10009
|
+
};
|
|
10010
|
+
};
|
|
10011
|
+
all: {
|
|
10012
|
+
plugins: ["react"];
|
|
10013
|
+
parserOptions: {
|
|
10014
|
+
ecmaFeatures: {
|
|
10015
|
+
jsx: boolean;
|
|
10016
|
+
};
|
|
10017
|
+
};
|
|
10018
|
+
rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
|
|
10019
|
+
};
|
|
10020
|
+
'jsx-runtime': {
|
|
10021
|
+
plugins: ["react"];
|
|
10022
|
+
parserOptions: {
|
|
10023
|
+
ecmaFeatures: {
|
|
10024
|
+
jsx: boolean;
|
|
10025
|
+
};
|
|
10026
|
+
jsxPragma: any;
|
|
10027
|
+
};
|
|
10028
|
+
rules: {
|
|
10029
|
+
"react/react-in-jsx-scope": number;
|
|
10030
|
+
"react/jsx-uses-react": number;
|
|
10031
|
+
};
|
|
10032
|
+
};
|
|
10033
|
+
} & {
|
|
10034
|
+
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
10035
|
+
};
|
|
9482
10036
|
};
|
|
10037
|
+
"react-hooks": typeof eslint_plugin_react_hooks;
|
|
10038
|
+
"react-refresh": typeof eslint_plugin_react_refresh;
|
|
10039
|
+
"@tanstack/query"?: undefined;
|
|
9483
10040
|
};
|
|
9484
10041
|
rules: {
|
|
9485
|
-
"react-hooks/exhaustive-deps": "error";
|
|
9486
|
-
"react-hooks/rules-of-hooks": "error";
|
|
9487
|
-
"react/display-name": "error";
|
|
9488
|
-
"react/jsx-key": "error";
|
|
9489
|
-
"react/jsx-no-comment-textnodes": "error";
|
|
9490
|
-
"react/jsx-no-duplicate-props": "error";
|
|
9491
|
-
"react/jsx-no-target-blank": "error";
|
|
9492
|
-
"react/jsx-no-undef": "error";
|
|
9493
|
-
"react/jsx-uses-vars": "error";
|
|
9494
|
-
"react/no-children-prop": "error";
|
|
9495
|
-
"react/no-danger-with-children": "error";
|
|
9496
|
-
"react/no-deprecated": "error";
|
|
9497
|
-
"react/no-direct-mutation-state": "error";
|
|
9498
|
-
"react/no-find-dom-node": "error";
|
|
9499
|
-
"react/no-is-mounted": "error";
|
|
9500
|
-
"react/no-render-return-value": "error";
|
|
9501
|
-
"react/no-string-refs": "error";
|
|
9502
|
-
"react/no-unescaped-entities": "error";
|
|
9503
|
-
"react/no-unknown-property": "error";
|
|
9504
|
-
"react/no-unsafe": "off";
|
|
9505
|
-
"react/prop-types": "error";
|
|
9506
|
-
"react/require-render-return": "error";
|
|
9507
|
-
"react/react-in-jsx-scope": "off";
|
|
9508
|
-
"react/jsx-uses-react": "off";
|
|
9509
|
-
"react-refresh/only-export-components": ["warn", {
|
|
9510
|
-
allowConstantExport: true;
|
|
9511
|
-
}];
|
|
9512
|
-
"react/self-closing-comp": "error";
|
|
9513
|
-
"react/jsx-curly-brace-presence": "error";
|
|
9514
10042
|
"react/boolean-prop-naming": "off";
|
|
9515
10043
|
"react/button-has-type": "error";
|
|
9516
10044
|
"react/checked-requires-onchange-or-readonly": "error";
|
|
9517
10045
|
"react/default-props-match-prop-types": "error";
|
|
9518
10046
|
"react/destructuring-assignment": "off";
|
|
10047
|
+
"react/display-name": "error";
|
|
9519
10048
|
"react/forbid-component-props": "off";
|
|
9520
10049
|
"react/forbid-dom-props": "off";
|
|
9521
10050
|
"react/forbid-elements": "off";
|
|
@@ -9525,15 +10054,21 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9525
10054
|
"react/hook-use-state": "error";
|
|
9526
10055
|
"react/iframe-missing-sandbox": "error";
|
|
9527
10056
|
"react/jsx-boolean-value": ["error", "never"];
|
|
10057
|
+
"react/jsx-curly-brace-presence": "error";
|
|
9528
10058
|
"react/jsx-filename-extension": "off";
|
|
9529
10059
|
"react/jsx-fragments": ["error", "syntax"];
|
|
9530
10060
|
"react/jsx-handler-names": "off";
|
|
10061
|
+
"react/jsx-key": "error";
|
|
9531
10062
|
"react/jsx-max-depth": "off";
|
|
9532
10063
|
"react/jsx-no-bind": "off";
|
|
10064
|
+
"react/jsx-no-comment-textnodes": "error";
|
|
9533
10065
|
"react/jsx-no-constructed-context-values": "error";
|
|
10066
|
+
"react/jsx-no-duplicate-props": "error";
|
|
9534
10067
|
"react/jsx-no-leaked-render": "error";
|
|
9535
10068
|
"react/jsx-no-literals": "off";
|
|
9536
10069
|
"react/jsx-no-script-url": "error";
|
|
10070
|
+
"react/jsx-no-target-blank": "error";
|
|
10071
|
+
"react/jsx-no-undef": "error";
|
|
9537
10072
|
"react/jsx-no-useless-fragment": "error";
|
|
9538
10073
|
"react/jsx-one-expression-per-line": "off";
|
|
9539
10074
|
"react/jsx-pascal-case": ["error", {
|
|
@@ -9542,21 +10077,34 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9542
10077
|
"react/jsx-props-no-spreading": "off";
|
|
9543
10078
|
"react/jsx-sort-default-props": "off";
|
|
9544
10079
|
"react/jsx-sort-props": "off";
|
|
10080
|
+
"react/jsx-uses-react": "off";
|
|
10081
|
+
"react/jsx-uses-vars": "error";
|
|
9545
10082
|
"react/no-access-state-in-setstate": "error";
|
|
9546
10083
|
"react/no-adjacent-inline-elements": "off";
|
|
9547
10084
|
"react/no-array-index-key": "off";
|
|
9548
10085
|
"react/no-arrow-function-lifecycle": "error";
|
|
10086
|
+
"react/no-children-prop": "error";
|
|
9549
10087
|
"react/no-danger": "off";
|
|
10088
|
+
"react/no-danger-with-children": "error";
|
|
10089
|
+
"react/no-deprecated": "error";
|
|
9550
10090
|
"react/no-did-mount-set-state": "error";
|
|
9551
10091
|
"react/no-did-update-set-state": "error";
|
|
10092
|
+
"react/no-direct-mutation-state": "error";
|
|
10093
|
+
"react/no-find-dom-node": "error";
|
|
9552
10094
|
"react/no-invalid-html-attribute": "error";
|
|
10095
|
+
"react/no-is-mounted": "error";
|
|
9553
10096
|
"react/no-multi-comp": "off";
|
|
9554
10097
|
"react/no-namespace": "error";
|
|
9555
10098
|
"react/no-object-type-as-default-prop": "off";
|
|
9556
10099
|
"react/no-redundant-should-component-update": "error";
|
|
10100
|
+
"react/no-render-return-value": "error";
|
|
9557
10101
|
"react/no-set-state": "off";
|
|
10102
|
+
"react/no-string-refs": "error";
|
|
9558
10103
|
"react/no-this-in-sfc": "error";
|
|
9559
10104
|
"react/no-typos": "error";
|
|
10105
|
+
"react/no-unescaped-entities": "error";
|
|
10106
|
+
"react/no-unknown-property": "error";
|
|
10107
|
+
"react/no-unsafe": "off";
|
|
9560
10108
|
"react/no-unstable-nested-components": "error";
|
|
9561
10109
|
"react/no-unused-class-component-methods": "error";
|
|
9562
10110
|
"react/no-unused-prop-types": "error";
|
|
@@ -9566,8 +10114,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9566
10114
|
"react/prefer-exact-props": "off";
|
|
9567
10115
|
"react/prefer-read-only-props": "off";
|
|
9568
10116
|
"react/prefer-stateless-function": "off";
|
|
10117
|
+
"react/prop-types": "error";
|
|
10118
|
+
"react/react-in-jsx-scope": "off";
|
|
9569
10119
|
"react/require-default-props": "off";
|
|
9570
10120
|
"react/require-optimization": "off";
|
|
10121
|
+
"react/require-render-return": "error";
|
|
10122
|
+
"react/self-closing-comp": "error";
|
|
9571
10123
|
"react/sort-comp": "off";
|
|
9572
10124
|
"react/sort-default-props": "off";
|
|
9573
10125
|
"react/sort-prop-types": "off";
|
|
@@ -9575,15 +10127,25 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9575
10127
|
"react/static-property-placement": "off";
|
|
9576
10128
|
"react/style-prop-object": "error";
|
|
9577
10129
|
"react/void-dom-elements-no-children": "error";
|
|
10130
|
+
"react-hooks/exhaustive-deps": "error";
|
|
10131
|
+
"react-hooks/rules-of-hooks": "error";
|
|
10132
|
+
"react-refresh/only-export-components": ["warn", {
|
|
10133
|
+
allowConstantExport: true;
|
|
10134
|
+
}];
|
|
10135
|
+
};
|
|
10136
|
+
settings: {
|
|
10137
|
+
react: {
|
|
10138
|
+
version: string;
|
|
10139
|
+
};
|
|
9578
10140
|
};
|
|
9579
10141
|
} | {
|
|
9580
|
-
name: string;
|
|
9581
10142
|
files: string[];
|
|
10143
|
+
name: string;
|
|
9582
10144
|
plugins: {
|
|
9583
10145
|
"@tanstack/query": eslint.ESLint.Plugin;
|
|
10146
|
+
"jsx-a11y"?: undefined;
|
|
9584
10147
|
react?: undefined;
|
|
9585
10148
|
"react-hooks"?: undefined;
|
|
9586
|
-
"jsx-a11y"?: undefined;
|
|
9587
10149
|
"react-refresh"?: undefined;
|
|
9588
10150
|
};
|
|
9589
10151
|
rules: {
|
|
@@ -9594,37 +10156,37 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9594
10156
|
languageOptions?: undefined;
|
|
9595
10157
|
settings?: undefined;
|
|
9596
10158
|
} | {
|
|
9597
|
-
name: string;
|
|
9598
10159
|
files: string[];
|
|
10160
|
+
name: string;
|
|
9599
10161
|
plugins: {
|
|
9600
|
-
"testing-library": typeof eslint_plugin_testing_library;
|
|
9601
10162
|
"jest-dom": typeof eslint_plugin_jest_dom;
|
|
10163
|
+
"testing-library": typeof eslint_plugin_testing_library;
|
|
9602
10164
|
};
|
|
9603
10165
|
rules: {
|
|
9604
10166
|
[x: string]: Linter.RuleEntry<any[]>;
|
|
9605
10167
|
"testing-library/prefer-screen-queries"?: undefined;
|
|
9606
10168
|
};
|
|
9607
10169
|
} | {
|
|
9608
|
-
name: string;
|
|
9609
10170
|
files: string[];
|
|
10171
|
+
name: string;
|
|
9610
10172
|
rules: {
|
|
9611
10173
|
"testing-library/prefer-screen-queries": "off";
|
|
9612
10174
|
};
|
|
9613
10175
|
plugins?: undefined;
|
|
9614
10176
|
} | {
|
|
10177
|
+
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9615
10178
|
plugins: string[];
|
|
9616
10179
|
rules: eslint_plugin_jest.Rules;
|
|
9617
|
-
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9618
|
-
name: string;
|
|
9619
10180
|
files: string[];
|
|
10181
|
+
name: string;
|
|
9620
10182
|
} | {
|
|
9621
10183
|
rules: {
|
|
9622
|
-
"jest/no-alias-methods": "error";
|
|
9623
|
-
"jest/no-commented-out-tests": "error";
|
|
9624
10184
|
"jest/consistent-test-it": ["error", {
|
|
9625
10185
|
fn: "test";
|
|
9626
10186
|
withinDescribe: "it";
|
|
9627
10187
|
}];
|
|
10188
|
+
"jest/no-alias-methods": "error";
|
|
10189
|
+
"jest/no-commented-out-tests": "error";
|
|
9628
10190
|
"jest/no-conditional-in-test": "error";
|
|
9629
10191
|
"jest/no-confusing-set-timeout": "error";
|
|
9630
10192
|
"jest/no-duplicate-hooks": "error";
|
|
@@ -9653,13 +10215,13 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9653
10215
|
"jest/require-top-level-describe": "off";
|
|
9654
10216
|
"jest/unbound-method": "off";
|
|
9655
10217
|
};
|
|
9656
|
-
plugins: string[];
|
|
9657
10218
|
languageOptions: eslint_plugin_jest.LanguageOptions;
|
|
9658
|
-
|
|
10219
|
+
plugins: string[];
|
|
9659
10220
|
files: string[];
|
|
9660
|
-
} | {
|
|
9661
10221
|
name: string;
|
|
10222
|
+
} | {
|
|
9662
10223
|
files: string[];
|
|
10224
|
+
name: string;
|
|
9663
10225
|
rules: {
|
|
9664
10226
|
"jest/expect-expect": "off";
|
|
9665
10227
|
"jest/no-deprecated-functions": "off";
|
|
@@ -9668,12 +10230,12 @@ declare const jimmyDotCodes: ({ typescript, react, testing, astro, autoDetect, c
|
|
|
9668
10230
|
} | {
|
|
9669
10231
|
name: string;
|
|
9670
10232
|
rules: {
|
|
9671
|
-
curly: ["error", "multi-or-nest", "consistent"];
|
|
9672
10233
|
"arrow-body-style": ["error", "always"];
|
|
9673
|
-
"
|
|
10234
|
+
curly: ["error", "multi-or-nest", "consistent"];
|
|
10235
|
+
"no-console": "warn";
|
|
9674
10236
|
"no-useless-rename": "error";
|
|
10237
|
+
"object-shorthand": "error";
|
|
9675
10238
|
"prefer-arrow-callback": "error";
|
|
9676
|
-
"no-console": "warn";
|
|
9677
10239
|
};
|
|
9678
10240
|
})[];
|
|
9679
10241
|
|