@ntnyq/eslint-config 3.9.3 → 3.10.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/README.md +7 -1
- package/dist/index.cjs +152 -9
- package/dist/index.d.cts +762 -213
- package/dist/index.d.ts +762 -213
- package/dist/index.js +216 -78
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
|
3
3
|
import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
|
|
4
4
|
import { RecommendedOptions } from 'eslint-plugin-github-action';
|
|
5
5
|
export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
|
|
6
|
+
import { Rules } from 'eslint-plugin-svgo/rule-options';
|
|
6
7
|
import { Options } from 'eslint-processor-vue-blocks';
|
|
7
8
|
export { default as processorVueBlocks } from 'eslint-processor-vue-blocks';
|
|
8
9
|
import { Linter } from 'eslint';
|
|
@@ -12,10 +13,13 @@ import { RequiredOptions, BuiltInParserName } from 'prettier';
|
|
|
12
13
|
import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
|
|
13
14
|
import * as eslintPluginRegexp from 'eslint-plugin-regexp';
|
|
14
15
|
export { eslintPluginRegexp as pluginRegexp };
|
|
16
|
+
import * as eslintPluginDepend from 'eslint-plugin-depend';
|
|
17
|
+
export { eslintPluginDepend as pluginDepend };
|
|
15
18
|
export { default as pluginNode } from 'eslint-plugin-n';
|
|
16
19
|
export { default as pluginVue } from 'eslint-plugin-vue';
|
|
17
20
|
export { default as pluginEsX } from 'eslint-plugin-es-x';
|
|
18
21
|
export { default as pluginYaml } from 'eslint-plugin-yml';
|
|
22
|
+
export { default as pluginSvgo } from 'eslint-plugin-svgo';
|
|
19
23
|
export { default as pluginToml } from 'eslint-plugin-toml';
|
|
20
24
|
export { default as pluginPinia } from 'eslint-plugin-pinia';
|
|
21
25
|
export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
|
|
@@ -1450,6 +1454,11 @@ interface RuleOptions {
|
|
|
1450
1454
|
* @see https://eslint.org/docs/latest/rules/default-param-last
|
|
1451
1455
|
*/
|
|
1452
1456
|
'default-param-last'?: Linter.RuleEntry<[]>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Bans a list of dependencies from being used
|
|
1459
|
+
* @see https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/ban-dependencies.md
|
|
1460
|
+
*/
|
|
1461
|
+
'depend/ban-dependencies'?: Linter.RuleEntry<DependBanDependencies>;
|
|
1453
1462
|
/**
|
|
1454
1463
|
* Enforce consistent newlines before and after dots
|
|
1455
1464
|
* @see https://eslint.org/docs/latest/rules/dot-location
|
|
@@ -3159,233 +3168,233 @@ interface RuleOptions {
|
|
|
3159
3168
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
3160
3169
|
/**
|
|
3161
3170
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
3162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3171
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
|
|
3163
3172
|
*/
|
|
3164
3173
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
|
|
3165
3174
|
/**
|
|
3166
3175
|
* Ensure a default export is present, given a default import.
|
|
3167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3176
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
|
|
3168
3177
|
*/
|
|
3169
3178
|
'import-x/default'?: Linter.RuleEntry<[]>;
|
|
3170
3179
|
/**
|
|
3171
3180
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
3172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3181
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
|
|
3173
3182
|
*/
|
|
3174
3183
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
|
|
3175
3184
|
/**
|
|
3176
3185
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
3177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3186
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
|
|
3178
3187
|
*/
|
|
3179
3188
|
'import-x/export'?: Linter.RuleEntry<[]>;
|
|
3180
3189
|
/**
|
|
3181
3190
|
* Ensure all exports appear after other statements.
|
|
3182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3191
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
|
|
3183
3192
|
*/
|
|
3184
3193
|
'import-x/exports-last'?: Linter.RuleEntry<[]>;
|
|
3185
3194
|
/**
|
|
3186
3195
|
* Ensure consistent use of file extension within the import path.
|
|
3187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3196
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
|
|
3188
3197
|
*/
|
|
3189
3198
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
|
|
3190
3199
|
/**
|
|
3191
3200
|
* Ensure all imports appear before other statements.
|
|
3192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3201
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
|
|
3193
3202
|
*/
|
|
3194
3203
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
|
|
3195
3204
|
/**
|
|
3196
3205
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
3197
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3206
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
|
|
3198
3207
|
*/
|
|
3199
3208
|
'import-x/group-exports'?: Linter.RuleEntry<[]>;
|
|
3200
3209
|
/**
|
|
3201
3210
|
* Replaced by `import-x/first`.
|
|
3202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3211
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
|
|
3203
3212
|
* @deprecated
|
|
3204
3213
|
*/
|
|
3205
3214
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
|
|
3206
3215
|
/**
|
|
3207
3216
|
* Enforce the maximum number of dependencies a module can have.
|
|
3208
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3217
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
|
|
3209
3218
|
*/
|
|
3210
3219
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
|
|
3211
3220
|
/**
|
|
3212
3221
|
* Ensure named imports correspond to a named export in the remote file.
|
|
3213
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3222
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
|
|
3214
3223
|
*/
|
|
3215
3224
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
|
|
3216
3225
|
/**
|
|
3217
3226
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
3218
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3227
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
|
|
3219
3228
|
*/
|
|
3220
3229
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
|
|
3221
3230
|
/**
|
|
3222
3231
|
* Enforce a newline after import statements.
|
|
3223
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3232
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
|
|
3224
3233
|
*/
|
|
3225
3234
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
|
|
3226
3235
|
/**
|
|
3227
3236
|
* Forbid import of modules using absolute paths.
|
|
3228
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3237
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
|
|
3229
3238
|
*/
|
|
3230
3239
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
|
|
3231
3240
|
/**
|
|
3232
3241
|
* Forbid AMD `require` and `define` calls.
|
|
3233
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3242
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
|
|
3234
3243
|
*/
|
|
3235
3244
|
'import-x/no-amd'?: Linter.RuleEntry<[]>;
|
|
3236
3245
|
/**
|
|
3237
3246
|
* Forbid anonymous values as default exports.
|
|
3238
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3247
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
|
|
3239
3248
|
*/
|
|
3240
3249
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
|
|
3241
3250
|
/**
|
|
3242
3251
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
3243
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3252
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
|
|
3244
3253
|
*/
|
|
3245
3254
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
|
|
3246
3255
|
/**
|
|
3247
3256
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
3248
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3257
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
|
|
3249
3258
|
*/
|
|
3250
3259
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
|
|
3251
3260
|
/**
|
|
3252
3261
|
* Forbid default exports.
|
|
3253
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3262
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
|
|
3254
3263
|
*/
|
|
3255
3264
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>;
|
|
3256
3265
|
/**
|
|
3257
3266
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
3258
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3267
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
|
|
3259
3268
|
*/
|
|
3260
3269
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
3261
3270
|
/**
|
|
3262
3271
|
* Forbid repeated import of the same module in multiple places.
|
|
3263
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3272
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
|
|
3264
3273
|
*/
|
|
3265
3274
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
|
|
3266
3275
|
/**
|
|
3267
3276
|
* Forbid `require()` calls with expressions.
|
|
3268
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3277
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
|
|
3269
3278
|
*/
|
|
3270
3279
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
|
|
3271
3280
|
/**
|
|
3272
3281
|
* Forbid empty named import blocks.
|
|
3273
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3282
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
|
|
3274
3283
|
*/
|
|
3275
3284
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
3276
3285
|
/**
|
|
3277
3286
|
* Forbid the use of extraneous packages.
|
|
3278
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3287
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
|
|
3279
3288
|
*/
|
|
3280
3289
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
|
|
3281
3290
|
/**
|
|
3282
3291
|
* Forbid import statements with CommonJS module.exports.
|
|
3283
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3292
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
|
|
3284
3293
|
*/
|
|
3285
3294
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
|
|
3286
3295
|
/**
|
|
3287
3296
|
* Forbid importing the submodules of other modules.
|
|
3288
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3297
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
|
|
3289
3298
|
*/
|
|
3290
3299
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
|
|
3291
3300
|
/**
|
|
3292
3301
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
3293
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3302
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
|
|
3294
3303
|
*/
|
|
3295
3304
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
3296
3305
|
/**
|
|
3297
3306
|
* Forbid use of exported name as identifier of default export.
|
|
3298
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3307
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
|
|
3299
3308
|
*/
|
|
3300
3309
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
3301
3310
|
/**
|
|
3302
3311
|
* Forbid use of exported name as property of default export.
|
|
3303
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3312
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
|
|
3304
3313
|
*/
|
|
3305
3314
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
3306
3315
|
/**
|
|
3307
3316
|
* Forbid named default exports.
|
|
3308
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3317
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
|
|
3309
3318
|
*/
|
|
3310
3319
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>;
|
|
3311
3320
|
/**
|
|
3312
3321
|
* Forbid named exports.
|
|
3313
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3322
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
|
|
3314
3323
|
*/
|
|
3315
3324
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>;
|
|
3316
3325
|
/**
|
|
3317
3326
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
3318
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3327
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
|
|
3319
3328
|
*/
|
|
3320
3329
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
|
|
3321
3330
|
/**
|
|
3322
3331
|
* Forbid Node.js builtin modules.
|
|
3323
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3332
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
|
|
3324
3333
|
*/
|
|
3325
3334
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
|
|
3326
3335
|
/**
|
|
3327
3336
|
* Forbid importing packages through relative paths.
|
|
3328
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3337
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
|
|
3329
3338
|
*/
|
|
3330
3339
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
|
|
3331
3340
|
/**
|
|
3332
3341
|
* Forbid importing modules from parent directories.
|
|
3333
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3342
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
|
|
3334
3343
|
*/
|
|
3335
3344
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
|
|
3336
3345
|
/**
|
|
3337
3346
|
* Forbid importing a default export by a different name.
|
|
3338
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3347
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
|
|
3339
3348
|
*/
|
|
3340
3349
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
|
|
3341
3350
|
/**
|
|
3342
3351
|
* Enforce which files can be imported in a given folder.
|
|
3343
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3352
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
|
|
3344
3353
|
*/
|
|
3345
3354
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
|
|
3346
3355
|
/**
|
|
3347
3356
|
* Forbid a module from importing itself.
|
|
3348
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3357
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
|
|
3349
3358
|
*/
|
|
3350
3359
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>;
|
|
3351
3360
|
/**
|
|
3352
3361
|
* Forbid unassigned imports.
|
|
3353
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3362
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
|
|
3354
3363
|
*/
|
|
3355
3364
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
|
|
3356
3365
|
/**
|
|
3357
3366
|
* Ensure imports point to a file/module that can be resolved.
|
|
3358
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3367
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
|
|
3359
3368
|
*/
|
|
3360
3369
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
|
|
3361
3370
|
/**
|
|
3362
3371
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
3363
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3372
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
|
|
3364
3373
|
*/
|
|
3365
3374
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
|
|
3366
3375
|
/**
|
|
3367
3376
|
* Forbid unnecessary path segments in import and require statements.
|
|
3368
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3377
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
|
|
3369
3378
|
*/
|
|
3370
3379
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
|
|
3371
3380
|
/**
|
|
3372
3381
|
* Forbid webpack loader syntax in imports.
|
|
3373
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3382
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
|
|
3374
3383
|
*/
|
|
3375
3384
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
3376
3385
|
/**
|
|
3377
3386
|
* Enforce a convention in module import order.
|
|
3378
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3387
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
|
|
3379
3388
|
*/
|
|
3380
3389
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
|
|
3381
3390
|
/**
|
|
3382
3391
|
* Prefer a default export if module exports a single name or multiple names.
|
|
3383
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3392
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
|
|
3384
3393
|
*/
|
|
3385
3394
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
|
|
3386
3395
|
/**
|
|
3387
3396
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
3388
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
3397
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
|
|
3389
3398
|
*/
|
|
3390
3399
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>;
|
|
3391
3400
|
/**
|
|
@@ -5887,6 +5896,11 @@ interface RuleOptions {
|
|
|
5887
5896
|
* @see https://eslint.org/docs/latest/rules/strict
|
|
5888
5897
|
*/
|
|
5889
5898
|
'strict'?: Linter.RuleEntry<Strict>;
|
|
5899
|
+
/**
|
|
5900
|
+
* Use SVGO to optimize SVG files
|
|
5901
|
+
* @see https://github.com/ntnyq/eslint-plugin-svgo
|
|
5902
|
+
*/
|
|
5903
|
+
'svgo/svgo'?: Linter.RuleEntry<SvgoSvgo>;
|
|
5890
5904
|
/**
|
|
5891
5905
|
* Enforce spacing around colons of switch statements
|
|
5892
5906
|
* @see https://eslint.org/docs/latest/rules/switch-colon-spacing
|
|
@@ -7038,7 +7052,7 @@ interface RuleOptions {
|
|
|
7038
7052
|
*/
|
|
7039
7053
|
'vitest/prefer-todo'?: Linter.RuleEntry<[]>;
|
|
7040
7054
|
/**
|
|
7041
|
-
*
|
|
7055
|
+
* require `vi.mocked()` over `fn as Mock`
|
|
7042
7056
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
7043
7057
|
*/
|
|
7044
7058
|
'vitest/prefer-vi-mocked'?: Linter.RuleEntry<[]>;
|
|
@@ -7073,7 +7087,7 @@ interface RuleOptions {
|
|
|
7073
7087
|
*/
|
|
7074
7088
|
'vitest/valid-expect'?: Linter.RuleEntry<VitestValidExpect>;
|
|
7075
7089
|
/**
|
|
7076
|
-
*
|
|
7090
|
+
* require promises that have expectations in their chain to be valid
|
|
7077
7091
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
7078
7092
|
*/
|
|
7079
7093
|
'vitest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
|
|
@@ -10893,6 +10907,13 @@ type DefaultCase = [] | [
|
|
|
10893
10907
|
commentPattern?: string;
|
|
10894
10908
|
}
|
|
10895
10909
|
];
|
|
10910
|
+
type DependBanDependencies = [] | [
|
|
10911
|
+
{
|
|
10912
|
+
presets?: string[];
|
|
10913
|
+
modules?: string[];
|
|
10914
|
+
allowed?: string[];
|
|
10915
|
+
}
|
|
10916
|
+
];
|
|
10896
10917
|
type DotLocation = [] | [("object" | "property")];
|
|
10897
10918
|
type DotNotation = [] | [
|
|
10898
10919
|
{
|
|
@@ -14233,19 +14254,36 @@ type PaddingLineBetweenStatements = {
|
|
|
14233
14254
|
prev: _PaddingLineBetweenStatementsStatementType;
|
|
14234
14255
|
next: _PaddingLineBetweenStatementsStatementType;
|
|
14235
14256
|
}[];
|
|
14236
|
-
type PerfectionistSortArrayIncludes =
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
}
|
|
14248
|
-
|
|
14257
|
+
type PerfectionistSortArrayIncludes = {
|
|
14258
|
+
partitionByComment?: (string[] | boolean | string);
|
|
14259
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
14260
|
+
customGroups?: ({
|
|
14261
|
+
groupName?: string;
|
|
14262
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14263
|
+
order?: ("desc" | "asc");
|
|
14264
|
+
anyOf?: {
|
|
14265
|
+
selector?: ("literal" | "spread");
|
|
14266
|
+
elementNamePattern?: string;
|
|
14267
|
+
}[];
|
|
14268
|
+
} | {
|
|
14269
|
+
groupName?: string;
|
|
14270
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14271
|
+
order?: ("desc" | "asc");
|
|
14272
|
+
selector?: ("literal" | "spread");
|
|
14273
|
+
elementNamePattern?: string;
|
|
14274
|
+
})[];
|
|
14275
|
+
useConfigurationIf?: {
|
|
14276
|
+
allNamesMatchPattern?: string;
|
|
14277
|
+
};
|
|
14278
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14279
|
+
partitionByNewLine?: boolean;
|
|
14280
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14281
|
+
ignoreCase?: boolean;
|
|
14282
|
+
alphabet?: string;
|
|
14283
|
+
locales?: (string | string[]);
|
|
14284
|
+
groups?: (string | string[])[];
|
|
14285
|
+
order?: ("asc" | "desc");
|
|
14286
|
+
}[];
|
|
14249
14287
|
type PerfectionistSortClasses = [] | [
|
|
14250
14288
|
{
|
|
14251
14289
|
ignoreCallbackDependenciesPatterns?: string[];
|
|
@@ -14276,10 +14314,10 @@ type PerfectionistSortClasses = [] | [
|
|
|
14276
14314
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14277
14315
|
ignoreCase?: boolean;
|
|
14278
14316
|
alphabet?: string;
|
|
14317
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14279
14318
|
locales?: (string | string[]);
|
|
14280
14319
|
groups?: (string | string[])[];
|
|
14281
14320
|
order?: ("asc" | "desc");
|
|
14282
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14283
14321
|
}
|
|
14284
14322
|
];
|
|
14285
14323
|
type PerfectionistSortDecorators = [] | [
|
|
@@ -14296,10 +14334,10 @@ type PerfectionistSortDecorators = [] | [
|
|
|
14296
14334
|
};
|
|
14297
14335
|
ignoreCase?: boolean;
|
|
14298
14336
|
alphabet?: string;
|
|
14337
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14299
14338
|
locales?: (string | string[]);
|
|
14300
14339
|
groups?: (string | string[])[];
|
|
14301
14340
|
order?: ("asc" | "desc");
|
|
14302
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14303
14341
|
}
|
|
14304
14342
|
];
|
|
14305
14343
|
type PerfectionistSortEnums = [] | [
|
|
@@ -14311,9 +14349,9 @@ type PerfectionistSortEnums = [] | [
|
|
|
14311
14349
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14312
14350
|
ignoreCase?: boolean;
|
|
14313
14351
|
alphabet?: string;
|
|
14352
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14314
14353
|
locales?: (string | string[]);
|
|
14315
14354
|
order?: ("asc" | "desc");
|
|
14316
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14317
14355
|
}
|
|
14318
14356
|
];
|
|
14319
14357
|
type PerfectionistSortExports = [] | [
|
|
@@ -14324,9 +14362,9 @@ type PerfectionistSortExports = [] | [
|
|
|
14324
14362
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14325
14363
|
ignoreCase?: boolean;
|
|
14326
14364
|
alphabet?: string;
|
|
14365
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14327
14366
|
locales?: (string | string[]);
|
|
14328
14367
|
order?: ("asc" | "desc");
|
|
14329
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14330
14368
|
}
|
|
14331
14369
|
];
|
|
14332
14370
|
type PerfectionistSortHeritageClauses = [] | [
|
|
@@ -14337,10 +14375,10 @@ type PerfectionistSortHeritageClauses = [] | [
|
|
|
14337
14375
|
};
|
|
14338
14376
|
ignoreCase?: boolean;
|
|
14339
14377
|
alphabet?: string;
|
|
14378
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14340
14379
|
locales?: (string | string[]);
|
|
14341
14380
|
groups?: (string | string[])[];
|
|
14342
14381
|
order?: ("asc" | "desc");
|
|
14343
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14344
14382
|
}
|
|
14345
14383
|
];
|
|
14346
14384
|
type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
|
|
@@ -14364,10 +14402,10 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
14364
14402
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14365
14403
|
ignoreCase?: boolean;
|
|
14366
14404
|
alphabet?: string;
|
|
14405
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14367
14406
|
locales?: (string | string[]);
|
|
14368
14407
|
groups?: (string | string[])[];
|
|
14369
14408
|
order?: ("asc" | "desc");
|
|
14370
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14371
14409
|
});
|
|
14372
14410
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
14373
14411
|
[k: string]: unknown | undefined;
|
|
@@ -14376,41 +14414,43 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
14376
14414
|
type: "line-length";
|
|
14377
14415
|
[k: string]: unknown | undefined;
|
|
14378
14416
|
}
|
|
14379
|
-
type PerfectionistSortInterfaces =
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14385
|
-
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
}[];
|
|
14394
|
-
} | {
|
|
14395
|
-
groupName?: string;
|
|
14396
|
-
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14397
|
-
order?: ("desc" | "asc");
|
|
14417
|
+
type PerfectionistSortInterfaces = {
|
|
14418
|
+
ignorePattern?: string[];
|
|
14419
|
+
useConfigurationIf?: {
|
|
14420
|
+
allNamesMatchPattern?: string;
|
|
14421
|
+
declarationMatchesPattern?: string;
|
|
14422
|
+
};
|
|
14423
|
+
partitionByComment?: (string[] | boolean | string);
|
|
14424
|
+
customGroups?: ({
|
|
14425
|
+
[k: string]: (string | string[]) | undefined;
|
|
14426
|
+
} | ({
|
|
14427
|
+
groupName?: string;
|
|
14428
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14429
|
+
order?: ("desc" | "asc");
|
|
14430
|
+
anyOf?: {
|
|
14398
14431
|
modifiers?: ("optional" | "required" | "multiline")[];
|
|
14399
14432
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
14400
14433
|
elementNamePattern?: string;
|
|
14401
|
-
}
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14434
|
+
}[];
|
|
14435
|
+
} | {
|
|
14436
|
+
groupName?: string;
|
|
14437
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14438
|
+
order?: ("desc" | "asc");
|
|
14439
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
14440
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
14441
|
+
elementNamePattern?: string;
|
|
14442
|
+
})[]);
|
|
14443
|
+
groupKind?: ("mixed" | "required-first" | "optional-first");
|
|
14444
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14445
|
+
partitionByNewLine?: boolean;
|
|
14446
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14447
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14448
|
+
ignoreCase?: boolean;
|
|
14449
|
+
alphabet?: string;
|
|
14450
|
+
locales?: (string | string[]);
|
|
14451
|
+
groups?: (string | string[])[];
|
|
14452
|
+
order?: ("asc" | "desc");
|
|
14453
|
+
}[];
|
|
14414
14454
|
type PerfectionistSortIntersectionTypes = [] | [
|
|
14415
14455
|
{
|
|
14416
14456
|
partitionByComment?: (string[] | boolean | string);
|
|
@@ -14419,10 +14459,10 @@ type PerfectionistSortIntersectionTypes = [] | [
|
|
|
14419
14459
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14420
14460
|
ignoreCase?: boolean;
|
|
14421
14461
|
alphabet?: string;
|
|
14462
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14422
14463
|
locales?: (string | string[]);
|
|
14423
14464
|
groups?: (string | string[])[];
|
|
14424
14465
|
order?: ("asc" | "desc");
|
|
14425
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14426
14466
|
}
|
|
14427
14467
|
];
|
|
14428
14468
|
type PerfectionistSortJsxProps = [] | [
|
|
@@ -14434,10 +14474,10 @@ type PerfectionistSortJsxProps = [] | [
|
|
|
14434
14474
|
};
|
|
14435
14475
|
ignoreCase?: boolean;
|
|
14436
14476
|
alphabet?: string;
|
|
14477
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14437
14478
|
locales?: (string | string[]);
|
|
14438
14479
|
groups?: (string | string[])[];
|
|
14439
14480
|
order?: ("asc" | "desc");
|
|
14440
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14441
14481
|
}
|
|
14442
14482
|
];
|
|
14443
14483
|
type PerfectionistSortMaps = [] | [
|
|
@@ -14447,9 +14487,9 @@ type PerfectionistSortMaps = [] | [
|
|
|
14447
14487
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14448
14488
|
ignoreCase?: boolean;
|
|
14449
14489
|
alphabet?: string;
|
|
14490
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14450
14491
|
locales?: (string | string[]);
|
|
14451
14492
|
order?: ("asc" | "desc");
|
|
14452
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14453
14493
|
}
|
|
14454
14494
|
];
|
|
14455
14495
|
type PerfectionistSortModules = [] | [
|
|
@@ -14479,10 +14519,10 @@ type PerfectionistSortModules = [] | [
|
|
|
14479
14519
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14480
14520
|
ignoreCase?: boolean;
|
|
14481
14521
|
alphabet?: string;
|
|
14522
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14482
14523
|
locales?: (string | string[]);
|
|
14483
14524
|
groups?: (string | string[])[];
|
|
14484
14525
|
order?: ("asc" | "desc");
|
|
14485
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14486
14526
|
}
|
|
14487
14527
|
];
|
|
14488
14528
|
type PerfectionistSortNamedExports = [] | [
|
|
@@ -14493,9 +14533,9 @@ type PerfectionistSortNamedExports = [] | [
|
|
|
14493
14533
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14494
14534
|
ignoreCase?: boolean;
|
|
14495
14535
|
alphabet?: string;
|
|
14536
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14496
14537
|
locales?: (string | string[]);
|
|
14497
14538
|
order?: ("asc" | "desc");
|
|
14498
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14499
14539
|
}
|
|
14500
14540
|
];
|
|
14501
14541
|
type PerfectionistSortNamedImports = [] | [
|
|
@@ -14507,59 +14547,63 @@ type PerfectionistSortNamedImports = [] | [
|
|
|
14507
14547
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14508
14548
|
ignoreCase?: boolean;
|
|
14509
14549
|
alphabet?: string;
|
|
14550
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14510
14551
|
locales?: (string | string[]);
|
|
14511
14552
|
order?: ("asc" | "desc");
|
|
14512
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14513
14553
|
}
|
|
14514
14554
|
];
|
|
14515
|
-
type PerfectionistSortObjectTypes =
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
}[];
|
|
14530
|
-
} | {
|
|
14531
|
-
groupName?: string;
|
|
14532
|
-
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14533
|
-
order?: ("desc" | "asc");
|
|
14555
|
+
type PerfectionistSortObjectTypes = {
|
|
14556
|
+
ignorePattern?: string[];
|
|
14557
|
+
useConfigurationIf?: {
|
|
14558
|
+
allNamesMatchPattern?: string;
|
|
14559
|
+
declarationMatchesPattern?: string;
|
|
14560
|
+
};
|
|
14561
|
+
partitionByComment?: (string[] | boolean | string);
|
|
14562
|
+
customGroups?: ({
|
|
14563
|
+
[k: string]: (string | string[]) | undefined;
|
|
14564
|
+
} | ({
|
|
14565
|
+
groupName?: string;
|
|
14566
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14567
|
+
order?: ("desc" | "asc");
|
|
14568
|
+
anyOf?: {
|
|
14534
14569
|
modifiers?: ("optional" | "required" | "multiline")[];
|
|
14535
14570
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
14536
14571
|
elementNamePattern?: string;
|
|
14537
|
-
}
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
|
|
14543
|
-
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14572
|
+
}[];
|
|
14573
|
+
} | {
|
|
14574
|
+
groupName?: string;
|
|
14575
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14576
|
+
order?: ("desc" | "asc");
|
|
14577
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
14578
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
14579
|
+
elementNamePattern?: string;
|
|
14580
|
+
})[]);
|
|
14581
|
+
groupKind?: ("mixed" | "required-first" | "optional-first");
|
|
14582
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14583
|
+
partitionByNewLine?: boolean;
|
|
14584
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14585
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14586
|
+
ignoreCase?: boolean;
|
|
14587
|
+
alphabet?: string;
|
|
14588
|
+
locales?: (string | string[]);
|
|
14589
|
+
groups?: (string | string[])[];
|
|
14590
|
+
order?: ("asc" | "desc");
|
|
14591
|
+
}[];
|
|
14550
14592
|
type PerfectionistSortObjects = {
|
|
14551
14593
|
destructuredObjects?: (boolean | {
|
|
14552
14594
|
groups?: boolean;
|
|
14553
14595
|
});
|
|
14554
14596
|
ignorePattern?: string[];
|
|
14597
|
+
useConfigurationIf?: {
|
|
14598
|
+
allNamesMatchPattern?: string;
|
|
14599
|
+
callingFunctionNamePattern?: string;
|
|
14600
|
+
};
|
|
14555
14601
|
partitionByComment?: (string[] | boolean | string);
|
|
14556
14602
|
destructureOnly?: boolean;
|
|
14557
14603
|
objectDeclarations?: boolean;
|
|
14558
14604
|
styledComponents?: boolean;
|
|
14605
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14559
14606
|
partitionByNewLine?: boolean;
|
|
14560
|
-
useConfigurationIf?: {
|
|
14561
|
-
allNamesMatchPattern?: string;
|
|
14562
|
-
};
|
|
14563
14607
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14564
14608
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14565
14609
|
customGroups?: {
|
|
@@ -14570,29 +14614,45 @@ type PerfectionistSortObjects = {
|
|
|
14570
14614
|
locales?: (string | string[]);
|
|
14571
14615
|
groups?: (string | string[])[];
|
|
14572
14616
|
order?: ("asc" | "desc");
|
|
14573
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14574
14617
|
}[];
|
|
14575
|
-
type PerfectionistSortSets =
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
}
|
|
14587
|
-
|
|
14618
|
+
type PerfectionistSortSets = {
|
|
14619
|
+
partitionByComment?: (string[] | boolean | string);
|
|
14620
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
14621
|
+
customGroups?: ({
|
|
14622
|
+
groupName?: string;
|
|
14623
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14624
|
+
order?: ("desc" | "asc");
|
|
14625
|
+
anyOf?: {
|
|
14626
|
+
selector?: ("literal" | "spread");
|
|
14627
|
+
elementNamePattern?: string;
|
|
14628
|
+
}[];
|
|
14629
|
+
} | {
|
|
14630
|
+
groupName?: string;
|
|
14631
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
14632
|
+
order?: ("desc" | "asc");
|
|
14633
|
+
selector?: ("literal" | "spread");
|
|
14634
|
+
elementNamePattern?: string;
|
|
14635
|
+
})[];
|
|
14636
|
+
useConfigurationIf?: {
|
|
14637
|
+
allNamesMatchPattern?: string;
|
|
14638
|
+
};
|
|
14639
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
14640
|
+
partitionByNewLine?: boolean;
|
|
14641
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14642
|
+
ignoreCase?: boolean;
|
|
14643
|
+
alphabet?: string;
|
|
14644
|
+
locales?: (string | string[]);
|
|
14645
|
+
groups?: (string | string[])[];
|
|
14646
|
+
order?: ("asc" | "desc");
|
|
14647
|
+
}[];
|
|
14588
14648
|
type PerfectionistSortSwitchCase = [] | [
|
|
14589
14649
|
{
|
|
14590
14650
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14591
14651
|
ignoreCase?: boolean;
|
|
14592
14652
|
alphabet?: string;
|
|
14653
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14593
14654
|
locales?: (string | string[]);
|
|
14594
14655
|
order?: ("asc" | "desc");
|
|
14595
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14596
14656
|
}
|
|
14597
14657
|
];
|
|
14598
14658
|
type PerfectionistSortUnionTypes = [] | [
|
|
@@ -14603,10 +14663,10 @@ type PerfectionistSortUnionTypes = [] | [
|
|
|
14603
14663
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
14604
14664
|
ignoreCase?: boolean;
|
|
14605
14665
|
alphabet?: string;
|
|
14666
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14606
14667
|
locales?: (string | string[]);
|
|
14607
14668
|
groups?: (string | string[])[];
|
|
14608
14669
|
order?: ("asc" | "desc");
|
|
14609
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14610
14670
|
}
|
|
14611
14671
|
];
|
|
14612
14672
|
type PerfectionistSortVariableDeclarations = [] | [
|
|
@@ -14616,9 +14676,9 @@ type PerfectionistSortVariableDeclarations = [] | [
|
|
|
14616
14676
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
14617
14677
|
ignoreCase?: boolean;
|
|
14618
14678
|
alphabet?: string;
|
|
14679
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14619
14680
|
locales?: (string | string[]);
|
|
14620
14681
|
order?: ("asc" | "desc");
|
|
14621
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom");
|
|
14622
14682
|
}
|
|
14623
14683
|
];
|
|
14624
14684
|
type PiniaPreferUseStoreNamingConvention = [] | [
|
|
@@ -14963,6 +15023,472 @@ type SpacedComment = [] | [("always" | "never")] | [
|
|
|
14963
15023
|
}
|
|
14964
15024
|
];
|
|
14965
15025
|
type Strict = [] | [("never" | "global" | "function" | "safe")];
|
|
15026
|
+
type SvgoSvgo = [] | [
|
|
15027
|
+
{
|
|
15028
|
+
path?: string;
|
|
15029
|
+
multipass?: boolean;
|
|
15030
|
+
floatPrecision?: number;
|
|
15031
|
+
datauri?: ("base64" | "enc" | "unenc");
|
|
15032
|
+
js2svg?: {
|
|
15033
|
+
attrEnd?: string;
|
|
15034
|
+
attrStart?: string;
|
|
15035
|
+
cdataEnd?: string;
|
|
15036
|
+
cdataStart?: string;
|
|
15037
|
+
commentEnd?: string;
|
|
15038
|
+
commentStart?: string;
|
|
15039
|
+
doctypeEnd?: string;
|
|
15040
|
+
doctypeStart?: string;
|
|
15041
|
+
eol?: ("lf" | "crlf");
|
|
15042
|
+
finalNewline?: boolean;
|
|
15043
|
+
indent?: number;
|
|
15044
|
+
pretty?: boolean;
|
|
15045
|
+
procInstEnd?: string;
|
|
15046
|
+
procInstStart?: string;
|
|
15047
|
+
tagCloseEnd?: string;
|
|
15048
|
+
tagCloseStart?: string;
|
|
15049
|
+
tagOpenEnd?: string;
|
|
15050
|
+
tagOpenStart?: string;
|
|
15051
|
+
tagShortEnd?: string;
|
|
15052
|
+
tagShortStart?: string;
|
|
15053
|
+
textEnd?: string;
|
|
15054
|
+
textStart?: string;
|
|
15055
|
+
useShortTags?: boolean;
|
|
15056
|
+
[k: string]: unknown | undefined;
|
|
15057
|
+
};
|
|
15058
|
+
plugins?: (("preset-default" | "cleanupAttrs" | "cleanupEnableBackground" | "cleanupIds" | "cleanupNumericValues" | "collapseGroups" | "convertColors" | "convertEllipseToCircle" | "convertPathData" | "convertShapeToPath" | "convertTransform" | "inlineStyles" | "mergePaths" | "mergeStyles" | "minifyStyles" | "moveElemsAttrsToGroup" | "moveGroupAttrsToElems" | "removeComments" | "removeDesc" | "removeDoctype" | "removeEditorsNSData" | "removeEmptyAttrs" | "removeEmptyContainers" | "removeEmptyText" | "removeHiddenElems" | "removeMetadata" | "removeNonInheritableGroupAttrs" | "removeTitle" | "removeUnknownsAndDefaults" | "removeUnusedNS" | "removeUselessDefs" | "removeUselessStrokeAndFill" | "removeViewBox" | "removeXMLProcInst" | "sortAttrs" | "sortDefsChildren" | "addAttributesToSVGElement" | "addClassesToSVGElement" | "cleanupListOfValues" | "convertOneStopGradients" | "convertStyleToAttrs" | "prefixIds" | "removeAttributesBySelector" | "removeAttrs" | "removeDimensions" | "removeElementsByAttr" | "removeOffCanvasPaths" | "removeRasterImages" | "removeScriptElement" | "removeStyleElement" | "removeXlink" | "removeXMLNS" | "reusePaths") | {
|
|
15059
|
+
name?: "addAttributesToSVGElement";
|
|
15060
|
+
params?: {
|
|
15061
|
+
attributes?: ({
|
|
15062
|
+
[k: string]: unknown | undefined;
|
|
15063
|
+
} | string[]);
|
|
15064
|
+
};
|
|
15065
|
+
} | {
|
|
15066
|
+
name?: "addClassesToSVGElement";
|
|
15067
|
+
params?: {
|
|
15068
|
+
classNames?: string[];
|
|
15069
|
+
className?: string;
|
|
15070
|
+
};
|
|
15071
|
+
} | {
|
|
15072
|
+
name?: "cleanupAttrs";
|
|
15073
|
+
params?: {
|
|
15074
|
+
newlines?: boolean;
|
|
15075
|
+
trim?: boolean;
|
|
15076
|
+
spaces?: boolean;
|
|
15077
|
+
};
|
|
15078
|
+
} | {
|
|
15079
|
+
name?: "cleanupEnableBackground";
|
|
15080
|
+
params?: {};
|
|
15081
|
+
} | {
|
|
15082
|
+
name?: "cleanupIds";
|
|
15083
|
+
params?: {
|
|
15084
|
+
remove?: boolean;
|
|
15085
|
+
minify?: boolean;
|
|
15086
|
+
force?: boolean;
|
|
15087
|
+
preserve?: string[];
|
|
15088
|
+
preservePrefixes?: string[];
|
|
15089
|
+
};
|
|
15090
|
+
} | {
|
|
15091
|
+
name?: "cleanupListOfValues";
|
|
15092
|
+
params?: {
|
|
15093
|
+
floatPrecision?: number;
|
|
15094
|
+
leadingZero?: boolean;
|
|
15095
|
+
defaultPx?: boolean;
|
|
15096
|
+
convertToPx?: boolean;
|
|
15097
|
+
};
|
|
15098
|
+
} | {
|
|
15099
|
+
name?: "cleanupNumericValues";
|
|
15100
|
+
params?: {
|
|
15101
|
+
floatPrecision?: number;
|
|
15102
|
+
leadingZero?: boolean;
|
|
15103
|
+
defaultPx?: boolean;
|
|
15104
|
+
convertToPx?: boolean;
|
|
15105
|
+
};
|
|
15106
|
+
} | {
|
|
15107
|
+
name?: "collapseGroups";
|
|
15108
|
+
params?: {};
|
|
15109
|
+
} | {
|
|
15110
|
+
name?: "convertColors";
|
|
15111
|
+
params?: {
|
|
15112
|
+
currentColor?: boolean;
|
|
15113
|
+
names2hex?: boolean;
|
|
15114
|
+
rgb2hex?: boolean;
|
|
15115
|
+
convertCase?: (boolean | ("lower" | "upper"));
|
|
15116
|
+
shorthex?: boolean;
|
|
15117
|
+
shortname?: boolean;
|
|
15118
|
+
};
|
|
15119
|
+
} | {
|
|
15120
|
+
name?: "convertEllipseToCircle";
|
|
15121
|
+
params?: {};
|
|
15122
|
+
} | {
|
|
15123
|
+
name?: "convertOneStopGradients";
|
|
15124
|
+
params?: {};
|
|
15125
|
+
} | {
|
|
15126
|
+
name?: "convertPathData";
|
|
15127
|
+
params?: {
|
|
15128
|
+
applyTransforms?: boolean;
|
|
15129
|
+
applyTransformsStroked?: boolean;
|
|
15130
|
+
straightCurves?: boolean;
|
|
15131
|
+
convertToQ?: boolean;
|
|
15132
|
+
lineShorthands?: boolean;
|
|
15133
|
+
convertToZ?: boolean;
|
|
15134
|
+
curveSmoothShorthands?: boolean;
|
|
15135
|
+
floatPrecision?: number;
|
|
15136
|
+
transformPrecision?: number;
|
|
15137
|
+
smartArcRounding?: boolean;
|
|
15138
|
+
removeUseless?: boolean;
|
|
15139
|
+
collapseRepeated?: boolean;
|
|
15140
|
+
utilizeAbsolute?: boolean;
|
|
15141
|
+
negativeExtraSpace?: boolean;
|
|
15142
|
+
forceAbsolutePath?: boolean;
|
|
15143
|
+
};
|
|
15144
|
+
} | {
|
|
15145
|
+
name?: "convertShapeToPath";
|
|
15146
|
+
params?: {
|
|
15147
|
+
convertArcs?: boolean;
|
|
15148
|
+
floatPrecision?: number;
|
|
15149
|
+
};
|
|
15150
|
+
} | {
|
|
15151
|
+
name?: "convertStyleToAttrs";
|
|
15152
|
+
params?: {
|
|
15153
|
+
keepImportant?: boolean;
|
|
15154
|
+
};
|
|
15155
|
+
} | {
|
|
15156
|
+
name?: "convertTransform";
|
|
15157
|
+
params?: {
|
|
15158
|
+
convertToShorts?: boolean;
|
|
15159
|
+
floatPrecision?: number;
|
|
15160
|
+
transformPrecision?: number;
|
|
15161
|
+
matrixToTransform?: boolean;
|
|
15162
|
+
shortTranslate?: boolean;
|
|
15163
|
+
shortScale?: boolean;
|
|
15164
|
+
shortRotate?: boolean;
|
|
15165
|
+
removeUseless?: boolean;
|
|
15166
|
+
collapseIntoOne?: boolean;
|
|
15167
|
+
};
|
|
15168
|
+
} | {
|
|
15169
|
+
name?: "inlineStyles";
|
|
15170
|
+
params?: {
|
|
15171
|
+
onlyMatchedOnce?: boolean;
|
|
15172
|
+
removeMatchedSelectors?: boolean;
|
|
15173
|
+
};
|
|
15174
|
+
} | {
|
|
15175
|
+
name?: "mergePaths";
|
|
15176
|
+
params?: {
|
|
15177
|
+
force?: boolean;
|
|
15178
|
+
floatPrecision?: number;
|
|
15179
|
+
noSpaceAfterFlags?: boolean;
|
|
15180
|
+
};
|
|
15181
|
+
} | {
|
|
15182
|
+
name?: "mergeStyles";
|
|
15183
|
+
params?: {};
|
|
15184
|
+
} | {
|
|
15185
|
+
name?: "minifyStyles";
|
|
15186
|
+
params?: {
|
|
15187
|
+
usage?: boolean;
|
|
15188
|
+
};
|
|
15189
|
+
} | {
|
|
15190
|
+
name?: "moveElemsAttrsToGroup";
|
|
15191
|
+
params?: {};
|
|
15192
|
+
} | {
|
|
15193
|
+
name?: "moveGroupAttrsToElems";
|
|
15194
|
+
params?: {};
|
|
15195
|
+
} | {
|
|
15196
|
+
name?: "prefixIds";
|
|
15197
|
+
params?: {
|
|
15198
|
+
delim?: string;
|
|
15199
|
+
prefix?: string;
|
|
15200
|
+
prefixIds?: boolean;
|
|
15201
|
+
prefixClassNames?: boolean;
|
|
15202
|
+
};
|
|
15203
|
+
} | {
|
|
15204
|
+
name?: "preset-default";
|
|
15205
|
+
params?: {
|
|
15206
|
+
overrides?: {
|
|
15207
|
+
cleanupAttrs?: (boolean | {
|
|
15208
|
+
newlines?: boolean;
|
|
15209
|
+
trim?: boolean;
|
|
15210
|
+
spaces?: boolean;
|
|
15211
|
+
});
|
|
15212
|
+
cleanupEnableBackground?: (boolean | {});
|
|
15213
|
+
cleanupIds?: (boolean | {
|
|
15214
|
+
remove?: boolean;
|
|
15215
|
+
minify?: boolean;
|
|
15216
|
+
force?: boolean;
|
|
15217
|
+
preserve?: string[];
|
|
15218
|
+
preservePrefixes?: string[];
|
|
15219
|
+
});
|
|
15220
|
+
cleanupNumericValues?: (boolean | {
|
|
15221
|
+
floatPrecision?: number;
|
|
15222
|
+
leadingZero?: boolean;
|
|
15223
|
+
defaultPx?: boolean;
|
|
15224
|
+
convertToPx?: boolean;
|
|
15225
|
+
});
|
|
15226
|
+
collapseGroups?: (boolean | {});
|
|
15227
|
+
convertColors?: (boolean | {
|
|
15228
|
+
currentColor?: boolean;
|
|
15229
|
+
names2hex?: boolean;
|
|
15230
|
+
rgb2hex?: boolean;
|
|
15231
|
+
convertCase?: (boolean | ("lower" | "upper"));
|
|
15232
|
+
shorthex?: boolean;
|
|
15233
|
+
shortname?: boolean;
|
|
15234
|
+
});
|
|
15235
|
+
convertEllipseToCircle?: (boolean | {});
|
|
15236
|
+
convertPathData?: (boolean | {
|
|
15237
|
+
currentColor?: boolean;
|
|
15238
|
+
names2hex?: boolean;
|
|
15239
|
+
rgb2hex?: boolean;
|
|
15240
|
+
convertCase?: (boolean | ("lower" | "upper"));
|
|
15241
|
+
shorthex?: boolean;
|
|
15242
|
+
shortname?: boolean;
|
|
15243
|
+
});
|
|
15244
|
+
convertShapeToPath?: (boolean | {
|
|
15245
|
+
convertArcs?: boolean;
|
|
15246
|
+
floatPrecision?: number;
|
|
15247
|
+
});
|
|
15248
|
+
convertTransform?: (boolean | {
|
|
15249
|
+
convertToShorts?: boolean;
|
|
15250
|
+
floatPrecision?: number;
|
|
15251
|
+
transformPrecision?: number;
|
|
15252
|
+
matrixToTransform?: boolean;
|
|
15253
|
+
shortTranslate?: boolean;
|
|
15254
|
+
shortScale?: boolean;
|
|
15255
|
+
shortRotate?: boolean;
|
|
15256
|
+
removeUseless?: boolean;
|
|
15257
|
+
collapseIntoOne?: boolean;
|
|
15258
|
+
});
|
|
15259
|
+
inlineStyles?: (boolean | {
|
|
15260
|
+
onlyMatchedOnce?: boolean;
|
|
15261
|
+
removeMatchedSelectors?: boolean;
|
|
15262
|
+
});
|
|
15263
|
+
mergePaths?: (boolean | {
|
|
15264
|
+
force?: boolean;
|
|
15265
|
+
floatPrecision?: number;
|
|
15266
|
+
noSpaceAfterFlags?: boolean;
|
|
15267
|
+
});
|
|
15268
|
+
mergeStyles?: (boolean | {});
|
|
15269
|
+
minifyStyles?: (boolean | {
|
|
15270
|
+
usage?: boolean;
|
|
15271
|
+
});
|
|
15272
|
+
moveElemsAttrsToGroup?: (boolean | {});
|
|
15273
|
+
moveGroupAttrsToElems?: (boolean | {});
|
|
15274
|
+
removeComments?: (boolean | {
|
|
15275
|
+
preservePatterns?: (boolean | string[]);
|
|
15276
|
+
});
|
|
15277
|
+
removeDesc?: (boolean | {
|
|
15278
|
+
removeAny?: boolean;
|
|
15279
|
+
});
|
|
15280
|
+
removeDoctype?: (boolean | {});
|
|
15281
|
+
removeEditorsNSData?: (boolean | {
|
|
15282
|
+
additionalNamespaces?: string[];
|
|
15283
|
+
});
|
|
15284
|
+
removeEmptyAttrs?: (boolean | {});
|
|
15285
|
+
removeEmptyContainers?: (boolean | {});
|
|
15286
|
+
removeEmptyText?: (boolean | {
|
|
15287
|
+
text?: boolean;
|
|
15288
|
+
tspan?: boolean;
|
|
15289
|
+
tref?: boolean;
|
|
15290
|
+
});
|
|
15291
|
+
removeHiddenElems?: (boolean | {
|
|
15292
|
+
isHidden?: boolean;
|
|
15293
|
+
displayNone?: boolean;
|
|
15294
|
+
opacity0?: boolean;
|
|
15295
|
+
circleR0?: boolean;
|
|
15296
|
+
ellipseRX0?: boolean;
|
|
15297
|
+
ellipseRY0?: boolean;
|
|
15298
|
+
rectWidth0?: boolean;
|
|
15299
|
+
rectHeight0?: boolean;
|
|
15300
|
+
patternWidth0?: boolean;
|
|
15301
|
+
patternHeight0?: boolean;
|
|
15302
|
+
imageWidth0?: boolean;
|
|
15303
|
+
imageHeight0?: boolean;
|
|
15304
|
+
pathEmptyD?: boolean;
|
|
15305
|
+
polylineEmptyPoints?: boolean;
|
|
15306
|
+
polygonEmptyPoints?: boolean;
|
|
15307
|
+
});
|
|
15308
|
+
removeMetadata?: (boolean | {});
|
|
15309
|
+
removeNonInheritableGroupAttrs?: (boolean | {});
|
|
15310
|
+
removeTitle?: (boolean | {});
|
|
15311
|
+
removeUnknownsAndDefaults?: (boolean | {
|
|
15312
|
+
unknownContent?: boolean;
|
|
15313
|
+
unknownAttrs?: boolean;
|
|
15314
|
+
defaultAttrs?: boolean;
|
|
15315
|
+
defaultMarkupDeclarations?: boolean;
|
|
15316
|
+
uselessOverrides?: boolean;
|
|
15317
|
+
keepDataAttrs?: boolean;
|
|
15318
|
+
keepAriaAttrs?: boolean;
|
|
15319
|
+
keepRoleAttr?: boolean;
|
|
15320
|
+
});
|
|
15321
|
+
removeUnusedNS?: (boolean | {});
|
|
15322
|
+
removeUselessDefs?: (boolean | {});
|
|
15323
|
+
removeUselessStrokeAndFill?: (boolean | {
|
|
15324
|
+
stroke?: boolean;
|
|
15325
|
+
fill?: boolean;
|
|
15326
|
+
removeNone?: boolean;
|
|
15327
|
+
});
|
|
15328
|
+
removeViewBox?: (boolean | {});
|
|
15329
|
+
removeXMLProcInst?: (boolean | {});
|
|
15330
|
+
sortAttrs?: (boolean | {
|
|
15331
|
+
order?: string[];
|
|
15332
|
+
xmlnsOrder?: "front";
|
|
15333
|
+
});
|
|
15334
|
+
sortDefsChildren?: (boolean | {});
|
|
15335
|
+
};
|
|
15336
|
+
};
|
|
15337
|
+
} | {
|
|
15338
|
+
name?: "removeAttributesBySelector";
|
|
15339
|
+
params?: {
|
|
15340
|
+
selectors?: {
|
|
15341
|
+
selector?: string;
|
|
15342
|
+
attributes?: string[];
|
|
15343
|
+
[k: string]: unknown | undefined;
|
|
15344
|
+
}[];
|
|
15345
|
+
};
|
|
15346
|
+
} | {
|
|
15347
|
+
name?: "removeAttrs";
|
|
15348
|
+
params?: {
|
|
15349
|
+
attrs?: string;
|
|
15350
|
+
elemSeparator?: string;
|
|
15351
|
+
preserveCurrentColor?: boolean;
|
|
15352
|
+
};
|
|
15353
|
+
} | {
|
|
15354
|
+
name?: "removeComments";
|
|
15355
|
+
params?: {
|
|
15356
|
+
preservePatterns?: (boolean | string[]);
|
|
15357
|
+
};
|
|
15358
|
+
} | {
|
|
15359
|
+
name?: "removeDeprecatedAttrs";
|
|
15360
|
+
params?: {
|
|
15361
|
+
removeAny?: boolean;
|
|
15362
|
+
};
|
|
15363
|
+
} | {
|
|
15364
|
+
name?: "removeDesc";
|
|
15365
|
+
params?: {
|
|
15366
|
+
removeAny?: boolean;
|
|
15367
|
+
};
|
|
15368
|
+
} | {
|
|
15369
|
+
name?: "removeDimensions";
|
|
15370
|
+
params?: {};
|
|
15371
|
+
} | {
|
|
15372
|
+
name?: "removeDoctype";
|
|
15373
|
+
params?: {};
|
|
15374
|
+
} | {
|
|
15375
|
+
name?: "removeEditorsNSData";
|
|
15376
|
+
params?: {
|
|
15377
|
+
additionalNamespaces?: string[];
|
|
15378
|
+
};
|
|
15379
|
+
} | {
|
|
15380
|
+
name?: "removeElementsByAttr";
|
|
15381
|
+
params?: {
|
|
15382
|
+
id?: string[];
|
|
15383
|
+
class?: string[];
|
|
15384
|
+
};
|
|
15385
|
+
} | {
|
|
15386
|
+
name?: "removeEmptyAttrs";
|
|
15387
|
+
params?: {};
|
|
15388
|
+
} | {
|
|
15389
|
+
name?: "removeEmptyContainers";
|
|
15390
|
+
params?: {};
|
|
15391
|
+
} | {
|
|
15392
|
+
name?: "removeEmptyText";
|
|
15393
|
+
params?: {
|
|
15394
|
+
text?: boolean;
|
|
15395
|
+
tspan?: boolean;
|
|
15396
|
+
tref?: boolean;
|
|
15397
|
+
};
|
|
15398
|
+
} | {
|
|
15399
|
+
name?: "removeHiddenElems";
|
|
15400
|
+
params?: {
|
|
15401
|
+
isHidden?: boolean;
|
|
15402
|
+
displayNone?: boolean;
|
|
15403
|
+
opacity0?: boolean;
|
|
15404
|
+
circleR0?: boolean;
|
|
15405
|
+
ellipseRX0?: boolean;
|
|
15406
|
+
ellipseRY0?: boolean;
|
|
15407
|
+
rectWidth0?: boolean;
|
|
15408
|
+
rectHeight0?: boolean;
|
|
15409
|
+
patternWidth0?: boolean;
|
|
15410
|
+
patternHeight0?: boolean;
|
|
15411
|
+
imageWidth0?: boolean;
|
|
15412
|
+
imageHeight0?: boolean;
|
|
15413
|
+
pathEmptyD?: boolean;
|
|
15414
|
+
polylineEmptyPoints?: boolean;
|
|
15415
|
+
polygonEmptyPoints?: boolean;
|
|
15416
|
+
};
|
|
15417
|
+
} | {
|
|
15418
|
+
name?: "removeMetadata";
|
|
15419
|
+
params?: {};
|
|
15420
|
+
} | {
|
|
15421
|
+
name?: "removeNonInheritableGroupAttrs";
|
|
15422
|
+
params?: {};
|
|
15423
|
+
} | {
|
|
15424
|
+
name?: "removeOffCanvasPaths";
|
|
15425
|
+
params?: {};
|
|
15426
|
+
} | {
|
|
15427
|
+
name?: "removeRasterImages";
|
|
15428
|
+
params?: {};
|
|
15429
|
+
} | {
|
|
15430
|
+
name?: "removeScriptElement";
|
|
15431
|
+
params?: {};
|
|
15432
|
+
} | {
|
|
15433
|
+
name?: "removeStyleElement";
|
|
15434
|
+
params?: {};
|
|
15435
|
+
} | {
|
|
15436
|
+
name?: "removeTitle";
|
|
15437
|
+
params?: {};
|
|
15438
|
+
} | {
|
|
15439
|
+
name?: "removeUnknownsAndDefaults";
|
|
15440
|
+
params?: {
|
|
15441
|
+
unknownContent?: boolean;
|
|
15442
|
+
unknownAttrs?: boolean;
|
|
15443
|
+
defaultAttrs?: boolean;
|
|
15444
|
+
defaultMarkupDeclarations?: boolean;
|
|
15445
|
+
uselessOverrides?: boolean;
|
|
15446
|
+
keepDataAttrs?: boolean;
|
|
15447
|
+
keepAriaAttrs?: boolean;
|
|
15448
|
+
keepRoleAttr?: boolean;
|
|
15449
|
+
};
|
|
15450
|
+
} | {
|
|
15451
|
+
name?: "removeUnusedNS";
|
|
15452
|
+
params?: {};
|
|
15453
|
+
} | {
|
|
15454
|
+
name?: "removeUselessDefs";
|
|
15455
|
+
params?: {};
|
|
15456
|
+
} | {
|
|
15457
|
+
name?: "removeUselessStrokeAndFill";
|
|
15458
|
+
params?: {
|
|
15459
|
+
stroke?: boolean;
|
|
15460
|
+
fill?: boolean;
|
|
15461
|
+
removeNone?: boolean;
|
|
15462
|
+
};
|
|
15463
|
+
} | {
|
|
15464
|
+
name?: "removeViewBox";
|
|
15465
|
+
params?: {};
|
|
15466
|
+
} | {
|
|
15467
|
+
name?: "removeXlink";
|
|
15468
|
+
params?: {
|
|
15469
|
+
includeLegacy?: boolean;
|
|
15470
|
+
};
|
|
15471
|
+
} | {
|
|
15472
|
+
name?: "removeXMLNS";
|
|
15473
|
+
params?: {};
|
|
15474
|
+
} | {
|
|
15475
|
+
name?: "removeXMLProcInst";
|
|
15476
|
+
params?: {};
|
|
15477
|
+
} | {
|
|
15478
|
+
name?: "reusePaths";
|
|
15479
|
+
params?: {};
|
|
15480
|
+
} | {
|
|
15481
|
+
name?: "sortAttrs";
|
|
15482
|
+
params?: {
|
|
15483
|
+
order?: string[];
|
|
15484
|
+
xmlnsOrder?: "front";
|
|
15485
|
+
};
|
|
15486
|
+
} | {
|
|
15487
|
+
name?: "sortDefsChildren";
|
|
15488
|
+
params?: {};
|
|
15489
|
+
})[];
|
|
15490
|
+
}
|
|
15491
|
+
];
|
|
14966
15492
|
type SwitchColonSpacing = [] | [
|
|
14967
15493
|
{
|
|
14968
15494
|
before?: boolean;
|
|
@@ -17050,12 +17576,16 @@ type Yoda = [] | [("always" | "never")] | [
|
|
|
17050
17576
|
onlyEquality?: boolean;
|
|
17051
17577
|
}
|
|
17052
17578
|
];
|
|
17053
|
-
type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/es-x' | 'ntnyq/format/setup' | 'ntnyq/format/css' | 'ntnyq/format/scss' | 'ntnyq/format/less' | 'ntnyq/format/html' | 'ntnyq/github-action' | 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/import-x' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/pinia' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/regexp' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/stylistic' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vitest' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yaml';
|
|
17579
|
+
type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/es-x' | 'ntnyq/format/setup' | 'ntnyq/format/css' | 'ntnyq/format/scss' | 'ntnyq/format/less' | 'ntnyq/format/html' | 'ntnyq/github-action' | 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/import-x' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/pinia' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/regexp' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/stylistic' | 'ntnyq/svgo' | 'ntnyq/toml' | 'ntnyq/ts/setup' | 'ntnyq/ts/parser' | 'ntnyq/ts/rules' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vitest' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yaml';
|
|
17054
17580
|
|
|
17581
|
+
/**
|
|
17582
|
+
* ESLint rules
|
|
17583
|
+
*/
|
|
17584
|
+
type ESLintRulesRecord = Linter.RulesRecord;
|
|
17055
17585
|
/**
|
|
17056
17586
|
* ESLint config
|
|
17057
17587
|
*/
|
|
17058
|
-
type ESLintConfig = Linter.Config
|
|
17588
|
+
type ESLintConfig<Rules extends ESLintRulesRecord = ESLintRulesRecord> = Linter.Config<Rules>;
|
|
17059
17589
|
/**
|
|
17060
17590
|
* ESLint parser
|
|
17061
17591
|
*/
|
|
@@ -17081,7 +17611,7 @@ type TSESLintParserOptions = Pretty<Required<Required<ConfigWithExtends>['langua
|
|
|
17081
17611
|
/**
|
|
17082
17612
|
* Typed flat config item
|
|
17083
17613
|
*/
|
|
17084
|
-
type TypedConfigItem = Omit<Linter.Config<
|
|
17614
|
+
type TypedConfigItem = Omit<Linter.Config<ESLintRulesRecord & RuleOptions>, 'plugins'> & {
|
|
17085
17615
|
/**
|
|
17086
17616
|
* Most plugin are not properly typed
|
|
17087
17617
|
*/
|
|
@@ -17092,64 +17622,21 @@ type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & RuleOptions>, 'pl
|
|
|
17092
17622
|
* @file Config options
|
|
17093
17623
|
*/
|
|
17094
17624
|
|
|
17095
|
-
type ConfigIgnoresOptions = string[];
|
|
17096
|
-
/**
|
|
17097
|
-
* Options for overrides `files`
|
|
17098
|
-
*/
|
|
17099
|
-
type ConfigCommandOptions = ESLintPluginCommandOptions;
|
|
17100
|
-
interface ConfigYmlOptions extends OptionsOverrides {
|
|
17101
|
-
}
|
|
17102
|
-
interface OptionsFiles {
|
|
17103
|
-
files?: string[];
|
|
17104
|
-
}
|
|
17105
|
-
/**
|
|
17106
|
-
* Options for add `extensions` support
|
|
17107
|
-
*/
|
|
17108
17625
|
interface ConfigAntfuOptions extends OptionsOverrides {
|
|
17109
17626
|
}
|
|
17627
|
+
type ConfigCommandOptions = ESLintPluginCommandOptions;
|
|
17110
17628
|
interface ConfigCommentsOptions extends OptionsOverrides {
|
|
17111
17629
|
}
|
|
17112
|
-
interface
|
|
17113
|
-
}
|
|
17114
|
-
interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
|
|
17115
|
-
}
|
|
17116
|
-
interface ConfigImportXOptions extends OptionsOverrides {
|
|
17117
|
-
}
|
|
17118
|
-
interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
|
|
17119
|
-
}
|
|
17120
|
-
interface ConfigJsoncOptions extends OptionsOverrides {
|
|
17121
|
-
}
|
|
17122
|
-
interface ConfigNodeOptions extends OptionsOverrides {
|
|
17123
|
-
}
|
|
17124
|
-
interface ConfigNtnyqOptions extends OptionsOverrides {
|
|
17125
|
-
}
|
|
17126
|
-
interface ConfigPiniaOptions extends OptionsFiles, OptionsOverrides {
|
|
17127
|
-
}
|
|
17128
|
-
interface ConfigStylisticOptions extends OptionsOverrides {
|
|
17129
|
-
}
|
|
17130
|
-
interface ConfigTomlOptions extends OptionsOverrides {
|
|
17131
|
-
}
|
|
17132
|
-
interface ConfigUnicornOptions extends OptionsOverrides {
|
|
17133
|
-
}
|
|
17134
|
-
interface ConfigUnusedImportsOptions extends OptionsOverrides {
|
|
17135
|
-
}
|
|
17136
|
-
interface OptionsExtensions {
|
|
17137
|
-
extensions?: string[];
|
|
17138
|
-
}
|
|
17139
|
-
/**
|
|
17140
|
-
* Options for add `features` support
|
|
17141
|
-
*/
|
|
17142
|
-
interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
17143
|
-
}
|
|
17144
|
-
type OptionsFeatures = {
|
|
17630
|
+
interface ConfigDependOptions extends OptionsFiles, OptionsOverrides {
|
|
17145
17631
|
/**
|
|
17146
|
-
*
|
|
17632
|
+
* Check deps in package.json
|
|
17633
|
+
*
|
|
17634
|
+
* @default true
|
|
17147
17635
|
*/
|
|
17148
|
-
|
|
17149
|
-
}
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
*/
|
|
17636
|
+
packageJson?: boolean;
|
|
17637
|
+
}
|
|
17638
|
+
interface ConfigEsXOptions extends OptionsOverrides {
|
|
17639
|
+
}
|
|
17153
17640
|
interface ConfigFormatOptions {
|
|
17154
17641
|
/**
|
|
17155
17642
|
* Enable formatter support for css, less, scss, sass and etc.
|
|
@@ -17178,6 +17665,8 @@ interface ConfigFormatOptions {
|
|
|
17178
17665
|
*/
|
|
17179
17666
|
dprintOptions?: boolean;
|
|
17180
17667
|
}
|
|
17668
|
+
interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
|
|
17669
|
+
}
|
|
17181
17670
|
type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
|
|
17182
17671
|
/**
|
|
17183
17672
|
* Throw an error if gitignore file not found.
|
|
@@ -17186,6 +17675,9 @@ type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
|
|
|
17186
17675
|
*/
|
|
17187
17676
|
strict?: boolean;
|
|
17188
17677
|
};
|
|
17678
|
+
type ConfigIgnoresOptions = string[];
|
|
17679
|
+
interface ConfigImportXOptions extends OptionsOverrides {
|
|
17680
|
+
}
|
|
17189
17681
|
interface ConfigJavaScriptOptions extends OptionsOverrides {
|
|
17190
17682
|
/**
|
|
17191
17683
|
* Enable strict checking for JavaScript files
|
|
@@ -17194,6 +17686,16 @@ interface ConfigJavaScriptOptions extends OptionsOverrides {
|
|
|
17194
17686
|
*/
|
|
17195
17687
|
strict?: boolean;
|
|
17196
17688
|
}
|
|
17689
|
+
interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
|
|
17690
|
+
}
|
|
17691
|
+
interface ConfigJsoncOptions extends OptionsOverrides {
|
|
17692
|
+
}
|
|
17693
|
+
interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
17694
|
+
}
|
|
17695
|
+
interface ConfigNodeOptions extends OptionsOverrides {
|
|
17696
|
+
}
|
|
17697
|
+
interface ConfigNtnyqOptions extends OptionsOverrides {
|
|
17698
|
+
}
|
|
17197
17699
|
interface ConfigPerfectionistOptions extends OptionsOverrides {
|
|
17198
17700
|
/**
|
|
17199
17701
|
* Enable sort `constants`
|
|
@@ -17226,6 +17728,8 @@ interface ConfigPerfectionistOptions extends OptionsOverrides {
|
|
|
17226
17728
|
*/
|
|
17227
17729
|
overridesTypesRules?: TypedConfigItem['rules'];
|
|
17228
17730
|
}
|
|
17731
|
+
interface ConfigPiniaOptions extends OptionsFiles, OptionsOverrides {
|
|
17732
|
+
}
|
|
17229
17733
|
interface ConfigPrettierOptions extends OptionsOverrides {
|
|
17230
17734
|
/**
|
|
17231
17735
|
* TODO: remove in next major version
|
|
@@ -17304,12 +17808,17 @@ interface ConfigSpecialsOptions {
|
|
|
17304
17808
|
*/
|
|
17305
17809
|
specialCaseConfigs?: TypedConfigItem[];
|
|
17306
17810
|
}
|
|
17811
|
+
interface ConfigStylisticOptions extends OptionsOverrides {
|
|
17812
|
+
}
|
|
17813
|
+
type ConfigSVGOOptions = ESLintConfig<Rules>;
|
|
17307
17814
|
interface ConfigTestOptions extends OptionsOverrides {
|
|
17308
17815
|
/**
|
|
17309
17816
|
* Overrides built-in vitest rules
|
|
17310
17817
|
*/
|
|
17311
17818
|
overridesVitestRules?: TypedConfigItem['rules'];
|
|
17312
17819
|
}
|
|
17820
|
+
interface ConfigTomlOptions extends OptionsOverrides {
|
|
17821
|
+
}
|
|
17313
17822
|
interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
17314
17823
|
/**
|
|
17315
17824
|
* Enable type aware check for TypeScript files
|
|
@@ -17334,6 +17843,8 @@ interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, Optio
|
|
|
17334
17843
|
*/
|
|
17335
17844
|
overridesTypeAwareRules?: TypedConfigItem['rules'];
|
|
17336
17845
|
}
|
|
17846
|
+
interface ConfigUnicornOptions extends OptionsOverrides {
|
|
17847
|
+
}
|
|
17337
17848
|
interface ConfigUnoCSSOptions extends OptionsOverrides {
|
|
17338
17849
|
/**
|
|
17339
17850
|
* Enable attributify sort order
|
|
@@ -17342,6 +17853,8 @@ interface ConfigUnoCSSOptions extends OptionsOverrides {
|
|
|
17342
17853
|
*/
|
|
17343
17854
|
attributify?: boolean;
|
|
17344
17855
|
}
|
|
17856
|
+
interface ConfigUnusedImportsOptions extends OptionsOverrides {
|
|
17857
|
+
}
|
|
17345
17858
|
interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrides {
|
|
17346
17859
|
/**
|
|
17347
17860
|
* Create virtual files for Vue SFC blocks to enable linting.
|
|
@@ -17358,6 +17871,32 @@ interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrid
|
|
|
17358
17871
|
*/
|
|
17359
17872
|
vueVersion?: 2 | 3;
|
|
17360
17873
|
}
|
|
17874
|
+
interface ConfigYmlOptions extends OptionsOverrides {
|
|
17875
|
+
}
|
|
17876
|
+
/**
|
|
17877
|
+
* Options for overrides `files`
|
|
17878
|
+
*/
|
|
17879
|
+
interface OptionsFiles {
|
|
17880
|
+
files?: string[];
|
|
17881
|
+
}
|
|
17882
|
+
/**
|
|
17883
|
+
* Options for add `extensions` support
|
|
17884
|
+
*/
|
|
17885
|
+
interface OptionsExtensions {
|
|
17886
|
+
extensions?: string[];
|
|
17887
|
+
}
|
|
17888
|
+
/**
|
|
17889
|
+
* Options for add `features` support
|
|
17890
|
+
*/
|
|
17891
|
+
type OptionsFeatures = {
|
|
17892
|
+
/**
|
|
17893
|
+
* Enable typescript support
|
|
17894
|
+
*/
|
|
17895
|
+
typescript?: boolean;
|
|
17896
|
+
};
|
|
17897
|
+
/**
|
|
17898
|
+
* Options for overrides `rules`
|
|
17899
|
+
*/
|
|
17361
17900
|
interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
|
|
17362
17901
|
overrides?: Rules;
|
|
17363
17902
|
}
|
|
@@ -17386,6 +17925,7 @@ interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
|
|
|
17386
17925
|
* bellow can be disabled
|
|
17387
17926
|
*/
|
|
17388
17927
|
antfu?: boolean | ConfigAntfuOptions;
|
|
17928
|
+
depend?: boolean | ConfigDependOptions;
|
|
17389
17929
|
githubAction?: boolean | ConfigGitHubActionOptions;
|
|
17390
17930
|
gitignore?: boolean | ConfigGitIgnoreOptions;
|
|
17391
17931
|
jsonc?: boolean | ConfigJsoncOptions;
|
|
@@ -17396,6 +17936,7 @@ interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
|
|
|
17396
17936
|
regexp?: boolean | ConfigRegexpOptions;
|
|
17397
17937
|
sort?: boolean | ConfigSortOptions;
|
|
17398
17938
|
stylistic?: boolean | ConfigStylisticOptions;
|
|
17939
|
+
svgo?: boolean | ConfigSVGOOptions;
|
|
17399
17940
|
test?: boolean | ConfigTestOptions;
|
|
17400
17941
|
toml?: boolean | ConfigTomlOptions;
|
|
17401
17942
|
typescript?: boolean | ConfigTypeScriptOptions;
|
|
@@ -17441,6 +17982,7 @@ declare const GLOB_POSTCSS = "**/*.{p,post}css";
|
|
|
17441
17982
|
declare const GLOB_JSON = "**/*.json";
|
|
17442
17983
|
declare const GLOB_JSON5 = "**/*.json5";
|
|
17443
17984
|
declare const GLOB_JSONC = "**/*.jsonc";
|
|
17985
|
+
declare const GLOB_PACKAGE_JSON = "**/package.json";
|
|
17444
17986
|
declare const GLOB_VUE = "**/*.vue";
|
|
17445
17987
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
17446
17988
|
declare const GLOB_TOML = "**/*.toml";
|
|
@@ -17519,6 +18061,8 @@ declare const toml: (options?: ConfigTomlOptions) => TypedConfigItem[];
|
|
|
17519
18061
|
declare const test: (options?: ConfigTestOptions) => TypedConfigItem[];
|
|
17520
18062
|
declare const vitest: (options?: ConfigTestOptions) => TypedConfigItem[];
|
|
17521
18063
|
|
|
18064
|
+
declare const svgo: (options?: ConfigSVGOOptions) => TypedConfigItem[];
|
|
18065
|
+
|
|
17522
18066
|
declare const antfu: (options?: ConfigAntfuOptions) => TypedConfigItem[];
|
|
17523
18067
|
|
|
17524
18068
|
declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
|
|
@@ -17529,6 +18073,11 @@ declare const pinia: (options?: ConfigPiniaOptions) => TypedConfigItem[];
|
|
|
17529
18073
|
|
|
17530
18074
|
declare const ntnyq: (options?: ConfigNtnyqOptions) => TypedConfigItem[];
|
|
17531
18075
|
|
|
18076
|
+
/**
|
|
18077
|
+
* @see {@link https://github.com/es-tooling/module-replacements}
|
|
18078
|
+
*/
|
|
18079
|
+
declare const depend: (options?: ConfigDependOptions) => TypedConfigItem[];
|
|
18080
|
+
|
|
17532
18081
|
/**
|
|
17533
18082
|
* @file config for plugin regexp
|
|
17534
18083
|
* @see {@link https://github.com/ota-meshi/eslint-plugin-regexp}
|
|
@@ -17582,4 +18131,4 @@ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConf
|
|
|
17582
18131
|
*/
|
|
17583
18132
|
declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
|
|
17584
18133
|
|
|
17585
|
-
export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigEsXOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportXOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigStylisticOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, DEFAULT_PRETTIER_OPTIONS, type ESLintConfig, type ESLintParser, type ESLintParserOptions, type ESLintProcessor, type ESLintRuleSeverity, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PINIA_STORE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_TYPES, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsExtensions, type OptionsFeatures, type OptionsFiles, type OptionsOverrides, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, esX, format, getOverrides, githubAction, gitignore, hasPinia, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, importX, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, pinia, prettier, regexp, resolveSubOptions, sort, specials, stylistic, test, toArray, toml, typescript, unicorn, unocss, unusedImports, vitest, vue, yml };
|
|
18134
|
+
export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigDependOptions, type ConfigEsXOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportXOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPiniaOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSVGOOptions, type ConfigSortOptions, type ConfigSpecialsOptions, type ConfigStylisticOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, DEFAULT_PRETTIER_OPTIONS, type ESLintConfig, type ESLintParser, type ESLintParserOptions, type ESLintProcessor, type ESLintRuleSeverity, type ESLintRulesRecord, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_TYPES, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsExtensions, type OptionsFeatures, type OptionsFiles, type OptionsOverrides, type PrettierOptions, type Pretty, type ResolvedOptions, type RuleOptions, type TSESLintParserOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, depend, esX, format, getOverrides, githubAction, gitignore, hasPinia, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, importX, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, pinia, prettier, regexp, resolveSubOptions, sort, specials, stylistic, svgo, test, toArray, toml, typescript, unicorn, unocss, unusedImports, vitest, vue, yml };
|