@ntnyq/eslint-config 3.7.0 → 3.7.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.cjs +97 -60
- package/dist/index.d.cts +158 -126
- package/dist/index.d.ts +158 -126
- package/dist/index.js +97 -60
- package/package.json +9 -9
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
2
2
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
3
3
|
import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
|
|
4
|
+
import { RecommendedOptions } from 'eslint-plugin-github-action';
|
|
5
|
+
export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
|
|
4
6
|
import { Options } from 'eslint-processor-vue-blocks';
|
|
5
7
|
export { default as processorVueBlocks } from 'eslint-processor-vue-blocks';
|
|
6
8
|
import { Linter } from 'eslint';
|
|
@@ -26,7 +28,6 @@ export { default as pluginImport } from 'eslint-plugin-import-x';
|
|
|
26
28
|
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
27
29
|
export { default as pluginPrettier } from 'eslint-plugin-prettier';
|
|
28
30
|
export { default as pluginStylistic } from '@stylistic/eslint-plugin';
|
|
29
|
-
export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
|
|
30
31
|
export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
|
|
31
32
|
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
32
33
|
export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
|
|
@@ -50,25 +51,17 @@ type Arrayable<T> = T | T[];
|
|
|
50
51
|
/**
|
|
51
52
|
* Promise or not
|
|
52
53
|
*/
|
|
53
|
-
type Awaitable<T> = T |
|
|
54
|
+
type Awaitable<T> = Promise<T> | T;
|
|
54
55
|
/**
|
|
55
56
|
* Make types human readable
|
|
56
57
|
*/
|
|
58
|
+
type InteropModuleDefault<T> = T extends {
|
|
59
|
+
default: infer U;
|
|
60
|
+
} ? U : T;
|
|
57
61
|
type Pretty<T> = {
|
|
58
62
|
[P in keyof T]: T[P];
|
|
59
63
|
} & {};
|
|
60
64
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
61
|
-
type InteropModuleDefault<T> = T extends {
|
|
62
|
-
default: infer U;
|
|
63
|
-
} ? U : T;
|
|
64
|
-
/**
|
|
65
|
-
* A literal type that supports custom further strings but preserves autocompletion in IDEs.
|
|
66
|
-
*
|
|
67
|
-
* @see https://github.com/microsoft/TypeScript/issues/29729#issuecomment-471566609
|
|
68
|
-
*/
|
|
69
|
-
type LiteralUnion<Union extends Base, Base = string> = Union | (Base & {
|
|
70
|
-
zz_IGNORE_ME?: never;
|
|
71
|
-
});
|
|
72
65
|
|
|
73
66
|
interface RuleOptions {
|
|
74
67
|
/**
|
|
@@ -1549,6 +1542,16 @@ interface RuleOptions {
|
|
|
1549
1542
|
* @see https://eslint-plugin-github-action.ntnyq.com/rules/max-jobs-per-action.html
|
|
1550
1543
|
*/
|
|
1551
1544
|
'github-action/max-jobs-per-action'?: Linter.RuleEntry<GithubActionMaxJobsPerAction>;
|
|
1545
|
+
/**
|
|
1546
|
+
* disallow using external job.
|
|
1547
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/no-external-job.html
|
|
1548
|
+
*/
|
|
1549
|
+
'github-action/no-external-job'?: Linter.RuleEntry<[]>;
|
|
1550
|
+
/**
|
|
1551
|
+
* disallow using invalid key.
|
|
1552
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/no-invalid-key.html
|
|
1553
|
+
*/
|
|
1554
|
+
'github-action/no-invalid-key'?: Linter.RuleEntry<[]>;
|
|
1552
1555
|
/**
|
|
1553
1556
|
* disallow using top level env.
|
|
1554
1557
|
* @see https://eslint-plugin-github-action.ntnyq.com/rules/no-top-level-env.html
|
|
@@ -1559,6 +1562,16 @@ interface RuleOptions {
|
|
|
1559
1562
|
* @see https://eslint-plugin-github-action.ntnyq.com/rules/no-top-level-permissions.html
|
|
1560
1563
|
*/
|
|
1561
1564
|
'github-action/no-top-level-permissions'?: Linter.RuleEntry<[]>;
|
|
1565
|
+
/**
|
|
1566
|
+
* enforce action file extension.
|
|
1567
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/prefer-file-extension.html
|
|
1568
|
+
*/
|
|
1569
|
+
'github-action/prefer-file-extension'?: Linter.RuleEntry<GithubActionPreferFileExtension>;
|
|
1570
|
+
/**
|
|
1571
|
+
* enforce the style of job step uses.
|
|
1572
|
+
* @see https://eslint-plugin-github-action.ntnyq.com/rules/prefer-step-uses-style.html
|
|
1573
|
+
*/
|
|
1574
|
+
'github-action/prefer-step-uses-style'?: Linter.RuleEntry<GithubActionPreferStepUsesStyle>;
|
|
1562
1575
|
/**
|
|
1563
1576
|
* require action name to be set.
|
|
1564
1577
|
* @see https://eslint-plugin-github-action.ntnyq.com/rules/require-action-name.html
|
|
@@ -9425,6 +9438,22 @@ type GithubActionJobIdCasing = [] | [
|
|
|
9425
9438
|
})
|
|
9426
9439
|
];
|
|
9427
9440
|
type GithubActionMaxJobsPerAction = [] | [number];
|
|
9441
|
+
type GithubActionPreferFileExtension = [] | [
|
|
9442
|
+
(("yml" | "yaml") | {
|
|
9443
|
+
extension?: ("yml" | "yaml");
|
|
9444
|
+
caseSensitive?: boolean;
|
|
9445
|
+
})
|
|
9446
|
+
];
|
|
9447
|
+
type GithubActionPreferStepUsesStyle = [] | [
|
|
9448
|
+
(("release" | "commit" | "branch") | {
|
|
9449
|
+
commit?: boolean;
|
|
9450
|
+
release?: boolean;
|
|
9451
|
+
branch?: boolean;
|
|
9452
|
+
allowRepository?: boolean;
|
|
9453
|
+
allowDocker?: boolean;
|
|
9454
|
+
ignores?: string[];
|
|
9455
|
+
})
|
|
9456
|
+
];
|
|
9428
9457
|
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")];
|
|
9429
9458
|
type HandleCallbackErr = [] | [string];
|
|
9430
9459
|
type IdBlacklist = string[];
|
|
@@ -14720,88 +14749,83 @@ type ConfigIgnoresOptions = string[];
|
|
|
14720
14749
|
/**
|
|
14721
14750
|
* Options for overrides `files`
|
|
14722
14751
|
*/
|
|
14723
|
-
interface OptionsFiles {
|
|
14724
|
-
files?: string[];
|
|
14725
|
-
}
|
|
14726
14752
|
type ConfigCommandOptions = ESLintPluginCommandOptions;
|
|
14727
14753
|
interface ConfigYmlOptions extends OptionsOverrides {
|
|
14728
14754
|
}
|
|
14755
|
+
interface OptionsFiles {
|
|
14756
|
+
files?: string[];
|
|
14757
|
+
}
|
|
14729
14758
|
/**
|
|
14730
14759
|
* Options for add `extensions` support
|
|
14731
14760
|
*/
|
|
14732
|
-
interface
|
|
14733
|
-
extensions?: string[];
|
|
14761
|
+
interface ConfigAntfuOptions extends OptionsOverrides {
|
|
14734
14762
|
}
|
|
14735
|
-
interface
|
|
14763
|
+
interface ConfigCommentsOptions extends OptionsOverrides {
|
|
14736
14764
|
}
|
|
14737
|
-
interface
|
|
14765
|
+
interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
|
|
14738
14766
|
}
|
|
14739
|
-
interface
|
|
14767
|
+
interface ConfigImportsOptions extends OptionsOverrides {
|
|
14740
14768
|
}
|
|
14741
|
-
interface
|
|
14769
|
+
interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
|
|
14742
14770
|
}
|
|
14743
14771
|
interface ConfigJsoncOptions extends OptionsOverrides {
|
|
14744
14772
|
}
|
|
14745
|
-
interface
|
|
14746
|
-
}
|
|
14747
|
-
interface ConfigImportsOptions extends OptionsOverrides {
|
|
14773
|
+
interface ConfigNodeOptions extends OptionsOverrides {
|
|
14748
14774
|
}
|
|
14749
|
-
interface
|
|
14775
|
+
interface ConfigNtnyqOptions extends OptionsOverrides {
|
|
14750
14776
|
}
|
|
14751
14777
|
interface ConfigStylisticOptions extends OptionsOverrides {
|
|
14752
14778
|
}
|
|
14753
|
-
interface
|
|
14779
|
+
interface ConfigTomlOptions extends OptionsOverrides {
|
|
14780
|
+
}
|
|
14781
|
+
interface ConfigUnicornOptions extends OptionsOverrides {
|
|
14754
14782
|
}
|
|
14755
14783
|
interface ConfigUnusedImportsOptions extends OptionsOverrides {
|
|
14756
14784
|
}
|
|
14757
|
-
interface
|
|
14785
|
+
interface OptionsExtensions {
|
|
14786
|
+
extensions?: string[];
|
|
14758
14787
|
}
|
|
14759
14788
|
/**
|
|
14760
14789
|
* Options for add `features` support
|
|
14761
14790
|
*/
|
|
14791
|
+
interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
14792
|
+
}
|
|
14762
14793
|
type OptionsFeatures = {
|
|
14763
14794
|
/**
|
|
14764
14795
|
* Enable typescript support
|
|
14765
14796
|
*/
|
|
14766
14797
|
typescript?: boolean;
|
|
14767
14798
|
};
|
|
14768
|
-
interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
14769
|
-
}
|
|
14770
14799
|
/**
|
|
14771
14800
|
* Options for overrides `rules`
|
|
14772
14801
|
*/
|
|
14773
|
-
interface
|
|
14774
|
-
overrides?: Rules;
|
|
14775
|
-
}
|
|
14776
|
-
interface ConfigRegexpOptions extends OptionsOverrides {
|
|
14802
|
+
interface ConfigFormatOptions {
|
|
14777
14803
|
/**
|
|
14778
|
-
*
|
|
14804
|
+
* Enable formatter support for css, less, scss, sass and etc.
|
|
14779
14805
|
*
|
|
14780
|
-
* @default '
|
|
14806
|
+
* @default 'prettier'
|
|
14781
14807
|
*/
|
|
14782
|
-
|
|
14783
|
-
}
|
|
14784
|
-
interface ConfigUnoCSSOptions extends OptionsOverrides {
|
|
14808
|
+
css?: 'prettier' | boolean;
|
|
14785
14809
|
/**
|
|
14786
|
-
* Enable
|
|
14810
|
+
* Enable formatter support for html
|
|
14787
14811
|
*
|
|
14788
|
-
* @default
|
|
14812
|
+
* @default 'prettier'
|
|
14789
14813
|
*/
|
|
14790
|
-
|
|
14791
|
-
}
|
|
14792
|
-
interface ConfigTestOptions extends OptionsOverrides {
|
|
14814
|
+
html?: 'prettier' | boolean;
|
|
14793
14815
|
/**
|
|
14794
|
-
*
|
|
14816
|
+
* Enable formatter support for markdown
|
|
14817
|
+
*
|
|
14818
|
+
* @default 'prettier'
|
|
14795
14819
|
*/
|
|
14796
|
-
|
|
14797
|
-
}
|
|
14798
|
-
interface ConfigJavaScriptOptions extends OptionsOverrides {
|
|
14820
|
+
markdown?: 'dprint' | 'prettier' | boolean;
|
|
14799
14821
|
/**
|
|
14800
|
-
*
|
|
14801
|
-
*
|
|
14802
|
-
* @default false
|
|
14822
|
+
* Options for prettier
|
|
14803
14823
|
*/
|
|
14804
|
-
|
|
14824
|
+
prettierOptions?: PrettierOptions;
|
|
14825
|
+
/**
|
|
14826
|
+
* Options for dprint
|
|
14827
|
+
*/
|
|
14828
|
+
dprintOptions?: boolean;
|
|
14805
14829
|
}
|
|
14806
14830
|
type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
|
|
14807
14831
|
/**
|
|
@@ -14811,23 +14835,45 @@ type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
|
|
|
14811
14835
|
*/
|
|
14812
14836
|
strict?: boolean;
|
|
14813
14837
|
};
|
|
14814
|
-
interface
|
|
14838
|
+
interface ConfigJavaScriptOptions extends OptionsOverrides {
|
|
14815
14839
|
/**
|
|
14816
|
-
*
|
|
14840
|
+
* Enable strict checking for JavaScript files
|
|
14841
|
+
*
|
|
14842
|
+
* @default false
|
|
14817
14843
|
*/
|
|
14818
|
-
|
|
14844
|
+
strict?: boolean;
|
|
14845
|
+
}
|
|
14846
|
+
interface ConfigPerfectionistOptions extends OptionsOverrides {
|
|
14819
14847
|
/**
|
|
14848
|
+
* Enable sort `constants`
|
|
14849
|
+
*
|
|
14820
14850
|
* @default true
|
|
14821
14851
|
*/
|
|
14822
|
-
|
|
14852
|
+
sortConstants?: boolean;
|
|
14823
14853
|
/**
|
|
14854
|
+
* Enable sort `enums`
|
|
14855
|
+
*
|
|
14824
14856
|
* @default true
|
|
14825
14857
|
*/
|
|
14826
|
-
|
|
14858
|
+
sortEnums?: boolean;
|
|
14827
14859
|
/**
|
|
14860
|
+
* Enable sort `types`
|
|
14861
|
+
*
|
|
14828
14862
|
* @default true
|
|
14829
14863
|
*/
|
|
14830
|
-
|
|
14864
|
+
sortTypes?: boolean;
|
|
14865
|
+
/**
|
|
14866
|
+
* Overrides rules for `constants`
|
|
14867
|
+
*/
|
|
14868
|
+
overridesConstantsRules?: TypedConfigItem['rules'];
|
|
14869
|
+
/**
|
|
14870
|
+
* Overrides rules for `enums`
|
|
14871
|
+
*/
|
|
14872
|
+
overridesEnumsRules?: TypedConfigItem['rules'];
|
|
14873
|
+
/**
|
|
14874
|
+
* Overrides rules for `types`
|
|
14875
|
+
*/
|
|
14876
|
+
overridesTypesRules?: TypedConfigItem['rules'];
|
|
14831
14877
|
}
|
|
14832
14878
|
interface ConfigPrettierOptions extends OptionsOverrides {
|
|
14833
14879
|
/**
|
|
@@ -14835,7 +14881,7 @@ interface ConfigPrettierOptions extends OptionsOverrides {
|
|
|
14835
14881
|
*
|
|
14836
14882
|
* @default 'warn'
|
|
14837
14883
|
*/
|
|
14838
|
-
level?: '
|
|
14884
|
+
level?: 'error' | 'warn';
|
|
14839
14885
|
/**
|
|
14840
14886
|
* Glob of built-in disabled files
|
|
14841
14887
|
*/
|
|
@@ -14846,20 +14892,31 @@ interface ConfigPrettierOptions extends OptionsOverrides {
|
|
|
14846
14892
|
*/
|
|
14847
14893
|
userDisabledFiles?: string[];
|
|
14848
14894
|
}
|
|
14849
|
-
interface
|
|
14895
|
+
interface ConfigRegexpOptions extends OptionsOverrides {
|
|
14850
14896
|
/**
|
|
14851
|
-
*
|
|
14897
|
+
* Prettier level
|
|
14852
14898
|
*
|
|
14853
|
-
* @
|
|
14899
|
+
* @default 'error'
|
|
14900
|
+
*/
|
|
14901
|
+
level?: 'error' | 'warn';
|
|
14902
|
+
}
|
|
14903
|
+
interface ConfigSortOptions {
|
|
14904
|
+
/**
|
|
14854
14905
|
* @default true
|
|
14855
14906
|
*/
|
|
14856
|
-
|
|
14907
|
+
tsconfig?: boolean;
|
|
14857
14908
|
/**
|
|
14858
|
-
*
|
|
14859
|
-
*
|
|
14860
|
-
* @default 3
|
|
14909
|
+
* @default true
|
|
14861
14910
|
*/
|
|
14862
|
-
|
|
14911
|
+
packageJson?: boolean;
|
|
14912
|
+
/**
|
|
14913
|
+
* @default true
|
|
14914
|
+
*/
|
|
14915
|
+
i18nLocale?: boolean;
|
|
14916
|
+
/**
|
|
14917
|
+
* @default true
|
|
14918
|
+
*/
|
|
14919
|
+
pnpmWorkspace?: boolean;
|
|
14863
14920
|
}
|
|
14864
14921
|
interface ConfigSpecialsOptions {
|
|
14865
14922
|
/**
|
|
@@ -14883,65 +14940,11 @@ interface ConfigSpecialsOptions {
|
|
|
14883
14940
|
*/
|
|
14884
14941
|
specialCaseConfigs?: TypedConfigItem[];
|
|
14885
14942
|
}
|
|
14886
|
-
interface
|
|
14887
|
-
/**
|
|
14888
|
-
* Enable formatter support for css, less, scss, sass and etc.
|
|
14889
|
-
*
|
|
14890
|
-
* @default 'prettier'
|
|
14891
|
-
*/
|
|
14892
|
-
css?: boolean | 'prettier';
|
|
14893
|
-
/**
|
|
14894
|
-
* Enable formatter support for html
|
|
14895
|
-
*
|
|
14896
|
-
* @default 'prettier'
|
|
14897
|
-
*/
|
|
14898
|
-
html?: boolean | 'prettier';
|
|
14899
|
-
/**
|
|
14900
|
-
* Enable formatter support for markdown
|
|
14901
|
-
*
|
|
14902
|
-
* @default 'prettier'
|
|
14903
|
-
*/
|
|
14904
|
-
markdown?: boolean | 'dprint' | 'prettier';
|
|
14905
|
-
/**
|
|
14906
|
-
* Options for prettier
|
|
14907
|
-
*/
|
|
14908
|
-
prettierOptions?: PrettierOptions;
|
|
14909
|
-
/**
|
|
14910
|
-
* Options for dprint
|
|
14911
|
-
*/
|
|
14912
|
-
dprintOptions?: boolean;
|
|
14913
|
-
}
|
|
14914
|
-
interface ConfigPerfectionistOptions extends OptionsOverrides {
|
|
14915
|
-
/**
|
|
14916
|
-
* Enable sort `constants`
|
|
14917
|
-
*
|
|
14918
|
-
* @default true
|
|
14919
|
-
*/
|
|
14920
|
-
sortConstants?: boolean;
|
|
14921
|
-
/**
|
|
14922
|
-
* Enable sort `enums`
|
|
14923
|
-
*
|
|
14924
|
-
* @default true
|
|
14925
|
-
*/
|
|
14926
|
-
sortEnums?: boolean;
|
|
14927
|
-
/**
|
|
14928
|
-
* Enable sort `types`
|
|
14929
|
-
*
|
|
14930
|
-
* @default true
|
|
14931
|
-
*/
|
|
14932
|
-
sortTypes?: boolean;
|
|
14933
|
-
/**
|
|
14934
|
-
* Overrides rules for `constants`
|
|
14935
|
-
*/
|
|
14936
|
-
overridesConstantsRules?: TypedConfigItem['rules'];
|
|
14937
|
-
/**
|
|
14938
|
-
* Overrides rules for `enums`
|
|
14939
|
-
*/
|
|
14940
|
-
overridesEnumsRules?: TypedConfigItem['rules'];
|
|
14943
|
+
interface ConfigTestOptions extends OptionsOverrides {
|
|
14941
14944
|
/**
|
|
14942
|
-
* Overrides
|
|
14945
|
+
* Overrides built-in vitest rules
|
|
14943
14946
|
*/
|
|
14944
|
-
|
|
14947
|
+
overridesVitestRules?: TypedConfigItem['rules'];
|
|
14945
14948
|
}
|
|
14946
14949
|
interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
|
|
14947
14950
|
/**
|
|
@@ -14967,6 +14970,32 @@ interface ConfigTypeScriptOptions extends OptionsExtensions, OptionsFiles, Optio
|
|
|
14967
14970
|
*/
|
|
14968
14971
|
overridesTypeAwareRules?: TypedConfigItem['rules'];
|
|
14969
14972
|
}
|
|
14973
|
+
interface ConfigUnoCSSOptions extends OptionsOverrides {
|
|
14974
|
+
/**
|
|
14975
|
+
* Enable attributify sort order
|
|
14976
|
+
*
|
|
14977
|
+
* @default false
|
|
14978
|
+
*/
|
|
14979
|
+
attributify?: boolean;
|
|
14980
|
+
}
|
|
14981
|
+
interface ConfigVueOptions extends OptionsFeatures, OptionsFiles, OptionsOverrides {
|
|
14982
|
+
/**
|
|
14983
|
+
* Create virtual files for Vue SFC blocks to enable linting.
|
|
14984
|
+
*
|
|
14985
|
+
* @see https://github.com/antfu/eslint-processor-vue-blocks
|
|
14986
|
+
* @default true
|
|
14987
|
+
*/
|
|
14988
|
+
sfcBlocks?: boolean | Options;
|
|
14989
|
+
/**
|
|
14990
|
+
* Vue version
|
|
14991
|
+
*
|
|
14992
|
+
* @default 3
|
|
14993
|
+
*/
|
|
14994
|
+
vueVersion?: 2 | 3;
|
|
14995
|
+
}
|
|
14996
|
+
interface OptionsOverrides<Rules extends TypedConfigItem['rules'] = TypedConfigItem['rules']> {
|
|
14997
|
+
overrides?: Rules;
|
|
14998
|
+
}
|
|
14970
14999
|
/**
|
|
14971
15000
|
* Config factory options
|
|
14972
15001
|
*/
|
|
@@ -15015,7 +15044,7 @@ interface ConfigOptionsInternal {
|
|
|
15015
15044
|
/**
|
|
15016
15045
|
* Prettier options
|
|
15017
15046
|
*/
|
|
15018
|
-
type PrettierOptions = Partial<Pick<RequiredOptions, '
|
|
15047
|
+
type PrettierOptions = Partial<Pick<RequiredOptions, 'arrowParens' | 'bracketSameLine' | 'bracketSpacing' | 'embeddedLanguageFormatting' | 'endOfLine' | 'experimentalTernaries' | 'htmlWhitespaceSensitivity' | 'insertPragma' | 'jsxSingleQuote' | 'plugins' | 'printWidth' | 'proseWrap' | 'quoteProps' | 'rangeEnd' | 'rangeStart' | 'requirePragma' | 'semi' | 'singleAttributePerLine' | 'singleQuote' | 'tabWidth' | 'trailingComma' | 'useTabs' | 'vueIndentScriptAndStyle'>> & {
|
|
15019
15048
|
parser?: BuiltInParserName;
|
|
15020
15049
|
};
|
|
15021
15050
|
|
|
@@ -15171,6 +15200,9 @@ declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem
|
|
|
15171
15200
|
|
|
15172
15201
|
declare const githubAction: (options?: ConfigGitHubActionOptions) => TypedConfigItem[];
|
|
15173
15202
|
|
|
15203
|
+
/**
|
|
15204
|
+
* Prefer `alphabetical` sort type
|
|
15205
|
+
*/
|
|
15174
15206
|
declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConfigItem[];
|
|
15175
15207
|
|
|
15176
15208
|
declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
|
|
@@ -15180,4 +15212,4 @@ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConf
|
|
|
15180
15212
|
*/
|
|
15181
15213
|
declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
|
|
15182
15214
|
|
|
15183
|
-
export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, 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, 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_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
|
|
15215
|
+
export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, 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, 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_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, format, getOverrides, githubAction, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, prettier, regexp, resolveSubOptions, sort, specials, stylistic, test, toArray, toml, typescript, unicorn, unocss, unusedImports, vitest, vue, yml };
|