@ntnyq/eslint-config 3.10.0 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3,7 +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
+ import { RuleOptions as RuleOptions$1 } from 'eslint-plugin-svgo/rule-options';
7
7
  import { Options } from 'eslint-processor-vue-blocks';
8
8
  export { default as processorVueBlocks } from 'eslint-processor-vue-blocks';
9
9
  import { Linter } from 'eslint';
@@ -37,6 +37,7 @@ export { default as pluginStylistic } from '@stylistic/eslint-plugin';
37
37
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
38
38
  export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
39
39
  export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
40
+ import * as eslint_plugin_import_x_node_resolver_js from 'eslint-plugin-import-x/node-resolver.js';
40
41
  export { mergeProcessors, processorPassThrough } from 'eslint-merge-processors';
41
42
  import * as vueEslintParser from 'vue-eslint-parser';
42
43
  export { vueEslintParser as parserVue };
@@ -46,6 +47,7 @@ import * as yamlEslintParser from 'yaml-eslint-parser';
46
47
  export { yamlEslintParser as parserYaml };
47
48
  import * as jsoncEslintParser from 'jsonc-eslint-parser';
48
49
  export { jsoncEslintParser as parserJsonc };
50
+ export { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
49
51
 
50
52
  /**
51
53
  * @file Type Utils
@@ -15040,7 +15042,7 @@ type SvgoSvgo = [] | [
15040
15042
  doctypeStart?: string;
15041
15043
  eol?: ("lf" | "crlf");
15042
15044
  finalNewline?: boolean;
15043
- indent?: number;
15045
+ indent?: (string | number);
15044
15046
  pretty?: boolean;
15045
15047
  procInstEnd?: string;
15046
15048
  procInstStart?: string;
@@ -15053,33 +15055,34 @@ type SvgoSvgo = [] | [
15053
15055
  textEnd?: string;
15054
15056
  textStart?: string;
15055
15057
  useShortTags?: boolean;
15056
- [k: string]: unknown | undefined;
15057
15058
  };
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";
15059
+ 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" | "removeDeprecatedAttrs" | "removeDimensions" | "removeElementsByAttr" | "removeOffCanvasPaths" | "removeRasterImages" | "removeScripts" | "removeStyleElement" | "removeXlink" | "removeXMLNS" | "reusePaths") | {
15060
+ name: "addAttributesToSVGElement";
15060
15061
  params?: {
15061
- attributes?: ({
15062
- [k: string]: unknown | undefined;
15063
- } | string[]);
15062
+ attribute?: (string | {
15063
+ [k: string]: (string | null);
15064
+ });
15065
+ attributes?: (string | {
15066
+ [k: string]: (string | null);
15067
+ })[];
15064
15068
  };
15065
15069
  } | {
15066
- name?: "addClassesToSVGElement";
15070
+ name: "addClassesToSVGElement";
15067
15071
  params?: {
15068
- classNames?: string[];
15069
15072
  className?: string;
15073
+ classNames?: string[];
15070
15074
  };
15071
15075
  } | {
15072
- name?: "cleanupAttrs";
15076
+ name: "cleanupAttrs";
15073
15077
  params?: {
15074
15078
  newlines?: boolean;
15075
15079
  trim?: boolean;
15076
15080
  spaces?: boolean;
15077
15081
  };
15078
15082
  } | {
15079
- name?: "cleanupEnableBackground";
15080
- params?: {};
15083
+ name: "cleanupEnableBackground";
15081
15084
  } | {
15082
- name?: "cleanupIds";
15085
+ name: "cleanupIds";
15083
15086
  params?: {
15084
15087
  remove?: boolean;
15085
15088
  minify?: boolean;
@@ -15088,7 +15091,7 @@ type SvgoSvgo = [] | [
15088
15091
  preservePrefixes?: string[];
15089
15092
  };
15090
15093
  } | {
15091
- name?: "cleanupListOfValues";
15094
+ name: "cleanupListOfValues";
15092
15095
  params?: {
15093
15096
  floatPrecision?: number;
15094
15097
  leadingZero?: boolean;
@@ -15096,7 +15099,7 @@ type SvgoSvgo = [] | [
15096
15099
  convertToPx?: boolean;
15097
15100
  };
15098
15101
  } | {
15099
- name?: "cleanupNumericValues";
15102
+ name: "cleanupNumericValues";
15100
15103
  params?: {
15101
15104
  floatPrecision?: number;
15102
15105
  leadingZero?: boolean;
@@ -15104,56 +15107,59 @@ type SvgoSvgo = [] | [
15104
15107
  convertToPx?: boolean;
15105
15108
  };
15106
15109
  } | {
15107
- name?: "collapseGroups";
15108
- params?: {};
15110
+ name: "collapseGroups";
15109
15111
  } | {
15110
- name?: "convertColors";
15112
+ name: "convertColors";
15111
15113
  params?: {
15112
- currentColor?: boolean;
15114
+ currentColor?: (boolean | string);
15113
15115
  names2hex?: boolean;
15114
15116
  rgb2hex?: boolean;
15115
- convertCase?: (boolean | ("lower" | "upper"));
15117
+ convertCase?: (false | ("lower" | "upper"));
15116
15118
  shorthex?: boolean;
15117
15119
  shortname?: boolean;
15118
15120
  };
15119
15121
  } | {
15120
- name?: "convertEllipseToCircle";
15121
- params?: {};
15122
+ name: "convertEllipseToCircle";
15122
15123
  } | {
15123
- name?: "convertOneStopGradients";
15124
- params?: {};
15124
+ name: "convertOneStopGradients";
15125
15125
  } | {
15126
- name?: "convertPathData";
15126
+ name: "convertPathData";
15127
15127
  params?: {
15128
15128
  applyTransforms?: boolean;
15129
15129
  applyTransformsStroked?: boolean;
15130
+ makeArcs?: {
15131
+ threshold?: number;
15132
+ tolerance?: number;
15133
+ };
15130
15134
  straightCurves?: boolean;
15131
15135
  convertToQ?: boolean;
15132
15136
  lineShorthands?: boolean;
15133
15137
  convertToZ?: boolean;
15134
15138
  curveSmoothShorthands?: boolean;
15135
- floatPrecision?: number;
15139
+ floatPrecision?: (false | number);
15136
15140
  transformPrecision?: number;
15137
15141
  smartArcRounding?: boolean;
15138
15142
  removeUseless?: boolean;
15139
15143
  collapseRepeated?: boolean;
15140
15144
  utilizeAbsolute?: boolean;
15145
+ leadingZero?: boolean;
15141
15146
  negativeExtraSpace?: boolean;
15147
+ noSpaceAfterFlags?: boolean;
15142
15148
  forceAbsolutePath?: boolean;
15143
15149
  };
15144
15150
  } | {
15145
- name?: "convertShapeToPath";
15151
+ name: "convertShapeToPath";
15146
15152
  params?: {
15147
15153
  convertArcs?: boolean;
15148
15154
  floatPrecision?: number;
15149
15155
  };
15150
15156
  } | {
15151
- name?: "convertStyleToAttrs";
15157
+ name: "convertStyleToAttrs";
15152
15158
  params?: {
15153
15159
  keepImportant?: boolean;
15154
15160
  };
15155
15161
  } | {
15156
- name?: "convertTransform";
15162
+ name: "convertTransform";
15157
15163
  params?: {
15158
15164
  convertToShorts?: boolean;
15159
15165
  floatPrecision?: number;
@@ -15166,42 +15172,49 @@ type SvgoSvgo = [] | [
15166
15172
  collapseIntoOne?: boolean;
15167
15173
  };
15168
15174
  } | {
15169
- name?: "inlineStyles";
15175
+ name: "inlineStyles";
15170
15176
  params?: {
15171
15177
  onlyMatchedOnce?: boolean;
15172
15178
  removeMatchedSelectors?: boolean;
15179
+ useMqs?: string[];
15180
+ usePseudos?: string[];
15173
15181
  };
15174
15182
  } | {
15175
- name?: "mergePaths";
15183
+ name: "mergePaths";
15176
15184
  params?: {
15177
15185
  force?: boolean;
15178
15186
  floatPrecision?: number;
15179
15187
  noSpaceAfterFlags?: boolean;
15180
15188
  };
15181
15189
  } | {
15182
- name?: "mergeStyles";
15183
- params?: {};
15190
+ name: "mergeStyles";
15184
15191
  } | {
15185
- name?: "minifyStyles";
15192
+ name: "minifyStyles";
15186
15193
  params?: {
15187
- usage?: boolean;
15194
+ restructure?: boolean;
15195
+ forceMediaMerge?: boolean;
15196
+ comments?: (boolean | string);
15197
+ usage?: (boolean | {
15198
+ force?: boolean;
15199
+ ids?: boolean;
15200
+ classes?: boolean;
15201
+ tags?: boolean;
15202
+ });
15188
15203
  };
15189
15204
  } | {
15190
- name?: "moveElemsAttrsToGroup";
15191
- params?: {};
15205
+ name: "moveElemsAttrsToGroup";
15192
15206
  } | {
15193
- name?: "moveGroupAttrsToElems";
15194
- params?: {};
15207
+ name: "moveGroupAttrsToElems";
15195
15208
  } | {
15196
- name?: "prefixIds";
15209
+ name: "prefixIds";
15197
15210
  params?: {
15198
15211
  delim?: string;
15199
- prefix?: string;
15212
+ prefix?: (boolean | string);
15200
15213
  prefixIds?: boolean;
15201
15214
  prefixClassNames?: boolean;
15202
15215
  };
15203
15216
  } | {
15204
- name?: "preset-default";
15217
+ name: "preset-default";
15205
15218
  params?: {
15206
15219
  overrides?: {
15207
15220
  cleanupAttrs?: (boolean | {
@@ -15209,7 +15222,7 @@ type SvgoSvgo = [] | [
15209
15222
  trim?: boolean;
15210
15223
  spaces?: boolean;
15211
15224
  });
15212
- cleanupEnableBackground?: (boolean | {});
15225
+ cleanupEnableBackground?: false;
15213
15226
  cleanupIds?: (boolean | {
15214
15227
  remove?: boolean;
15215
15228
  minify?: boolean;
@@ -15223,23 +15236,38 @@ type SvgoSvgo = [] | [
15223
15236
  defaultPx?: boolean;
15224
15237
  convertToPx?: boolean;
15225
15238
  });
15226
- collapseGroups?: (boolean | {});
15239
+ collapseGroups?: false;
15227
15240
  convertColors?: (boolean | {
15228
- currentColor?: boolean;
15241
+ currentColor?: (boolean | string);
15229
15242
  names2hex?: boolean;
15230
15243
  rgb2hex?: boolean;
15231
- convertCase?: (boolean | ("lower" | "upper"));
15244
+ convertCase?: (false | ("lower" | "upper"));
15232
15245
  shorthex?: boolean;
15233
15246
  shortname?: boolean;
15234
15247
  });
15235
- convertEllipseToCircle?: (boolean | {});
15248
+ convertEllipseToCircle?: false;
15236
15249
  convertPathData?: (boolean | {
15237
- currentColor?: boolean;
15238
- names2hex?: boolean;
15239
- rgb2hex?: boolean;
15240
- convertCase?: (boolean | ("lower" | "upper"));
15241
- shorthex?: boolean;
15242
- shortname?: boolean;
15250
+ applyTransforms?: boolean;
15251
+ applyTransformsStroked?: boolean;
15252
+ makeArcs?: {
15253
+ threshold?: number;
15254
+ tolerance?: number;
15255
+ };
15256
+ straightCurves?: boolean;
15257
+ convertToQ?: boolean;
15258
+ lineShorthands?: boolean;
15259
+ convertToZ?: boolean;
15260
+ curveSmoothShorthands?: boolean;
15261
+ floatPrecision?: (false | number);
15262
+ transformPrecision?: number;
15263
+ smartArcRounding?: boolean;
15264
+ removeUseless?: boolean;
15265
+ collapseRepeated?: boolean;
15266
+ utilizeAbsolute?: boolean;
15267
+ leadingZero?: boolean;
15268
+ negativeExtraSpace?: boolean;
15269
+ noSpaceAfterFlags?: boolean;
15270
+ forceAbsolutePath?: boolean;
15243
15271
  });
15244
15272
  convertShapeToPath?: (boolean | {
15245
15273
  convertArcs?: boolean;
@@ -15259,20 +15287,30 @@ type SvgoSvgo = [] | [
15259
15287
  inlineStyles?: (boolean | {
15260
15288
  onlyMatchedOnce?: boolean;
15261
15289
  removeMatchedSelectors?: boolean;
15290
+ useMqs?: string[];
15291
+ usePseudos?: string[];
15262
15292
  });
15263
15293
  mergePaths?: (boolean | {
15264
15294
  force?: boolean;
15265
15295
  floatPrecision?: number;
15266
15296
  noSpaceAfterFlags?: boolean;
15267
15297
  });
15268
- mergeStyles?: (boolean | {});
15298
+ mergeStyles?: false;
15269
15299
  minifyStyles?: (boolean | {
15270
- usage?: boolean;
15300
+ restructure?: boolean;
15301
+ forceMediaMerge?: boolean;
15302
+ comments?: (boolean | string);
15303
+ usage?: (boolean | {
15304
+ force?: boolean;
15305
+ ids?: boolean;
15306
+ classes?: boolean;
15307
+ tags?: boolean;
15308
+ });
15271
15309
  });
15272
- moveElemsAttrsToGroup?: (boolean | {});
15273
- moveGroupAttrsToElems?: (boolean | {});
15310
+ moveElemsAttrsToGroup?: false;
15311
+ moveGroupAttrsToElems?: false;
15274
15312
  removeComments?: (boolean | {
15275
- preservePatterns?: (boolean | string[]);
15313
+ preservePatterns?: (false | string[]);
15276
15314
  });
15277
15315
  removeDesc?: (boolean | {
15278
15316
  removeAny?: boolean;
@@ -15281,8 +15319,8 @@ type SvgoSvgo = [] | [
15281
15319
  removeEditorsNSData?: (boolean | {
15282
15320
  additionalNamespaces?: string[];
15283
15321
  });
15284
- removeEmptyAttrs?: (boolean | {});
15285
- removeEmptyContainers?: (boolean | {});
15322
+ removeEmptyAttrs?: false;
15323
+ removeEmptyContainers?: false;
15286
15324
  removeEmptyText?: (boolean | {
15287
15325
  text?: boolean;
15288
15326
  tspan?: boolean;
@@ -15305,9 +15343,9 @@ type SvgoSvgo = [] | [
15305
15343
  polylineEmptyPoints?: boolean;
15306
15344
  polygonEmptyPoints?: boolean;
15307
15345
  });
15308
- removeMetadata?: (boolean | {});
15309
- removeNonInheritableGroupAttrs?: (boolean | {});
15310
- removeTitle?: (boolean | {});
15346
+ removeMetadata?: false;
15347
+ removeNonInheritableGroupAttrs?: false;
15348
+ removeTitle?: false;
15311
15349
  removeUnknownsAndDefaults?: (boolean | {
15312
15350
  unknownContent?: boolean;
15313
15351
  unknownAttrs?: boolean;
@@ -15318,24 +15356,24 @@ type SvgoSvgo = [] | [
15318
15356
  keepAriaAttrs?: boolean;
15319
15357
  keepRoleAttr?: boolean;
15320
15358
  });
15321
- removeUnusedNS?: (boolean | {});
15322
- removeUselessDefs?: (boolean | {});
15359
+ removeUnusedNS?: false;
15360
+ removeUselessDefs?: false;
15323
15361
  removeUselessStrokeAndFill?: (boolean | {
15324
15362
  stroke?: boolean;
15325
15363
  fill?: boolean;
15326
15364
  removeNone?: boolean;
15327
15365
  });
15328
- removeViewBox?: (boolean | {});
15329
- removeXMLProcInst?: (boolean | {});
15366
+ removeViewBox?: false;
15367
+ removeXMLProcInst?: false;
15330
15368
  sortAttrs?: (boolean | {
15331
15369
  order?: string[];
15332
- xmlnsOrder?: "front";
15370
+ xmlnsOrder?: ("front" | "alphabetical");
15333
15371
  });
15334
- sortDefsChildren?: (boolean | {});
15372
+ sortDefsChildren?: false;
15335
15373
  };
15336
15374
  };
15337
15375
  } | {
15338
- name?: "removeAttributesBySelector";
15376
+ name: "removeAttributesBySelector";
15339
15377
  params?: {
15340
15378
  selectors?: {
15341
15379
  selector?: string;
@@ -15344,59 +15382,57 @@ type SvgoSvgo = [] | [
15344
15382
  }[];
15345
15383
  };
15346
15384
  } | {
15347
- name?: "removeAttrs";
15385
+ name: "removeAttrs";
15348
15386
  params?: {
15349
- attrs?: string;
15387
+ attrs?: (string | string[]);
15350
15388
  elemSeparator?: string;
15351
15389
  preserveCurrentColor?: boolean;
15352
15390
  };
15353
15391
  } | {
15354
- name?: "removeComments";
15392
+ name: "removeComments";
15355
15393
  params?: {
15356
- preservePatterns?: (boolean | string[]);
15394
+ preservePatterns?: (false | string[]);
15357
15395
  };
15358
15396
  } | {
15359
- name?: "removeDeprecatedAttrs";
15397
+ name: "removeDeprecatedAttrs";
15360
15398
  params?: {
15361
15399
  removeAny?: boolean;
15362
15400
  };
15363
15401
  } | {
15364
- name?: "removeDesc";
15402
+ name: "removeDesc";
15365
15403
  params?: {
15366
15404
  removeAny?: boolean;
15367
15405
  };
15368
15406
  } | {
15369
- name?: "removeDimensions";
15407
+ name: "removeDimensions";
15370
15408
  params?: {};
15371
15409
  } | {
15372
- name?: "removeDoctype";
15410
+ name: "removeDoctype";
15373
15411
  params?: {};
15374
15412
  } | {
15375
- name?: "removeEditorsNSData";
15413
+ name: "removeEditorsNSData";
15376
15414
  params?: {
15377
15415
  additionalNamespaces?: string[];
15378
15416
  };
15379
15417
  } | {
15380
- name?: "removeElementsByAttr";
15418
+ name: "removeElementsByAttr";
15381
15419
  params?: {
15382
- id?: string[];
15383
- class?: string[];
15420
+ id?: (string | string[]);
15421
+ class?: (string | string[]);
15384
15422
  };
15385
15423
  } | {
15386
- name?: "removeEmptyAttrs";
15387
- params?: {};
15424
+ name: "removeEmptyAttrs";
15388
15425
  } | {
15389
- name?: "removeEmptyContainers";
15390
- params?: {};
15426
+ name: "removeEmptyContainers";
15391
15427
  } | {
15392
- name?: "removeEmptyText";
15428
+ name: "removeEmptyText";
15393
15429
  params?: {
15394
15430
  text?: boolean;
15395
15431
  tspan?: boolean;
15396
15432
  tref?: boolean;
15397
15433
  };
15398
15434
  } | {
15399
- name?: "removeHiddenElems";
15435
+ name: "removeHiddenElems";
15400
15436
  params?: {
15401
15437
  isHidden?: boolean;
15402
15438
  displayNone?: boolean;
@@ -15415,28 +15451,21 @@ type SvgoSvgo = [] | [
15415
15451
  polygonEmptyPoints?: boolean;
15416
15452
  };
15417
15453
  } | {
15418
- name?: "removeMetadata";
15419
- params?: {};
15454
+ name: "removeMetadata";
15420
15455
  } | {
15421
- name?: "removeNonInheritableGroupAttrs";
15422
- params?: {};
15456
+ name: "removeNonInheritableGroupAttrs";
15423
15457
  } | {
15424
- name?: "removeOffCanvasPaths";
15425
- params?: {};
15458
+ name: "removeOffCanvasPaths";
15426
15459
  } | {
15427
- name?: "removeRasterImages";
15428
- params?: {};
15460
+ name: "removeRasterImages";
15429
15461
  } | {
15430
- name?: "removeScriptElement";
15431
- params?: {};
15462
+ name: "removeScripts";
15432
15463
  } | {
15433
- name?: "removeStyleElement";
15434
- params?: {};
15464
+ name: "removeStyleElement";
15435
15465
  } | {
15436
- name?: "removeTitle";
15437
- params?: {};
15466
+ name: "removeTitle";
15438
15467
  } | {
15439
- name?: "removeUnknownsAndDefaults";
15468
+ name: "removeUnknownsAndDefaults";
15440
15469
  params?: {
15441
15470
  unknownContent?: boolean;
15442
15471
  unknownAttrs?: boolean;
@@ -15448,45 +15477,39 @@ type SvgoSvgo = [] | [
15448
15477
  keepRoleAttr?: boolean;
15449
15478
  };
15450
15479
  } | {
15451
- name?: "removeUnusedNS";
15452
- params?: {};
15480
+ name: "removeUnusedNS";
15453
15481
  } | {
15454
- name?: "removeUselessDefs";
15455
- params?: {};
15482
+ name: "removeUselessDefs";
15456
15483
  } | {
15457
- name?: "removeUselessStrokeAndFill";
15484
+ name: "removeUselessStrokeAndFill";
15458
15485
  params?: {
15459
15486
  stroke?: boolean;
15460
15487
  fill?: boolean;
15461
15488
  removeNone?: boolean;
15462
15489
  };
15463
15490
  } | {
15464
- name?: "removeViewBox";
15465
- params?: {};
15491
+ name: "removeViewBox";
15466
15492
  } | {
15467
- name?: "removeXlink";
15493
+ name: "removeXlink";
15468
15494
  params?: {
15469
15495
  includeLegacy?: boolean;
15470
15496
  };
15471
15497
  } | {
15472
- name?: "removeXMLNS";
15473
- params?: {};
15498
+ name: "removeXMLNS";
15474
15499
  } | {
15475
- name?: "removeXMLProcInst";
15476
- params?: {};
15500
+ name: "removeXMLProcInst";
15477
15501
  } | {
15478
- name?: "reusePaths";
15479
- params?: {};
15502
+ name: "reusePaths";
15480
15503
  } | {
15481
- name?: "sortAttrs";
15504
+ name: "sortAttrs";
15482
15505
  params?: {
15483
15506
  order?: string[];
15484
- xmlnsOrder?: "front";
15507
+ xmlnsOrder?: ("front" | "alphabetical");
15485
15508
  };
15486
15509
  } | {
15487
- name?: "sortDefsChildren";
15488
- params?: {};
15510
+ name: "sortDefsChildren";
15489
15511
  })[];
15512
+ svgoConfig?: (boolean | string);
15490
15513
  }
15491
15514
  ];
15492
15515
  type SwitchColonSpacing = [] | [
@@ -17676,7 +17699,13 @@ type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
17676
17699
  strict?: boolean;
17677
17700
  };
17678
17701
  type ConfigIgnoresOptions = string[];
17679
- interface ConfigImportXOptions extends OptionsOverrides {
17702
+ interface ConfigImportXOptions extends OptionsFeatures, OptionsOverrides {
17703
+ /**
17704
+ * Use typescriptResolver if `typescript` is installed
17705
+ *
17706
+ * @default true
17707
+ */
17708
+ preferTypeScriptResolver?: boolean;
17680
17709
  }
17681
17710
  interface ConfigJavaScriptOptions extends OptionsOverrides {
17682
17711
  /**
@@ -17810,7 +17839,7 @@ interface ConfigSpecialsOptions {
17810
17839
  }
17811
17840
  interface ConfigStylisticOptions extends OptionsOverrides {
17812
17841
  }
17813
- type ConfigSVGOOptions = ESLintConfig<Rules>;
17842
+ type ConfigSVGOOptions = ESLintConfig<RuleOptions$1>;
17814
17843
  interface ConfigTestOptions extends OptionsOverrides {
17815
17844
  /**
17816
17845
  * Overrides built-in vitest rules
@@ -17983,6 +18012,7 @@ declare const GLOB_JSON = "**/*.json";
17983
18012
  declare const GLOB_JSON5 = "**/*.json5";
17984
18013
  declare const GLOB_JSONC = "**/*.jsonc";
17985
18014
  declare const GLOB_PACKAGE_JSON = "**/package.json";
18015
+ declare const GLOB_SVG = "**/*.svg";
17986
18016
  declare const GLOB_VUE = "**/*.vue";
17987
18017
  declare const GLOB_YAML = "**/*.y?(a)ml";
17988
18018
  declare const GLOB_TOML = "**/*.toml";
@@ -18046,6 +18076,8 @@ declare const parserTypeScript: {
18046
18076
  */
18047
18077
  declare const parserPlain: ESLintParser;
18048
18078
 
18079
+ declare const createNodeResolver: typeof eslint_plugin_import_x_node_resolver_js.createNodeResolver;
18080
+
18049
18081
  declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
18050
18082
 
18051
18083
  declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
@@ -18131,4 +18163,4 @@ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConf
18131
18163
  */
18132
18164
  declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
18133
18165
 
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 };
18166
+ 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_SVG, 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, createNodeResolver, 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 };