@storm-software/eslint 0.170.167 → 0.170.169
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 +119 -95
- package/dist/index.d.cts +78 -2
- package/dist/index.d.mts +78 -2
- package/dist/index.mjs +120 -97
- package/package.json +26 -23
package/dist/index.d.cts
CHANGED
|
@@ -511,6 +511,46 @@ Backward pagination arguments
|
|
|
511
511
|
* Checks common nx-plugin configuration files for validity
|
|
512
512
|
*/
|
|
513
513
|
'@nx/nx-plugin-checks'?: Linter.RuleEntry<NxNxPluginChecks>;
|
|
514
|
+
/**
|
|
515
|
+
* Exhaustive deps rule for useQuery
|
|
516
|
+
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
517
|
+
*/
|
|
518
|
+
'@tanstack/query/exhaustive-deps'?: Linter.RuleEntry<TanstackQueryExhaustiveDeps>;
|
|
519
|
+
/**
|
|
520
|
+
* Ensure correct order of inference sensitive properties for infinite queries
|
|
521
|
+
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
522
|
+
*/
|
|
523
|
+
'@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>;
|
|
524
|
+
/**
|
|
525
|
+
* Ensure correct order of inference-sensitive properties in useMutation()
|
|
526
|
+
* @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
|
|
527
|
+
*/
|
|
528
|
+
'@tanstack/query/mutation-property-order'?: Linter.RuleEntry<[]>;
|
|
529
|
+
/**
|
|
530
|
+
* Disallows rest destructuring in queries
|
|
531
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
532
|
+
*/
|
|
533
|
+
'@tanstack/query/no-rest-destructuring'?: Linter.RuleEntry<[]>;
|
|
534
|
+
/**
|
|
535
|
+
* Disallow putting the result of query hooks directly in a React hook dependency array
|
|
536
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
537
|
+
*/
|
|
538
|
+
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>;
|
|
539
|
+
/**
|
|
540
|
+
* Ensures queryFn returns a non-undefined value
|
|
541
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-void-query-fn
|
|
542
|
+
*/
|
|
543
|
+
'@tanstack/query/no-void-query-fn'?: Linter.RuleEntry<[]>;
|
|
544
|
+
/**
|
|
545
|
+
* Prefer using queryOptions() to co-locate queryKey and queryFn
|
|
546
|
+
* @see https://tanstack.com/query/latest/docs/eslint/prefer-query-options
|
|
547
|
+
*/
|
|
548
|
+
'@tanstack/query/prefer-query-options'?: Linter.RuleEntry<[]>;
|
|
549
|
+
/**
|
|
550
|
+
* Makes sure that QueryClient is stable
|
|
551
|
+
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
552
|
+
*/
|
|
553
|
+
'@tanstack/query/stable-query-client'?: Linter.RuleEntry<[]>;
|
|
514
554
|
/**
|
|
515
555
|
* Enforce getter and setter pairs in objects and classes
|
|
516
556
|
* @see https://eslint.org/docs/latest/rules/accessor-pairs
|
|
@@ -8305,6 +8345,13 @@ type NxNxPluginChecks = [] | [{
|
|
|
8305
8345
|
allowedVersionStrings?: string[];
|
|
8306
8346
|
tsConfig?: string;
|
|
8307
8347
|
}];
|
|
8348
|
+
// ----- @tanstack/query/exhaustive-deps -----
|
|
8349
|
+
type TanstackQueryExhaustiveDeps = [] | [{
|
|
8350
|
+
allowlist?: {
|
|
8351
|
+
variables?: string[];
|
|
8352
|
+
types?: string[];
|
|
8353
|
+
};
|
|
8354
|
+
}];
|
|
8308
8355
|
// ----- accessor-pairs -----
|
|
8309
8356
|
type AccessorPairs = [] | [{
|
|
8310
8357
|
getWithoutSet?: boolean;
|
|
@@ -16917,7 +16964,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
16917
16964
|
onlyEquality?: boolean;
|
|
16918
16965
|
}];
|
|
16919
16966
|
// Names of all the configs
|
|
16920
|
-
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/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";
|
|
16967
|
+
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";
|
|
16921
16968
|
//#endregion
|
|
16922
16969
|
//#region src/vendor/prettier-types.d.ts
|
|
16923
16970
|
/**
|
|
@@ -17319,6 +17366,16 @@ interface OptionsStorybook extends OptionsOverrides {
|
|
|
17319
17366
|
*/
|
|
17320
17367
|
csf?: "none" | "loose" | "strict";
|
|
17321
17368
|
}
|
|
17369
|
+
interface OptionsReactQuery extends OptionsOverrides {
|
|
17370
|
+
/**
|
|
17371
|
+
* Use the strict recommended config, which enables additional opinionated rules.
|
|
17372
|
+
*
|
|
17373
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17374
|
+
*
|
|
17375
|
+
* @defaultValue false
|
|
17376
|
+
*/
|
|
17377
|
+
strict?: boolean;
|
|
17378
|
+
}
|
|
17322
17379
|
interface OptionsReact extends OptionsOverrides {
|
|
17323
17380
|
/**
|
|
17324
17381
|
* Use a strict mode for React rules, which will enable more strict rules that may cause more false positives but can catch more potential issues.
|
|
@@ -17698,6 +17755,17 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17698
17755
|
* @defaultValue false
|
|
17699
17756
|
*/
|
|
17700
17757
|
storybook?: boolean | OptionsStorybook;
|
|
17758
|
+
/**
|
|
17759
|
+
* Enable TanStack Query rules.
|
|
17760
|
+
*
|
|
17761
|
+
* Requires installing:
|
|
17762
|
+
* - `@tanstack/eslint-plugin-query`
|
|
17763
|
+
*
|
|
17764
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17765
|
+
*
|
|
17766
|
+
* @defaultValue false
|
|
17767
|
+
*/
|
|
17768
|
+
"react-query"?: boolean | OptionsReactQuery;
|
|
17701
17769
|
/**
|
|
17702
17770
|
* Enable react rules.
|
|
17703
17771
|
*
|
|
@@ -17878,6 +17946,14 @@ declare function react(options?: OptionsComponentExts & Omit<OptionsTypeScriptPa
|
|
|
17878
17946
|
*/
|
|
17879
17947
|
declare function reactNative(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17880
17948
|
//#endregion
|
|
17949
|
+
//#region src/configs/react-query.d.ts
|
|
17950
|
+
/**
|
|
17951
|
+
* Config for TanStack Query ESLint plugin.
|
|
17952
|
+
*
|
|
17953
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17954
|
+
*/
|
|
17955
|
+
declare function reactQuery(options?: OptionsReactQuery): Promise<TypedFlatConfigItem[]>;
|
|
17956
|
+
//#endregion
|
|
17881
17957
|
//#region src/configs/regexp.d.ts
|
|
17882
17958
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17883
17959
|
//#endregion
|
|
@@ -17940,4 +18016,4 @@ declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFil
|
|
|
17940
18016
|
*/
|
|
17941
18017
|
declare function zod(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17942
18018
|
//#endregion
|
|
17943
|
-
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 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, regexp, resolveSubOptions, secrets, sortPackageJson, sortTsconfig, storybook, stylistic, test, toml, tsdoc, typescript, unicorn, unocss, yaml, zod };
|
|
18019
|
+
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 };
|
package/dist/index.d.mts
CHANGED
|
@@ -511,6 +511,46 @@ Backward pagination arguments
|
|
|
511
511
|
* Checks common nx-plugin configuration files for validity
|
|
512
512
|
*/
|
|
513
513
|
'@nx/nx-plugin-checks'?: Linter.RuleEntry<NxNxPluginChecks>;
|
|
514
|
+
/**
|
|
515
|
+
* Exhaustive deps rule for useQuery
|
|
516
|
+
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
517
|
+
*/
|
|
518
|
+
'@tanstack/query/exhaustive-deps'?: Linter.RuleEntry<TanstackQueryExhaustiveDeps>;
|
|
519
|
+
/**
|
|
520
|
+
* Ensure correct order of inference sensitive properties for infinite queries
|
|
521
|
+
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
522
|
+
*/
|
|
523
|
+
'@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>;
|
|
524
|
+
/**
|
|
525
|
+
* Ensure correct order of inference-sensitive properties in useMutation()
|
|
526
|
+
* @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
|
|
527
|
+
*/
|
|
528
|
+
'@tanstack/query/mutation-property-order'?: Linter.RuleEntry<[]>;
|
|
529
|
+
/**
|
|
530
|
+
* Disallows rest destructuring in queries
|
|
531
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
532
|
+
*/
|
|
533
|
+
'@tanstack/query/no-rest-destructuring'?: Linter.RuleEntry<[]>;
|
|
534
|
+
/**
|
|
535
|
+
* Disallow putting the result of query hooks directly in a React hook dependency array
|
|
536
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
537
|
+
*/
|
|
538
|
+
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>;
|
|
539
|
+
/**
|
|
540
|
+
* Ensures queryFn returns a non-undefined value
|
|
541
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-void-query-fn
|
|
542
|
+
*/
|
|
543
|
+
'@tanstack/query/no-void-query-fn'?: Linter.RuleEntry<[]>;
|
|
544
|
+
/**
|
|
545
|
+
* Prefer using queryOptions() to co-locate queryKey and queryFn
|
|
546
|
+
* @see https://tanstack.com/query/latest/docs/eslint/prefer-query-options
|
|
547
|
+
*/
|
|
548
|
+
'@tanstack/query/prefer-query-options'?: Linter.RuleEntry<[]>;
|
|
549
|
+
/**
|
|
550
|
+
* Makes sure that QueryClient is stable
|
|
551
|
+
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
552
|
+
*/
|
|
553
|
+
'@tanstack/query/stable-query-client'?: Linter.RuleEntry<[]>;
|
|
514
554
|
/**
|
|
515
555
|
* Enforce getter and setter pairs in objects and classes
|
|
516
556
|
* @see https://eslint.org/docs/latest/rules/accessor-pairs
|
|
@@ -8305,6 +8345,13 @@ type NxNxPluginChecks = [] | [{
|
|
|
8305
8345
|
allowedVersionStrings?: string[];
|
|
8306
8346
|
tsConfig?: string;
|
|
8307
8347
|
}];
|
|
8348
|
+
// ----- @tanstack/query/exhaustive-deps -----
|
|
8349
|
+
type TanstackQueryExhaustiveDeps = [] | [{
|
|
8350
|
+
allowlist?: {
|
|
8351
|
+
variables?: string[];
|
|
8352
|
+
types?: string[];
|
|
8353
|
+
};
|
|
8354
|
+
}];
|
|
8308
8355
|
// ----- accessor-pairs -----
|
|
8309
8356
|
type AccessorPairs = [] | [{
|
|
8310
8357
|
getWithoutSet?: boolean;
|
|
@@ -16917,7 +16964,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
16917
16964
|
onlyEquality?: boolean;
|
|
16918
16965
|
}];
|
|
16919
16966
|
// Names of all the configs
|
|
16920
|
-
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/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";
|
|
16967
|
+
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";
|
|
16921
16968
|
//#endregion
|
|
16922
16969
|
//#region src/vendor/prettier-types.d.ts
|
|
16923
16970
|
/**
|
|
@@ -17319,6 +17366,16 @@ interface OptionsStorybook extends OptionsOverrides {
|
|
|
17319
17366
|
*/
|
|
17320
17367
|
csf?: "none" | "loose" | "strict";
|
|
17321
17368
|
}
|
|
17369
|
+
interface OptionsReactQuery extends OptionsOverrides {
|
|
17370
|
+
/**
|
|
17371
|
+
* Use the strict recommended config, which enables additional opinionated rules.
|
|
17372
|
+
*
|
|
17373
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17374
|
+
*
|
|
17375
|
+
* @defaultValue false
|
|
17376
|
+
*/
|
|
17377
|
+
strict?: boolean;
|
|
17378
|
+
}
|
|
17322
17379
|
interface OptionsReact extends OptionsOverrides {
|
|
17323
17380
|
/**
|
|
17324
17381
|
* Use a strict mode for React rules, which will enable more strict rules that may cause more false positives but can catch more potential issues.
|
|
@@ -17698,6 +17755,17 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17698
17755
|
* @defaultValue false
|
|
17699
17756
|
*/
|
|
17700
17757
|
storybook?: boolean | OptionsStorybook;
|
|
17758
|
+
/**
|
|
17759
|
+
* Enable TanStack Query rules.
|
|
17760
|
+
*
|
|
17761
|
+
* Requires installing:
|
|
17762
|
+
* - `@tanstack/eslint-plugin-query`
|
|
17763
|
+
*
|
|
17764
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17765
|
+
*
|
|
17766
|
+
* @defaultValue false
|
|
17767
|
+
*/
|
|
17768
|
+
"react-query"?: boolean | OptionsReactQuery;
|
|
17701
17769
|
/**
|
|
17702
17770
|
* Enable react rules.
|
|
17703
17771
|
*
|
|
@@ -17878,6 +17946,14 @@ declare function react(options?: OptionsComponentExts & Omit<OptionsTypeScriptPa
|
|
|
17878
17946
|
*/
|
|
17879
17947
|
declare function reactNative(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17880
17948
|
//#endregion
|
|
17949
|
+
//#region src/configs/react-query.d.ts
|
|
17950
|
+
/**
|
|
17951
|
+
* Config for TanStack Query ESLint plugin.
|
|
17952
|
+
*
|
|
17953
|
+
* @see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query
|
|
17954
|
+
*/
|
|
17955
|
+
declare function reactQuery(options?: OptionsReactQuery): Promise<TypedFlatConfigItem[]>;
|
|
17956
|
+
//#endregion
|
|
17881
17957
|
//#region src/configs/regexp.d.ts
|
|
17882
17958
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17883
17959
|
//#endregion
|
|
@@ -17940,4 +18016,4 @@ declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFil
|
|
|
17940
18016
|
*/
|
|
17941
18017
|
declare function zod(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
17942
18018
|
//#endregion
|
|
17943
|
-
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 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, regexp, resolveSubOptions, secrets, sortPackageJson, sortTsconfig, storybook, stylistic, test, toml, tsdoc, typescript, unicorn, unocss, yaml, zod };
|
|
18019
|
+
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 };
|