@ntnyq/eslint-config 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -16,12 +16,10 @@ import * as eslintPluginDepend from 'eslint-plugin-depend';
16
16
  export { eslintPluginDepend as pluginDepend };
17
17
  export { default as pluginNode } from 'eslint-plugin-n';
18
18
  export { default as pluginVue } from 'eslint-plugin-vue';
19
- export { default as pluginEsX } from 'eslint-plugin-es-x';
20
19
  export { default as pluginYaml } from 'eslint-plugin-yml';
21
20
  export { default as pluginSvgo } from 'eslint-plugin-svgo';
22
21
  export { default as pluginToml } from 'eslint-plugin-toml';
23
22
  export { default as pluginPinia } from 'eslint-plugin-pinia';
24
- export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
25
23
  export { default as pluginMarkdown } from '@eslint/markdown';
26
24
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
27
25
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
@@ -32,7 +30,6 @@ export { default as pluginVitest } from '@vitest/eslint-plugin';
32
30
  export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
33
31
  export { default as pluginImportX } from 'eslint-plugin-import-x';
34
32
  export { default as pluginPrettier } from 'eslint-plugin-prettier';
35
- export { default as pluginStylistic } from '@stylistic/eslint-plugin';
36
33
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
37
34
  export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
38
35
  export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
@@ -2996,6 +2993,161 @@ interface RuleOptions {
2996
2993
  * @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weakrefs.html
2997
2994
  */
2998
2995
  'es-x/no-weakrefs'?: Linter.RuleEntry<[]>;
2996
+ /**
2997
+ * enforce consistent use of `output` assertions in rule tests
2998
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/consistent-output.md
2999
+ */
3000
+ 'eslint-plugin/consistent-output'?: Linter.RuleEntry<EslintPluginConsistentOutput>;
3001
+ /**
3002
+ * require fixer functions to return a fix
3003
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/fixer-return.md
3004
+ */
3005
+ 'eslint-plugin/fixer-return'?: Linter.RuleEntry<[]>;
3006
+ /**
3007
+ * enforce the order of meta properties
3008
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/meta-property-ordering.md
3009
+ */
3010
+ 'eslint-plugin/meta-property-ordering'?: Linter.RuleEntry<EslintPluginMetaPropertyOrdering>;
3011
+ /**
3012
+ * disallow usage of deprecated methods on rule context objects
3013
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-deprecated-context-methods.md
3014
+ */
3015
+ 'eslint-plugin/no-deprecated-context-methods'?: Linter.RuleEntry<[]>;
3016
+ /**
3017
+ * disallow the version of `context.report()` with multiple arguments
3018
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-deprecated-report-api.md
3019
+ */
3020
+ 'eslint-plugin/no-deprecated-report-api'?: Linter.RuleEntry<[]>;
3021
+ /**
3022
+ * disallow identical tests
3023
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-identical-tests.md
3024
+ */
3025
+ 'eslint-plugin/no-identical-tests'?: Linter.RuleEntry<[]>;
3026
+ /**
3027
+ * disallow rules `meta.schema` properties to include defaults
3028
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-schema-default.md
3029
+ */
3030
+ 'eslint-plugin/no-meta-schema-default'?: Linter.RuleEntry<[]>;
3031
+ /**
3032
+ * disallow `messageId`s that are missing from `meta.messages`
3033
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-message-ids.md
3034
+ */
3035
+ 'eslint-plugin/no-missing-message-ids'?: Linter.RuleEntry<[]>;
3036
+ /**
3037
+ * disallow missing placeholders in rule report messages
3038
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-placeholders.md
3039
+ */
3040
+ 'eslint-plugin/no-missing-placeholders'?: Linter.RuleEntry<[]>;
3041
+ /**
3042
+ * disallow the test case property `only`
3043
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-only-tests.md
3044
+ */
3045
+ 'eslint-plugin/no-only-tests'?: Linter.RuleEntry<[]>;
3046
+ /**
3047
+ * disallow using `in` to narrow node types instead of looking at properties
3048
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-property-in-node.md
3049
+ */
3050
+ 'eslint-plugin/no-property-in-node'?: Linter.RuleEntry<EslintPluginNoPropertyInNode>;
3051
+ /**
3052
+ * disallow unused `messageId`s in `meta.messages`
3053
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-unused-message-ids.md
3054
+ */
3055
+ 'eslint-plugin/no-unused-message-ids'?: Linter.RuleEntry<[]>;
3056
+ /**
3057
+ * disallow unused placeholders in rule report messages
3058
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-unused-placeholders.md
3059
+ */
3060
+ 'eslint-plugin/no-unused-placeholders'?: Linter.RuleEntry<[]>;
3061
+ /**
3062
+ * disallow unnecessary calls to `sourceCode.getFirstToken()` and `sourceCode.getLastToken()`
3063
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-useless-token-range.md
3064
+ */
3065
+ 'eslint-plugin/no-useless-token-range'?: Linter.RuleEntry<[]>;
3066
+ /**
3067
+ * require using `messageId` instead of `message` or `desc` to report rule violations
3068
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/prefer-message-ids.md
3069
+ */
3070
+ 'eslint-plugin/prefer-message-ids'?: Linter.RuleEntry<[]>;
3071
+ /**
3072
+ * disallow function-style rules
3073
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/prefer-object-rule.md
3074
+ */
3075
+ 'eslint-plugin/prefer-object-rule'?: Linter.RuleEntry<[]>;
3076
+ /**
3077
+ * disallow invalid RuleTester test cases where the `output` matches the `code`
3078
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/prefer-output-null.md
3079
+ */
3080
+ 'eslint-plugin/prefer-output-null'?: Linter.RuleEntry<[]>;
3081
+ /**
3082
+ * require using placeholders for dynamic report messages
3083
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/prefer-placeholders.md
3084
+ */
3085
+ 'eslint-plugin/prefer-placeholders'?: Linter.RuleEntry<[]>;
3086
+ /**
3087
+ * require using `replaceText()` instead of `replaceTextRange()`
3088
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/prefer-replace-text.md
3089
+ */
3090
+ 'eslint-plugin/prefer-replace-text'?: Linter.RuleEntry<[]>;
3091
+ /**
3092
+ * enforce a consistent format for rule report messages
3093
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/report-message-format.md
3094
+ */
3095
+ 'eslint-plugin/report-message-format'?: Linter.RuleEntry<EslintPluginReportMessageFormat>;
3096
+ /**
3097
+ * require only rules with options to implement a `meta.defaultOptions` property
3098
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-default-options.md
3099
+ */
3100
+ 'eslint-plugin/require-meta-default-options'?: Linter.RuleEntry<[]>;
3101
+ /**
3102
+ * require rules to implement a `meta.docs.description` property with the correct format
3103
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-docs-description.md
3104
+ */
3105
+ 'eslint-plugin/require-meta-docs-description'?: Linter.RuleEntry<EslintPluginRequireMetaDocsDescription>;
3106
+ /**
3107
+ * require rules to implement a `meta.docs.recommended` property
3108
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-docs-recommended.md
3109
+ */
3110
+ 'eslint-plugin/require-meta-docs-recommended'?: Linter.RuleEntry<EslintPluginRequireMetaDocsRecommended>;
3111
+ /**
3112
+ * require rules to implement a `meta.docs.url` property
3113
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-docs-url.md
3114
+ */
3115
+ 'eslint-plugin/require-meta-docs-url'?: Linter.RuleEntry<EslintPluginRequireMetaDocsUrl>;
3116
+ /**
3117
+ * require rules to implement a `meta.fixable` property
3118
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-fixable.md
3119
+ */
3120
+ 'eslint-plugin/require-meta-fixable'?: Linter.RuleEntry<EslintPluginRequireMetaFixable>;
3121
+ /**
3122
+ * require suggestable rules to implement a `meta.hasSuggestions` property
3123
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-has-suggestions.md
3124
+ */
3125
+ 'eslint-plugin/require-meta-has-suggestions'?: Linter.RuleEntry<[]>;
3126
+ /**
3127
+ * require rules to implement a `meta.schema` property
3128
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-schema.md
3129
+ */
3130
+ 'eslint-plugin/require-meta-schema'?: Linter.RuleEntry<EslintPluginRequireMetaSchema>;
3131
+ /**
3132
+ * require rules `meta.schema` properties to include descriptions
3133
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-schema-description.md
3134
+ */
3135
+ 'eslint-plugin/require-meta-schema-description'?: Linter.RuleEntry<[]>;
3136
+ /**
3137
+ * require rules to implement a `meta.type` property
3138
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/require-meta-type.md
3139
+ */
3140
+ 'eslint-plugin/require-meta-type'?: Linter.RuleEntry<[]>;
3141
+ /**
3142
+ * require the properties of a test case to be placed in a consistent order
3143
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/test-case-property-ordering.md
3144
+ */
3145
+ 'eslint-plugin/test-case-property-ordering'?: Linter.RuleEntry<EslintPluginTestCasePropertyOrdering>;
3146
+ /**
3147
+ * enforce consistent usage of shorthand strings for test cases with no options
3148
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/test-case-shorthand-strings.md
3149
+ */
3150
+ 'eslint-plugin/test-case-shorthand-strings'?: Linter.RuleEntry<EslintPluginTestCaseShorthandStrings>;
2999
3151
  /**
3000
3152
  * Enforce `for` loop update clause moving the counter in the right direction
3001
3153
  * @see https://eslint.org/docs/latest/rules/for-direction
@@ -5108,6 +5260,11 @@ interface RuleOptions {
5108
5260
  * @see https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html
5109
5261
  */
5110
5262
  'ntnyq/no-member-accessibility'?: Linter.RuleEntry<[]>;
5263
+ /**
5264
+ * require a newline after file header
5265
+ * @see https://eslint-plugin.ntnyq.com/rules/prefer-newline-after-file-header.html
5266
+ */
5267
+ 'ntnyq/prefer-newline-after-file-header'?: Linter.RuleEntry<NtnyqPreferNewlineAfterFileHeader>;
5111
5268
  /**
5112
5269
  * Enforce consistent line breaks after opening and before closing braces
5113
5270
  * @see https://eslint.org/docs/latest/rules/object-curly-newline
@@ -11644,6 +11801,41 @@ type EsXNoSymbolPrototypeDescription = [] | [
11644
11801
  aggressive?: boolean;
11645
11802
  }
11646
11803
  ];
11804
+ type EslintPluginConsistentOutput = [] | [("always" | "consistent")];
11805
+ type EslintPluginMetaPropertyOrdering = [] | [unknown[]];
11806
+ type EslintPluginNoPropertyInNode = [] | [
11807
+ {
11808
+ additionalNodeTypeFiles?: unknown[];
11809
+ }
11810
+ ];
11811
+ type EslintPluginReportMessageFormat = [] | [string];
11812
+ type EslintPluginRequireMetaDocsDescription = [] | [
11813
+ {
11814
+ pattern?: string;
11815
+ }
11816
+ ];
11817
+ type EslintPluginRequireMetaDocsRecommended = [] | [
11818
+ {
11819
+ allowNonBoolean?: boolean;
11820
+ }
11821
+ ];
11822
+ type EslintPluginRequireMetaDocsUrl = [] | [
11823
+ {
11824
+ pattern?: string;
11825
+ }
11826
+ ];
11827
+ type EslintPluginRequireMetaFixable = [] | [
11828
+ {
11829
+ catchNoFixerButFixableProperty?: boolean;
11830
+ }
11831
+ ];
11832
+ type EslintPluginRequireMetaSchema = [] | [
11833
+ {
11834
+ requireSchemaPropertyWhenOptionless?: boolean;
11835
+ }
11836
+ ];
11837
+ type EslintPluginTestCasePropertyOrdering = [] | [unknown[]];
11838
+ type EslintPluginTestCaseShorthandStrings = [] | [("as-needed" | "never" | "consistent" | "consistent-as-needed")];
11647
11839
  type FormatDprint = [] | [
11648
11840
  {
11649
11841
  language?: string;
@@ -14166,6 +14358,11 @@ type NtnyqNoDuplicateExports = [] | [
14166
14358
  style?: ("inline" | "separate");
14167
14359
  }
14168
14360
  ];
14361
+ type NtnyqPreferNewlineAfterFileHeader = [] | [
14362
+ {
14363
+ tags?: string[];
14364
+ }
14365
+ ];
14169
14366
  type ObjectCurlyNewline = [] | [
14170
14367
  ((("always" | "never") | {
14171
14368
  multiline?: boolean;
@@ -14266,12 +14463,17 @@ type PaddingLineBetweenStatements = {
14266
14463
  next: _PaddingLineBetweenStatementsStatementType;
14267
14464
  }[];
14268
14465
  type PerfectionistSortArrayIncludes = {
14269
- partitionByComment?: (string[] | boolean | string);
14466
+ partitionByComment?: (string[] | boolean | string | {
14467
+ block?: (string[] | boolean | string);
14468
+ line?: (string[] | boolean | string);
14469
+ [k: string]: unknown | undefined;
14470
+ });
14270
14471
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
14271
14472
  customGroups?: ({
14272
14473
  groupName?: string;
14273
14474
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14274
14475
  order?: ("desc" | "asc");
14476
+ newlinesInside?: ("always" | "never");
14275
14477
  anyOf?: {
14276
14478
  selector?: ("literal" | "spread");
14277
14479
  elementNamePattern?: string;
@@ -14280,6 +14482,7 @@ type PerfectionistSortArrayIncludes = {
14280
14482
  groupName?: string;
14281
14483
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14282
14484
  order?: ("desc" | "asc");
14485
+ newlinesInside?: ("always" | "never");
14283
14486
  selector?: ("literal" | "spread");
14284
14487
  elementNamePattern?: string;
14285
14488
  })[];
@@ -14292,17 +14495,25 @@ type PerfectionistSortArrayIncludes = {
14292
14495
  ignoreCase?: boolean;
14293
14496
  alphabet?: string;
14294
14497
  locales?: (string | string[]);
14295
- groups?: (string | string[])[];
14498
+ groups?: (string | string[] | {
14499
+ newlinesBetween?: ("ignore" | "always" | "never");
14500
+ [k: string]: unknown | undefined;
14501
+ })[];
14296
14502
  order?: ("asc" | "desc");
14297
14503
  }[];
14298
14504
  type PerfectionistSortClasses = [] | [
14299
14505
  {
14300
14506
  ignoreCallbackDependenciesPatterns?: string[];
14301
- partitionByComment?: (string[] | boolean | string);
14507
+ partitionByComment?: (string[] | boolean | string | {
14508
+ block?: (string[] | boolean | string);
14509
+ line?: (string[] | boolean | string);
14510
+ [k: string]: unknown | undefined;
14511
+ });
14302
14512
  customGroups?: ({
14303
14513
  groupName?: string;
14304
14514
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14305
14515
  order?: ("desc" | "asc");
14516
+ newlinesInside?: ("always" | "never");
14306
14517
  anyOf?: {
14307
14518
  elementValuePattern?: string;
14308
14519
  decoratorNamePattern?: string;
@@ -14314,6 +14525,7 @@ type PerfectionistSortClasses = [] | [
14314
14525
  groupName?: string;
14315
14526
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14316
14527
  order?: ("desc" | "asc");
14528
+ newlinesInside?: ("always" | "never");
14317
14529
  elementValuePattern?: string;
14318
14530
  decoratorNamePattern?: string;
14319
14531
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
@@ -14327,13 +14539,20 @@ type PerfectionistSortClasses = [] | [
14327
14539
  alphabet?: string;
14328
14540
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14329
14541
  locales?: (string | string[]);
14330
- groups?: (string | string[])[];
14542
+ groups?: (string | string[] | {
14543
+ newlinesBetween?: ("ignore" | "always" | "never");
14544
+ [k: string]: unknown | undefined;
14545
+ })[];
14331
14546
  order?: ("asc" | "desc");
14332
14547
  }
14333
14548
  ];
14334
14549
  type PerfectionistSortDecorators = [] | [
14335
14550
  {
14336
- partitionByComment?: (string[] | boolean | string);
14551
+ partitionByComment?: (string[] | boolean | string | {
14552
+ block?: (string[] | boolean | string);
14553
+ line?: (string[] | boolean | string);
14554
+ [k: string]: unknown | undefined;
14555
+ });
14337
14556
  sortOnParameters?: boolean;
14338
14557
  sortOnProperties?: boolean;
14339
14558
  sortOnAccessors?: boolean;
@@ -14347,13 +14566,20 @@ type PerfectionistSortDecorators = [] | [
14347
14566
  alphabet?: string;
14348
14567
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14349
14568
  locales?: (string | string[]);
14350
- groups?: (string | string[])[];
14569
+ groups?: (string | string[] | {
14570
+ newlinesBetween?: ("ignore" | "always" | "never");
14571
+ [k: string]: unknown | undefined;
14572
+ })[];
14351
14573
  order?: ("asc" | "desc");
14352
14574
  }
14353
14575
  ];
14354
14576
  type PerfectionistSortEnums = [] | [
14355
14577
  {
14356
- partitionByComment?: (string[] | boolean | string);
14578
+ partitionByComment?: (string[] | boolean | string | {
14579
+ block?: (string[] | boolean | string);
14580
+ line?: (string[] | boolean | string);
14581
+ [k: string]: unknown | undefined;
14582
+ });
14357
14583
  forceNumericSort?: boolean;
14358
14584
  sortByValue?: boolean;
14359
14585
  partitionByNewLine?: boolean;
@@ -14367,7 +14593,11 @@ type PerfectionistSortEnums = [] | [
14367
14593
  ];
14368
14594
  type PerfectionistSortExports = [] | [
14369
14595
  {
14370
- partitionByComment?: (string[] | boolean | string);
14596
+ partitionByComment?: (string[] | boolean | string | {
14597
+ block?: (string[] | boolean | string);
14598
+ line?: (string[] | boolean | string);
14599
+ [k: string]: unknown | undefined;
14600
+ });
14371
14601
  groupKind?: ("mixed" | "values-first" | "types-first");
14372
14602
  partitionByNewLine?: boolean;
14373
14603
  specialCharacters?: ("remove" | "trim" | "keep");
@@ -14388,7 +14618,10 @@ type PerfectionistSortHeritageClauses = [] | [
14388
14618
  alphabet?: string;
14389
14619
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14390
14620
  locales?: (string | string[]);
14391
- groups?: (string | string[])[];
14621
+ groups?: (string | string[] | {
14622
+ newlinesBetween?: ("ignore" | "always" | "never");
14623
+ [k: string]: unknown | undefined;
14624
+ })[];
14392
14625
  order?: ("asc" | "desc");
14393
14626
  }
14394
14627
  ];
@@ -14402,7 +14635,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
14402
14635
  [k: string]: unknown | undefined;
14403
14636
  };
14404
14637
  };
14405
- partitionByComment?: (string[] | boolean | string);
14638
+ partitionByComment?: (string[] | boolean | string | {
14639
+ block?: (string[] | boolean | string);
14640
+ line?: (string[] | boolean | string);
14641
+ [k: string]: unknown | undefined;
14642
+ });
14406
14643
  internalPattern?: string[];
14407
14644
  maxLineLength?: number;
14408
14645
  sortSideEffects?: boolean;
@@ -14415,7 +14652,10 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
14415
14652
  alphabet?: string;
14416
14653
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14417
14654
  locales?: (string | string[]);
14418
- groups?: (string | string[])[];
14655
+ groups?: (string | string[] | {
14656
+ newlinesBetween?: ("ignore" | "always" | "never");
14657
+ [k: string]: unknown | undefined;
14658
+ })[];
14419
14659
  order?: ("asc" | "desc");
14420
14660
  });
14421
14661
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
@@ -14431,13 +14671,18 @@ type PerfectionistSortInterfaces = {
14431
14671
  allNamesMatchPattern?: string;
14432
14672
  declarationMatchesPattern?: string;
14433
14673
  };
14434
- partitionByComment?: (string[] | boolean | string);
14674
+ partitionByComment?: (string[] | boolean | string | {
14675
+ block?: (string[] | boolean | string);
14676
+ line?: (string[] | boolean | string);
14677
+ [k: string]: unknown | undefined;
14678
+ });
14435
14679
  customGroups?: ({
14436
14680
  [k: string]: (string | string[]) | undefined;
14437
14681
  } | ({
14438
14682
  groupName?: string;
14439
14683
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14440
14684
  order?: ("desc" | "asc");
14685
+ newlinesInside?: ("always" | "never");
14441
14686
  anyOf?: {
14442
14687
  modifiers?: ("optional" | "required" | "multiline")[];
14443
14688
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
@@ -14447,6 +14692,7 @@ type PerfectionistSortInterfaces = {
14447
14692
  groupName?: string;
14448
14693
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14449
14694
  order?: ("desc" | "asc");
14695
+ newlinesInside?: ("always" | "never");
14450
14696
  modifiers?: ("optional" | "required" | "multiline")[];
14451
14697
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14452
14698
  elementNamePattern?: string;
@@ -14459,12 +14705,19 @@ type PerfectionistSortInterfaces = {
14459
14705
  ignoreCase?: boolean;
14460
14706
  alphabet?: string;
14461
14707
  locales?: (string | string[]);
14462
- groups?: (string | string[])[];
14708
+ groups?: (string | string[] | {
14709
+ newlinesBetween?: ("ignore" | "always" | "never");
14710
+ [k: string]: unknown | undefined;
14711
+ })[];
14463
14712
  order?: ("asc" | "desc");
14464
14713
  }[];
14465
14714
  type PerfectionistSortIntersectionTypes = [] | [
14466
14715
  {
14467
- partitionByComment?: (string[] | boolean | string);
14716
+ partitionByComment?: (string[] | boolean | string | {
14717
+ block?: (string[] | boolean | string);
14718
+ line?: (string[] | boolean | string);
14719
+ [k: string]: unknown | undefined;
14720
+ });
14468
14721
  partitionByNewLine?: boolean;
14469
14722
  specialCharacters?: ("remove" | "trim" | "keep");
14470
14723
  newlinesBetween?: ("ignore" | "always" | "never");
@@ -14472,7 +14725,10 @@ type PerfectionistSortIntersectionTypes = [] | [
14472
14725
  alphabet?: string;
14473
14726
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14474
14727
  locales?: (string | string[]);
14475
- groups?: (string | string[])[];
14728
+ groups?: (string | string[] | {
14729
+ newlinesBetween?: ("ignore" | "always" | "never");
14730
+ [k: string]: unknown | undefined;
14731
+ })[];
14476
14732
  order?: ("asc" | "desc");
14477
14733
  }
14478
14734
  ];
@@ -14487,13 +14743,20 @@ type PerfectionistSortJsxProps = [] | [
14487
14743
  alphabet?: string;
14488
14744
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14489
14745
  locales?: (string | string[]);
14490
- groups?: (string | string[])[];
14746
+ groups?: (string | string[] | {
14747
+ newlinesBetween?: ("ignore" | "always" | "never");
14748
+ [k: string]: unknown | undefined;
14749
+ })[];
14491
14750
  order?: ("asc" | "desc");
14492
14751
  }
14493
14752
  ];
14494
14753
  type PerfectionistSortMaps = [] | [
14495
14754
  {
14496
- partitionByComment?: (string[] | boolean | string);
14755
+ partitionByComment?: (string[] | boolean | string | {
14756
+ block?: (string[] | boolean | string);
14757
+ line?: (string[] | boolean | string);
14758
+ [k: string]: unknown | undefined;
14759
+ });
14497
14760
  partitionByNewLine?: boolean;
14498
14761
  specialCharacters?: ("remove" | "trim" | "keep");
14499
14762
  ignoreCase?: boolean;
@@ -14505,11 +14768,16 @@ type PerfectionistSortMaps = [] | [
14505
14768
  ];
14506
14769
  type PerfectionistSortModules = [] | [
14507
14770
  {
14508
- partitionByComment?: (string[] | boolean | string);
14771
+ partitionByComment?: (string[] | boolean | string | {
14772
+ block?: (string[] | boolean | string);
14773
+ line?: (string[] | boolean | string);
14774
+ [k: string]: unknown | undefined;
14775
+ });
14509
14776
  customGroups?: ({
14510
14777
  groupName?: string;
14511
14778
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14512
14779
  order?: ("desc" | "asc");
14780
+ newlinesInside?: ("always" | "never");
14513
14781
  anyOf?: {
14514
14782
  decoratorNamePattern?: string;
14515
14783
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
@@ -14520,6 +14788,7 @@ type PerfectionistSortModules = [] | [
14520
14788
  groupName?: string;
14521
14789
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14522
14790
  order?: ("desc" | "asc");
14791
+ newlinesInside?: ("always" | "never");
14523
14792
  decoratorNamePattern?: string;
14524
14793
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
14525
14794
  selector?: ("enum" | "function" | "interface" | "type" | "class");
@@ -14532,13 +14801,20 @@ type PerfectionistSortModules = [] | [
14532
14801
  alphabet?: string;
14533
14802
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14534
14803
  locales?: (string | string[]);
14535
- groups?: (string | string[])[];
14804
+ groups?: (string | string[] | {
14805
+ newlinesBetween?: ("ignore" | "always" | "never");
14806
+ [k: string]: unknown | undefined;
14807
+ })[];
14536
14808
  order?: ("asc" | "desc");
14537
14809
  }
14538
14810
  ];
14539
14811
  type PerfectionistSortNamedExports = [] | [
14540
14812
  {
14541
- partitionByComment?: (string[] | boolean | string);
14813
+ partitionByComment?: (string[] | boolean | string | {
14814
+ block?: (string[] | boolean | string);
14815
+ line?: (string[] | boolean | string);
14816
+ [k: string]: unknown | undefined;
14817
+ });
14542
14818
  groupKind?: ("mixed" | "values-first" | "types-first");
14543
14819
  partitionByNewLine?: boolean;
14544
14820
  specialCharacters?: ("remove" | "trim" | "keep");
@@ -14551,7 +14827,11 @@ type PerfectionistSortNamedExports = [] | [
14551
14827
  ];
14552
14828
  type PerfectionistSortNamedImports = [] | [
14553
14829
  {
14554
- partitionByComment?: (string[] | boolean | string);
14830
+ partitionByComment?: (string[] | boolean | string | {
14831
+ block?: (string[] | boolean | string);
14832
+ line?: (string[] | boolean | string);
14833
+ [k: string]: unknown | undefined;
14834
+ });
14555
14835
  groupKind?: ("mixed" | "values-first" | "types-first");
14556
14836
  ignoreAlias?: boolean;
14557
14837
  partitionByNewLine?: boolean;
@@ -14569,13 +14849,18 @@ type PerfectionistSortObjectTypes = {
14569
14849
  allNamesMatchPattern?: string;
14570
14850
  declarationMatchesPattern?: string;
14571
14851
  };
14572
- partitionByComment?: (string[] | boolean | string);
14852
+ partitionByComment?: (string[] | boolean | string | {
14853
+ block?: (string[] | boolean | string);
14854
+ line?: (string[] | boolean | string);
14855
+ [k: string]: unknown | undefined;
14856
+ });
14573
14857
  customGroups?: ({
14574
14858
  [k: string]: (string | string[]) | undefined;
14575
14859
  } | ({
14576
14860
  groupName?: string;
14577
14861
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14578
14862
  order?: ("desc" | "asc");
14863
+ newlinesInside?: ("always" | "never");
14579
14864
  anyOf?: {
14580
14865
  modifiers?: ("optional" | "required" | "multiline")[];
14581
14866
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
@@ -14585,6 +14870,7 @@ type PerfectionistSortObjectTypes = {
14585
14870
  groupName?: string;
14586
14871
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14587
14872
  order?: ("desc" | "asc");
14873
+ newlinesInside?: ("always" | "never");
14588
14874
  modifiers?: ("optional" | "required" | "multiline")[];
14589
14875
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14590
14876
  elementNamePattern?: string;
@@ -14597,7 +14883,10 @@ type PerfectionistSortObjectTypes = {
14597
14883
  ignoreCase?: boolean;
14598
14884
  alphabet?: string;
14599
14885
  locales?: (string | string[]);
14600
- groups?: (string | string[])[];
14886
+ groups?: (string | string[] | {
14887
+ newlinesBetween?: ("ignore" | "always" | "never");
14888
+ [k: string]: unknown | undefined;
14889
+ })[];
14601
14890
  order?: ("asc" | "desc");
14602
14891
  }[];
14603
14892
  type PerfectionistSortObjects = {
@@ -14609,7 +14898,11 @@ type PerfectionistSortObjects = {
14609
14898
  allNamesMatchPattern?: string;
14610
14899
  callingFunctionNamePattern?: string;
14611
14900
  };
14612
- partitionByComment?: (string[] | boolean | string);
14901
+ partitionByComment?: (string[] | boolean | string | {
14902
+ block?: (string[] | boolean | string);
14903
+ line?: (string[] | boolean | string);
14904
+ [k: string]: unknown | undefined;
14905
+ });
14613
14906
  destructureOnly?: boolean;
14614
14907
  objectDeclarations?: boolean;
14615
14908
  styledComponents?: boolean;
@@ -14623,16 +14916,24 @@ type PerfectionistSortObjects = {
14623
14916
  ignoreCase?: boolean;
14624
14917
  alphabet?: string;
14625
14918
  locales?: (string | string[]);
14626
- groups?: (string | string[])[];
14919
+ groups?: (string | string[] | {
14920
+ newlinesBetween?: ("ignore" | "always" | "never");
14921
+ [k: string]: unknown | undefined;
14922
+ })[];
14627
14923
  order?: ("asc" | "desc");
14628
14924
  }[];
14629
14925
  type PerfectionistSortSets = {
14630
- partitionByComment?: (string[] | boolean | string);
14926
+ partitionByComment?: (string[] | boolean | string | {
14927
+ block?: (string[] | boolean | string);
14928
+ line?: (string[] | boolean | string);
14929
+ [k: string]: unknown | undefined;
14930
+ });
14631
14931
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
14632
14932
  customGroups?: ({
14633
14933
  groupName?: string;
14634
14934
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14635
14935
  order?: ("desc" | "asc");
14936
+ newlinesInside?: ("always" | "never");
14636
14937
  anyOf?: {
14637
14938
  selector?: ("literal" | "spread");
14638
14939
  elementNamePattern?: string;
@@ -14641,6 +14942,7 @@ type PerfectionistSortSets = {
14641
14942
  groupName?: string;
14642
14943
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
14643
14944
  order?: ("desc" | "asc");
14945
+ newlinesInside?: ("always" | "never");
14644
14946
  selector?: ("literal" | "spread");
14645
14947
  elementNamePattern?: string;
14646
14948
  })[];
@@ -14653,7 +14955,10 @@ type PerfectionistSortSets = {
14653
14955
  ignoreCase?: boolean;
14654
14956
  alphabet?: string;
14655
14957
  locales?: (string | string[]);
14656
- groups?: (string | string[])[];
14958
+ groups?: (string | string[] | {
14959
+ newlinesBetween?: ("ignore" | "always" | "never");
14960
+ [k: string]: unknown | undefined;
14961
+ })[];
14657
14962
  order?: ("asc" | "desc");
14658
14963
  }[];
14659
14964
  type PerfectionistSortSwitchCase = [] | [
@@ -14668,7 +14973,11 @@ type PerfectionistSortSwitchCase = [] | [
14668
14973
  ];
14669
14974
  type PerfectionistSortUnionTypes = [] | [
14670
14975
  {
14671
- partitionByComment?: (string[] | boolean | string);
14976
+ partitionByComment?: (string[] | boolean | string | {
14977
+ block?: (string[] | boolean | string);
14978
+ line?: (string[] | boolean | string);
14979
+ [k: string]: unknown | undefined;
14980
+ });
14672
14981
  partitionByNewLine?: boolean;
14673
14982
  specialCharacters?: ("remove" | "trim" | "keep");
14674
14983
  newlinesBetween?: ("ignore" | "always" | "never");
@@ -14676,13 +14985,20 @@ type PerfectionistSortUnionTypes = [] | [
14676
14985
  alphabet?: string;
14677
14986
  type?: ("alphabetical" | "natural" | "line-length" | "custom");
14678
14987
  locales?: (string | string[]);
14679
- groups?: (string | string[])[];
14988
+ groups?: (string | string[] | {
14989
+ newlinesBetween?: ("ignore" | "always" | "never");
14990
+ [k: string]: unknown | undefined;
14991
+ })[];
14680
14992
  order?: ("asc" | "desc");
14681
14993
  }
14682
14994
  ];
14683
14995
  type PerfectionistSortVariableDeclarations = [] | [
14684
14996
  {
14685
- partitionByComment?: (string[] | boolean | string);
14997
+ partitionByComment?: (string[] | boolean | string | {
14998
+ block?: (string[] | boolean | string);
14999
+ line?: (string[] | boolean | string);
15000
+ [k: string]: unknown | undefined;
15001
+ });
14686
15002
  partitionByNewLine?: boolean;
14687
15003
  specialCharacters?: ("remove" | "trim" | "keep");
14688
15004
  ignoreCase?: boolean;
@@ -17607,7 +17923,7 @@ type Yoda = [] | [("always" | "never")] | [
17607
17923
  onlyEquality?: boolean;
17608
17924
  }
17609
17925
  ];
17610
- 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';
17926
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/eslint-plugin' | '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';
17611
17927
 
17612
17928
  /**
17613
17929
  * ESLint rules
@@ -17666,6 +17982,8 @@ interface ConfigDependOptions extends OptionsFiles, OptionsOverrides {
17666
17982
  */
17667
17983
  packageJson?: boolean;
17668
17984
  }
17985
+ interface ConfigESLintPluginOptions extends OptionsOverrides {
17986
+ }
17669
17987
  interface ConfigEsXOptions extends OptionsOverrides {
17670
17988
  }
17671
17989
  interface ConfigFormatOptions {
@@ -17950,7 +18268,6 @@ interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigI
17950
18268
  interface ConfigOptionsInternal {
17951
18269
  esX?: boolean | ConfigEsXOptions;
17952
18270
  format?: boolean | ConfigFormatOptions;
17953
- ntnyq?: boolean | ConfigNtnyqOptions;
17954
18271
  unusedImports?: boolean | ConfigUnusedImportsOptions;
17955
18272
  }
17956
18273
  /**
@@ -17970,10 +18287,12 @@ interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
17970
18287
  */
17971
18288
  antfu?: boolean | ConfigAntfuOptions;
17972
18289
  depend?: boolean | ConfigDependOptions;
18290
+ eslintPlugin?: boolean | ConfigESLintPluginOptions;
17973
18291
  githubAction?: boolean | ConfigGitHubActionOptions;
17974
18292
  gitignore?: boolean | ConfigGitIgnoreOptions;
17975
18293
  jsonc?: boolean | ConfigJsoncOptions;
17976
18294
  markdown?: boolean | ConfigMarkdownOptions;
18295
+ ntnyq?: boolean | ConfigNtnyqOptions;
17977
18296
  perfectionist?: boolean | ConfigPerfectionistOptions;
17978
18297
  pinia?: boolean | ConfigPiniaOptions;
17979
18298
  prettier?: boolean | ConfigPrettierOptions;
@@ -18046,23 +18365,27 @@ declare const GLOB_DIST = "**/dist/**";
18046
18365
  declare const GLOB_LOCKFILE: string[];
18047
18366
  declare const GLOB_EXCLUDE: string[];
18048
18367
 
18049
- declare const hasTypeScript: boolean;
18368
+ declare const hasPinia: boolean;
18050
18369
  declare const hasVitest: boolean;
18370
+ declare const hasTypeScript: boolean;
18051
18371
  declare const hasShadcnVue: boolean;
18052
- declare const hasVue: boolean;
18053
- declare const hasPinia: boolean;
18054
18372
  declare const hasUnoCSS: boolean;
18373
+ declare const hasVue: boolean;
18055
18374
 
18056
18375
  declare function toArray<T>(val?: Arrayable<T>): T[];
18057
18376
 
18377
+ declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
18378
+
18058
18379
  /**
18059
- * Load an ESLint plugin by name.
18060
- * @param name - The name of the plugin
18061
- * @returns The plugin module
18380
+ * @copyright {@link https://github.com/antfu/eslint-config}
18062
18381
  */
18063
- declare function loadPlugin<T = unknown>(name: string): Promise<T>;
18064
18382
 
18065
- declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
18383
+ declare function combineConfigs(...configs: Awaitable<TypedConfigItem | TypedConfigItem[]>[]): Promise<TypedConfigItem[]>;
18384
+
18385
+ /**
18386
+ * @copyright {@link https://github.com/antfu/eslint-config}
18387
+ */
18388
+ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
18066
18389
 
18067
18390
  /**
18068
18391
  * Interop default export from a module
@@ -18079,6 +18402,8 @@ declare function resolveSubOptions<T extends Record<string, any>, K extends keyo
18079
18402
 
18080
18403
  declare function mergePrettierOptions(options?: PrettierOptions, overrides?: PrettierOptions): PrettierOptions;
18081
18404
 
18405
+ declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
18406
+
18082
18407
  /**
18083
18408
  * @file ESLint parsers
18084
18409
  */
@@ -18110,7 +18435,7 @@ declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
18110
18435
 
18111
18436
  declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
18112
18437
 
18113
- declare const esX: (options?: ConfigEsXOptions) => TypedConfigItem[];
18438
+ declare const esX: (options?: ConfigEsXOptions) => Promise<TypedConfigItem[]>;
18114
18439
 
18115
18440
  declare const node: (options?: ConfigNodeOptions) => TypedConfigItem[];
18116
18441
 
@@ -18168,7 +18493,7 @@ declare const markdown: (options?: ConfigMarkdownOptions) => TypedConfigItem[];
18168
18493
 
18169
18494
  declare const prettier: (options?: ConfigPrettierOptions) => TypedConfigItem[];
18170
18495
 
18171
- declare const stylistic: (options?: ConfigStylisticOptions) => TypedConfigItem[];
18496
+ declare const stylistic: (options?: ConfigStylisticOptions) => Promise<TypedConfigItem[]>;
18172
18497
 
18173
18498
  declare const gitignore: (options?: ConfigGitIgnoreOptions) => TypedConfigItem[];
18174
18499
 
@@ -18177,6 +18502,8 @@ declare const jsx: () => TypedConfigItem[];
18177
18502
 
18178
18503
  declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
18179
18504
 
18505
+ declare const eslintPlugin: (options?: ConfigESLintPluginOptions) => Promise<TypedConfigItem[]>;
18506
+
18180
18507
  declare const githubAction: (options?: ConfigGitHubActionOptions) => TypedConfigItem[];
18181
18508
 
18182
18509
  /**
@@ -18191,4 +18518,4 @@ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConf
18191
18518
  */
18192
18519
  declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
18193
18520
 
18194
- 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, hasShadcnVue, 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 };
18521
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigDependOptions, type ConfigESLintPluginOptions, 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, combineConfigs, command, comments, createNodeResolver, defineESLintConfig, depend, ensurePackages, esX, eslintPlugin, format, getOverrides, githubAction, gitignore, hasPinia, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, importX, interopDefault, isInGitHooksOrRunByNanoStagedOrRunByTSX, javascript, jsdoc, jsonc, jsx, 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 };