@storm-software/eslint 0.170.185 → 0.170.187
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 +186 -314
- package/dist/index.d.cts +58 -92
- package/dist/index.d.mts +58 -92
- package/dist/index.mjs +187 -317
- package/package.json +30 -27
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,6 @@ import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
|
4
4
|
import { ParserOptions } from "@typescript-eslint/parser";
|
|
5
5
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
6
6
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
7
|
-
//#region src/typegen.d.ts
|
|
8
7
|
interface RuleOptions {
|
|
9
8
|
/**
|
|
10
9
|
* CSpell spellchecker
|
|
@@ -4270,7 +4269,7 @@ Backward pagination arguments
|
|
|
4270
4269
|
*/
|
|
4271
4270
|
'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
4272
4271
|
/**
|
|
4273
|
-
* Disallows 'target="_blank"' without 'rel="noreferrer
|
|
4272
|
+
* Disallows 'target="_blank"' without 'rel="noreferrer"'.
|
|
4274
4273
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
4275
4274
|
*/
|
|
4276
4275
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<ReactDomNoUnsafeTargetBlank>;
|
|
@@ -4537,7 +4536,7 @@ Backward pagination arguments
|
|
|
4537
4536
|
'react/error-boundaries'?: Linter.RuleEntry<[]>;
|
|
4538
4537
|
/**
|
|
4539
4538
|
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
4540
|
-
* @see https://github.com/
|
|
4539
|
+
* @see https://github.com/react/react/issues/14920
|
|
4541
4540
|
*/
|
|
4542
4541
|
'react/exhaustive-deps'?: Linter.RuleEntry<ReactExhaustiveDeps>;
|
|
4543
4542
|
/**
|
|
@@ -4656,7 +4655,7 @@ Backward pagination arguments
|
|
|
4656
4655
|
*/
|
|
4657
4656
|
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
4658
4657
|
/**
|
|
4659
|
-
* Enforces that
|
|
4658
|
+
* Enforces that anonymous components wrapped in 'memo' or 'forwardRef' have a 'displayName' that can be used in DevTools.
|
|
4660
4659
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
4661
4660
|
*/
|
|
4662
4661
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
@@ -4681,7 +4680,7 @@ Backward pagination arguments
|
|
|
4681
4680
|
*/
|
|
4682
4681
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
4683
4682
|
/**
|
|
4684
|
-
* Disallows
|
|
4683
|
+
* Disallows declaring lazy components that wrap dynamic imports inside other components or hooks.
|
|
4685
4684
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
4686
4685
|
*/
|
|
4687
4686
|
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
@@ -4721,7 +4720,7 @@ Backward pagination arguments
|
|
|
4721
4720
|
*/
|
|
4722
4721
|
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
4723
4722
|
/**
|
|
4724
|
-
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
4723
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider' or the '<Context>' shorthand in React 19 and above.
|
|
4725
4724
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
4726
4725
|
*/
|
|
4727
4726
|
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
@@ -4751,7 +4750,7 @@ Backward pagination arguments
|
|
|
4751
4750
|
*/
|
|
4752
4751
|
'react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
4753
4752
|
/**
|
|
4754
|
-
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
4753
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions or construct known-impure objects during render.
|
|
4755
4754
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
4756
4755
|
*/
|
|
4757
4756
|
'react/purity'?: Linter.RuleEntry<[]>;
|
|
@@ -4786,7 +4785,7 @@ Backward pagination arguments
|
|
|
4786
4785
|
*/
|
|
4787
4786
|
'react/unsupported-syntax'?: Linter.RuleEntry<[]>;
|
|
4788
4787
|
/**
|
|
4789
|
-
* Validates
|
|
4788
|
+
* Validates 'useMemo' usage: the result must be used and the callback must take no parameters, not be async or a generator, not reassign outer variables, and return a value.
|
|
4790
4789
|
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
4791
4790
|
*/
|
|
4792
4791
|
'react/use-memo'?: Linter.RuleEntry<[]>;
|
|
@@ -5894,6 +5893,10 @@ Backward pagination arguments
|
|
|
5894
5893
|
* @see https://eslint.org/docs/latest/rules/symbol-description
|
|
5895
5894
|
*/
|
|
5896
5895
|
'symbol-description'?: Linter.RuleEntry<[]>;
|
|
5896
|
+
/**
|
|
5897
|
+
* validate static Tamagui flat values with @tamagui/style-grammar
|
|
5898
|
+
*/
|
|
5899
|
+
'tamagui/valid-flat-values'?: Linter.RuleEntry<TamaguiValidFlatValues>;
|
|
5897
5900
|
/**
|
|
5898
5901
|
* Require or disallow spacing around embedded expressions of template strings
|
|
5899
5902
|
* @see https://eslint.org/docs/latest/rules/template-curly-spacing
|
|
@@ -6447,7 +6450,7 @@ Backward pagination arguments
|
|
|
6447
6450
|
* Disallow awaiting a value that is not a Thenable
|
|
6448
6451
|
* @see https://typescript-eslint.io/rules/await-thenable
|
|
6449
6452
|
*/
|
|
6450
|
-
'ts/await-thenable'?: Linter.RuleEntry<
|
|
6453
|
+
'ts/await-thenable'?: Linter.RuleEntry<TsAwaitThenable>;
|
|
6451
6454
|
/**
|
|
6452
6455
|
* Disallow `@ts-<directive>` comments or require descriptions after directives
|
|
6453
6456
|
* @see https://typescript-eslint.io/rules/ban-ts-comment
|
|
@@ -15067,6 +15070,13 @@ type SwitchColonSpacing = [] | [{
|
|
|
15067
15070
|
before?: boolean;
|
|
15068
15071
|
after?: boolean;
|
|
15069
15072
|
}];
|
|
15073
|
+
// ----- tamagui/valid-flat-values -----
|
|
15074
|
+
type TamaguiValidFlatValues = [] | [{
|
|
15075
|
+
config: {
|
|
15076
|
+
[k: string]: unknown | undefined;
|
|
15077
|
+
};
|
|
15078
|
+
strictPayloads?: boolean;
|
|
15079
|
+
}];
|
|
15070
15080
|
// ----- template-curly-spacing -----
|
|
15071
15081
|
type TemplateCurlySpacing = [] | [("always" | "never")];
|
|
15072
15082
|
// ----- template-tag-spacing -----
|
|
@@ -15325,6 +15335,10 @@ type TsArrayType = [] | [{
|
|
|
15325
15335
|
default?: ("array" | "generic" | "array-simple");
|
|
15326
15336
|
readonly?: ("array" | "generic" | "array-simple");
|
|
15327
15337
|
}];
|
|
15338
|
+
// ----- ts/await-thenable -----
|
|
15339
|
+
type TsAwaitThenable = [] | [{
|
|
15340
|
+
allowMixedPromiseArrays?: boolean;
|
|
15341
|
+
}];
|
|
15328
15342
|
// ----- ts/ban-ts-comment -----
|
|
15329
15343
|
type TsBanTsComment = [] | [{
|
|
15330
15344
|
minimumDescriptionLength?: number;
|
|
@@ -16985,9 +16999,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
16985
16999
|
onlyEquality?: boolean;
|
|
16986
17000
|
}];
|
|
16987
17001
|
// Names of all the configs
|
|
16988
|
-
type ConfigNames = "storm/banner" | "storm/bun/setup" | "bun/recommended/package-json" | "bun/recommended/package-json" | "storm/cspell/rules" | "storm/astro/setup" | "storm/astro/rules" | "storm/formatter/setup" | "storm/imports/rules" | "storm/graphql/setup" | "storm/graphql/rules" | "storm/graphql/relay" | "storm/javascript/setup" | "storm/javascript/rules" | "storm/jsx/rules" | "storm/jsdoc/rules" | "storm/jsonc/setup" | "storm/jsonc/rules" | "storm/markdown/setup" | "storm/markdown/rules" | "mdx/flat" | "storm/node/rules" | "storm/nx/setup" | "storm/nx/schema" | "storm/nx/dependency-check" | "storm/nx/module-boundaries" | "storm/next/rules" | "storm/prettier" | "storm/perfectionist/rules" | "storm/pnpm/setup" | "storm/pnpm/package-json" | "storm/pnpm/pnpm-workspace-yaml" | "storm/react/setup" | "storm/react/rules" | "storm/react-native/rules" | "storm/react-query/rules" | "storm/sort/package-json" | "storm/stylistic/rules" | "storm/secrets/rules" | "storm/storybook/setup" | "storm/storybook/rules" | "storm/storybook/main" | "storm/test/setup" | "storm/test/rules" | "storm/tsdoc/rules" | "storm/toml/setup" | "storm/toml/rules" | "storm/typescript/setup" | "storm/typescript/parser" | "storm/typescript/type-aware-parser" | "storm/typescript/rules" | "storm/typescript/rules-type-aware" | "storm/regexp/rules" | "storm/unicorn/rules" | "storm/unocss" | "storm/yaml/setup" | "storm/yaml/rules" | "storm/zod/rules";
|
|
16989
|
-
//#endregion
|
|
16990
|
-
//#region src/vendor/prettier-types.d.ts
|
|
17002
|
+
type ConfigNames = "storm/banner" | "storm/bun/setup" | "bun/recommended/package-json" | "bun/recommended/package-json" | "storm/cspell/rules" | "storm/astro/setup" | "storm/astro/rules" | "storm/formatter/setup" | "storm/imports/rules" | "storm/graphql/setup" | "storm/graphql/rules" | "storm/graphql/relay" | "storm/javascript/setup" | "storm/javascript/rules" | "storm/jsx/rules" | "storm/jsdoc/rules" | "storm/jsonc/setup" | "storm/jsonc/rules" | "storm/markdown/setup" | "storm/markdown/rules" | "mdx/flat" | "storm/node/rules" | "storm/nx/setup" | "storm/nx/schema" | "storm/nx/dependency-check" | "storm/nx/module-boundaries" | "storm/next/rules" | "storm/prettier" | "storm/perfectionist/rules" | "storm/pnpm/setup" | "storm/pnpm/package-json" | "storm/pnpm/pnpm-workspace-yaml" | "storm/react/setup" | "storm/react/rules" | "storm/react-native/rules" | "storm/react-query/rules" | "storm/sort/package-json" | "storm/stylistic/rules" | "storm/tamagui/rules" | "storm/secrets/rules" | "storm/storybook/setup" | "storm/storybook/rules" | "storm/storybook/main" | "storm/test/setup" | "storm/test/rules" | "storm/tsdoc/rules" | "storm/toml/setup" | "storm/toml/rules" | "storm/typescript/setup" | "storm/typescript/parser" | "storm/typescript/type-aware-parser" | "storm/typescript/rules" | "storm/typescript/rules-type-aware" | "storm/regexp/rules" | "storm/unicorn/rules" | "storm/unocss" | "storm/yaml/setup" | "storm/yaml/rules" | "storm/zod/rules";
|
|
16991
17003
|
/**
|
|
16992
17004
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
16993
17005
|
*/
|
|
@@ -17106,8 +17118,6 @@ interface VendoredPrettierOptionsRequired {
|
|
|
17106
17118
|
*/
|
|
17107
17119
|
xmlWhitespaceSensitivity: "ignore" | "strict" | "preserve";
|
|
17108
17120
|
}
|
|
17109
|
-
//#endregion
|
|
17110
|
-
//#region src/types.d.ts
|
|
17111
17121
|
type Awaitable<T> = T | Promise<T>;
|
|
17112
17122
|
/**
|
|
17113
17123
|
* Matches `@nx/enforce-module-boundaries` dependency constraint options.
|
|
@@ -17387,6 +17397,20 @@ interface OptionsStorybook extends OptionsOverrides {
|
|
|
17387
17397
|
*/
|
|
17388
17398
|
csf?: "none" | "loose" | "strict";
|
|
17389
17399
|
}
|
|
17400
|
+
interface OptionsTamagui extends OptionsOverrides {
|
|
17401
|
+
/**
|
|
17402
|
+
* Grammar config from `createGrammarConfigView` (`@tamagui/style-grammar/tooling`).
|
|
17403
|
+
*
|
|
17404
|
+
* @see https://github.com/tamagui/tamagui/tree/main/code/core/eslint-plugin
|
|
17405
|
+
*/
|
|
17406
|
+
config?: object;
|
|
17407
|
+
/**
|
|
17408
|
+
* Validate single-token clause payloads against configured tokens, theme values, and CSS keywords.
|
|
17409
|
+
*
|
|
17410
|
+
* @defaultValue false
|
|
17411
|
+
*/
|
|
17412
|
+
strictPayloads?: boolean;
|
|
17413
|
+
}
|
|
17390
17414
|
interface OptionsReactQuery extends OptionsOverrides {
|
|
17391
17415
|
/**
|
|
17392
17416
|
* Use the strict recommended config, which enables additional opinionated rules.
|
|
@@ -17825,6 +17849,19 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17825
17849
|
* @defaultValue false
|
|
17826
17850
|
*/
|
|
17827
17851
|
unocss?: boolean | OptionsUnoCSS;
|
|
17852
|
+
/**
|
|
17853
|
+
* Enable Tamagui flat style value rules.
|
|
17854
|
+
*
|
|
17855
|
+
* Requires installing:
|
|
17856
|
+
* - `@tamagui/eslint-plugin`
|
|
17857
|
+
*
|
|
17858
|
+
* Pass `config` from `createGrammarConfigView`.
|
|
17859
|
+
*
|
|
17860
|
+
* @see https://github.com/tamagui/tamagui/tree/main/code/core/eslint-plugin
|
|
17861
|
+
*
|
|
17862
|
+
* @defaultValue false
|
|
17863
|
+
*/
|
|
17864
|
+
tamagui?: boolean | OptionsTamagui;
|
|
17828
17865
|
/**
|
|
17829
17866
|
* Use external formatters to format files.
|
|
17830
17867
|
*
|
|
@@ -17851,8 +17888,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17851
17888
|
type UserConfig = Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<object, string> | Linter.Config[]>;
|
|
17852
17889
|
type PresetConfig<TOptions> = TOptions & Omit<TypedFlatConfigItem, "files">;
|
|
17853
17890
|
type PresetResult = FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
17854
|
-
//#endregion
|
|
17855
|
-
//#region src/preset.d.ts
|
|
17856
17891
|
declare const defaultPluginRenaming: {
|
|
17857
17892
|
"@eslint-react": string;
|
|
17858
17893
|
"@eslint-react/dom": string;
|
|
@@ -17877,116 +17912,62 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
17877
17912
|
declare function preset(options: PresetConfig<OptionsConfig>, ...userConfigs: UserConfig[]): PresetResult;
|
|
17878
17913
|
declare const getConfig: typeof preset;
|
|
17879
17914
|
declare const defineConfig: typeof preset;
|
|
17880
|
-
//#endregion
|
|
17881
|
-
//#region src/configs/astro.d.ts
|
|
17882
17915
|
declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
17883
|
-
//#endregion
|
|
17884
|
-
//#region src/configs/banner.d.ts
|
|
17885
17916
|
declare function banner(options?: Partial<OptionsBanner> & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17886
|
-
//#endregion
|
|
17887
|
-
//#region src/configs/bun.d.ts
|
|
17888
17917
|
declare function bun(options?: OptionsPnpm): Promise<TypedFlatConfigItem[]>;
|
|
17889
|
-
//#endregion
|
|
17890
|
-
//#region src/configs/cspell.d.ts
|
|
17891
17918
|
/**
|
|
17892
17919
|
* Config for CSpell spell checking
|
|
17893
17920
|
*/
|
|
17894
17921
|
declare function cspell(options?: OptionsCSpell): Promise<TypedFlatConfigItem[]>;
|
|
17895
|
-
//#endregion
|
|
17896
|
-
//#region src/configs/disables.d.ts
|
|
17897
17922
|
declare function disables(): Promise<TypedFlatConfigItem[]>;
|
|
17898
|
-
//#endregion
|
|
17899
|
-
//#region src/configs/formatters.d.ts
|
|
17900
17923
|
declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
|
|
17901
|
-
//#endregion
|
|
17902
|
-
//#region src/configs/graphql.d.ts
|
|
17903
17924
|
declare function graphql(options?: OptionsGraphQL): Promise<TypedFlatConfigItem[]>;
|
|
17904
|
-
//#endregion
|
|
17905
|
-
//#region src/configs/ignores.d.ts
|
|
17906
17925
|
declare function ignores(userIgnores?: string[]): Promise<TypedFlatConfigItem[]>;
|
|
17907
|
-
//#endregion
|
|
17908
|
-
//#region src/configs/imports.d.ts
|
|
17909
17926
|
declare function imports(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
17910
|
-
//#endregion
|
|
17911
|
-
//#region src/configs/javascript.d.ts
|
|
17912
17927
|
declare function javascript(options?: Partial<OptionsJavascript> & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17913
|
-
//#endregion
|
|
17914
|
-
//#region src/configs/jsdoc.d.ts
|
|
17915
17928
|
declare function jsdoc(options?: OptionsJSDoc): Promise<TypedFlatConfigItem[]>;
|
|
17916
|
-
//#endregion
|
|
17917
|
-
//#region src/configs/jsonc.d.ts
|
|
17918
17929
|
declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17919
|
-
//#endregion
|
|
17920
|
-
//#region src/configs/jsx.d.ts
|
|
17921
17930
|
declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
17922
|
-
//#endregion
|
|
17923
|
-
//#region src/configs/markdown.d.ts
|
|
17924
17931
|
declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17925
|
-
//#endregion
|
|
17926
|
-
//#region src/configs/mdx.d.ts
|
|
17927
17932
|
declare function mdx(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17928
|
-
//#endregion
|
|
17929
|
-
//#region src/configs/next.d.ts
|
|
17930
17933
|
/**
|
|
17931
17934
|
* Config for Next.js projects.
|
|
17932
17935
|
*/
|
|
17933
17936
|
declare function next(options?: OptionsNext): Promise<TypedFlatConfigItem[]>;
|
|
17934
|
-
//#endregion
|
|
17935
|
-
//#region src/configs/node.d.ts
|
|
17936
17937
|
declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
17937
|
-
//#endregion
|
|
17938
|
-
//#region src/configs/nx.d.ts
|
|
17939
17938
|
/**
|
|
17940
17939
|
* Config for Nx monorepos
|
|
17941
17940
|
*/
|
|
17942
17941
|
declare function nx(options?: OptionsNx): Promise<TypedFlatConfigItem[]>;
|
|
17943
|
-
//#endregion
|
|
17944
|
-
//#region src/configs/perfectionist.d.ts
|
|
17945
17942
|
/**
|
|
17946
17943
|
* Perfectionist plugin for props and items sorting.
|
|
17947
17944
|
*
|
|
17948
17945
|
* @see https://github.com/azat-io/eslint-plugin-perfectionist
|
|
17949
17946
|
*/
|
|
17950
17947
|
declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
17951
|
-
//#endregion
|
|
17952
|
-
//#region src/configs/pnpm.d.ts
|
|
17953
17948
|
declare function pnpm(options?: OptionsPnpm): Promise<TypedFlatConfigItem[]>;
|
|
17954
|
-
//#endregion
|
|
17955
|
-
//#region src/configs/prettier.d.ts
|
|
17956
17949
|
/**
|
|
17957
17950
|
* Config for Prettier eslint integration
|
|
17958
17951
|
*/
|
|
17959
17952
|
declare function prettier(): Promise<TypedFlatConfigItem[]>;
|
|
17960
|
-
//#endregion
|
|
17961
|
-
//#region src/configs/react.d.ts
|
|
17962
17953
|
declare function react(options?: OptionsComponentExts & Omit<OptionsTypeScriptParserOptions, "tsconfigPath"> & OptionsTypeScriptWithTypes & OptionsReact & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
17963
|
-
//#endregion
|
|
17964
|
-
//#region src/configs/react-native.d.ts
|
|
17965
17954
|
/**
|
|
17966
17955
|
* Config for React Native projects.
|
|
17967
17956
|
*/
|
|
17968
17957
|
declare function reactNative(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17969
|
-
//#endregion
|
|
17970
|
-
//#region src/configs/react-query.d.ts
|
|
17971
17958
|
/**
|
|
17972
17959
|
* Config for TanStack Query ESLint plugin.
|
|
17973
17960
|
*
|
|
17974
17961
|
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17975
17962
|
*/
|
|
17976
17963
|
declare function reactQuery(options?: OptionsReactQuery): Promise<TypedFlatConfigItem[]>;
|
|
17977
|
-
//#endregion
|
|
17978
|
-
//#region src/configs/regexp.d.ts
|
|
17979
17964
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17980
|
-
//#endregion
|
|
17981
|
-
//#region src/configs/secrets.d.ts
|
|
17982
17965
|
/**
|
|
17983
17966
|
* Config for No-Secrets ESLint plugin
|
|
17984
17967
|
*/
|
|
17985
17968
|
declare function secrets(options: {
|
|
17986
17969
|
json: boolean;
|
|
17987
17970
|
}): Promise<TypedFlatConfigItem[]>;
|
|
17988
|
-
//#endregion
|
|
17989
|
-
//#region src/configs/sort.d.ts
|
|
17990
17971
|
/**
|
|
17991
17972
|
* Sort package.json
|
|
17992
17973
|
*
|
|
@@ -17999,42 +17980,27 @@ declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
|
|
|
17999
17980
|
* Requires `jsonc` config
|
|
18000
17981
|
*/
|
|
18001
17982
|
declare function sortTsconfig(): TypedFlatConfigItem[];
|
|
18002
|
-
//#endregion
|
|
18003
|
-
//#region src/configs/storybook.d.ts
|
|
18004
17983
|
declare function storybook(options?: OptionsStorybook): Promise<TypedFlatConfigItem[]>;
|
|
18005
|
-
//#endregion
|
|
18006
|
-
//#region src/configs/stylistic.d.ts
|
|
18007
17984
|
declare const StylisticConfigDefaults: StylisticConfig;
|
|
18008
17985
|
interface StylisticOptions extends StylisticConfig, OptionsOverrides {
|
|
18009
17986
|
lessOpinionated?: boolean;
|
|
18010
17987
|
}
|
|
18011
17988
|
declare function stylistic(options?: StylisticOptions): Promise<TypedFlatConfigItem[]>;
|
|
18012
|
-
|
|
18013
|
-
|
|
17989
|
+
/**
|
|
17990
|
+
* Config for `@tamagui/eslint-plugin`.
|
|
17991
|
+
*
|
|
17992
|
+
* @see https://github.com/tamagui/tamagui/tree/main/code/core/eslint-plugin
|
|
17993
|
+
*/
|
|
17994
|
+
declare function tamagui(options?: OptionsTamagui): Promise<TypedFlatConfigItem[]>;
|
|
18014
17995
|
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
18015
|
-
//#endregion
|
|
18016
|
-
//#region src/configs/toml.d.ts
|
|
18017
17996
|
declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
18018
|
-
//#endregion
|
|
18019
|
-
//#region src/configs/tsdoc.d.ts
|
|
18020
17997
|
declare function tsdoc(options?: OptionsFiles & OptionsTSDoc): Promise<TypedFlatConfigItem[]>;
|
|
18021
|
-
//#endregion
|
|
18022
|
-
//#region src/configs/typescript.d.ts
|
|
18023
17998
|
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & Omit<OptionsTypeScriptParserOptions, "tsconfigPath"> & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
|
|
18024
|
-
//#endregion
|
|
18025
|
-
//#region src/configs/unicorn.d.ts
|
|
18026
17999
|
declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
|
|
18027
|
-
//#endregion
|
|
18028
|
-
//#region src/configs/unocss.d.ts
|
|
18029
18000
|
declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
|
|
18030
|
-
//#endregion
|
|
18031
|
-
//#region src/configs/yaml.d.ts
|
|
18032
18001
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
18033
|
-
//#endregion
|
|
18034
|
-
//#region src/configs/zod.d.ts
|
|
18035
18002
|
/**
|
|
18036
18003
|
* Config for Import-Zod ESLint plugin
|
|
18037
18004
|
*/
|
|
18038
18005
|
declare function zod(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
18039
|
-
|
|
18040
|
-
export { type Awaitable, type ConfigNames, type ESLintGlobalsPropValue, type OptionsBanner, type OptionsBun, type OptionsCSpell, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsGraphQL, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsJSDoc, type OptionsJavascript, type OptionsNext, type OptionsNx, type OptionsNxDependencyChecks, type OptionsNxEnforceModuleBoundaries, type OptionsOverrides, type OptionsPnpm, type OptionsProjectType, type OptionsReact, type OptionsReactQuery, type OptionsRegExp, type OptionsStorybook, type OptionsStylistic, type OptionsTSDoc, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type PresetConfig, type PresetResult, ResolvedOptions, type RuleOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, StylisticOptions, type TypedFlatConfigItem, type UserConfig, astro, banner, bun, cspell, defineConfig as default, defineConfig, defaultPluginRenaming, disables, formatters, getConfig, getOverrides, graphql, ignores, imports, javascript, jsdoc, jsonc, jsx, markdown, mdx, next, node, nx, perfectionist, pnpm, preset, prettier, react, reactNative, reactQuery, regexp, resolveSubOptions, secrets, sortPackageJson, sortTsconfig, storybook, stylistic, test, toml, tsdoc, typescript, unicorn, unocss, yaml, zod };
|
|
18006
|
+
export { type Awaitable, type ConfigNames, type ESLintGlobalsPropValue, type OptionsBanner, type OptionsBun, type OptionsCSpell, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsGraphQL, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsJSDoc, type OptionsJavascript, type OptionsNext, type OptionsNx, type OptionsNxDependencyChecks, type OptionsNxEnforceModuleBoundaries, type OptionsOverrides, type OptionsPnpm, type OptionsProjectType, type OptionsReact, type OptionsReactQuery, type OptionsRegExp, type OptionsStorybook, type OptionsStylistic, type OptionsTSDoc, type OptionsTamagui, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type PresetConfig, type PresetResult, ResolvedOptions, type RuleOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, StylisticOptions, type TypedFlatConfigItem, type UserConfig, astro, banner, bun, cspell, defineConfig as default, defineConfig, defaultPluginRenaming, disables, formatters, getConfig, getOverrides, graphql, ignores, imports, javascript, jsdoc, jsonc, jsx, markdown, mdx, next, node, nx, perfectionist, pnpm, preset, prettier, react, reactNative, reactQuery, regexp, resolveSubOptions, secrets, sortPackageJson, sortTsconfig, storybook, stylistic, tamagui, test, toml, tsdoc, typescript, unicorn, unocss, yaml, zod };
|