@storm-software/eslint 0.170.155 → 0.170.157
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/README.md +1 -1
- package/dist/astro-CKzo6xci.d.mts +5 -0
- package/dist/banner-YnHf4ewf.d.mts +5 -0
- package/dist/bun-OJPLvfnX.d.mts +5 -0
- package/dist/cspell-CfGd6g7m.d.mts +8 -0
- package/dist/disables-Dx5b56Fi.d.mts +5 -0
- package/dist/find-workspace-root-D3UHWbgn.mjs +211 -0
- package/dist/formatters-VU6Zu_ju.d.mts +5 -0
- package/dist/graphql-ClFinA5J.d.mts +5 -0
- package/dist/helpers-mce_MNwt.mjs +72 -0
- package/dist/ignores-CPeru9Fz.d.mts +5 -0
- package/dist/imports-CQToT7JW.d.mts +5 -0
- package/dist/index.d.mts +41 -0
- package/dist/index.mjs +42 -0
- package/dist/javascript-BR8uv0Wr.d.mts +5 -0
- package/dist/jsdoc-Dy8bHykP.d.mts +5 -0
- package/dist/jsonc-YqDXTIOi.d.mts +5 -0
- package/dist/jsx-DzqEJSYd.d.mts +5 -0
- package/dist/markdown-C5lFEI83.d.mts +5 -0
- package/dist/mdx-CDEhveb1.d.mts +5 -0
- package/dist/next-DGhspeMc.d.mts +8 -0
- package/dist/node-CQgsZ8nv.d.mts +5 -0
- package/dist/nx-CLRc6QRM.d.mts +8 -0
- package/dist/perfectionist-CgSgqAjV.d.mts +10 -0
- package/dist/plugins-CZWNS7l4.mjs +8291 -0
- package/dist/plugins.d.mts +616 -0
- package/dist/plugins.mjs +2 -0
- package/dist/pnpm-Cp9VzsCv.d.mts +5 -0
- package/dist/preset-x6MId9-7.mjs +265 -0
- package/dist/preset.d.mts +30 -0
- package/dist/preset.mjs +3 -0
- package/dist/prettier-CboafVRp.d.mts +8 -0
- package/dist/react-C5HWHYPh.d.mts +5 -0
- package/dist/react-native-DjQo3PXB.d.mts +8 -0
- package/dist/regexp-D2Fm6vg7.d.mts +5 -0
- package/dist/rolldown-runtime-CMFfr-1z.mjs +26 -0
- package/dist/secrets-DfvPNLCF.d.mts +10 -0
- package/dist/sort-9_xeGmal.d.mts +16 -0
- package/dist/storybook-DqDJ5exI.d.mts +5 -0
- package/dist/stylistic-9jDGqsHH.d.mts +9 -0
- package/dist/test-Dw-h86ig.d.mts +5 -0
- package/dist/toml-ConAZLXy.d.mts +5 -0
- package/dist/tsdoc-DcYWMVl0.d.mts +5 -0
- package/dist/{types.d.ts → typegen.d.mts} +8536 -11156
- package/dist/types-XIthLTox.d.mts +852 -0
- package/dist/types.d.mts +3 -0
- package/dist/types.mjs +2 -0
- package/dist/typescript-BFiiMXDt.d.mts +5 -0
- package/dist/unicorn-CQ3PTdfT.d.mts +5 -0
- package/dist/unocss-Uw-vEvNU.d.mts +5 -0
- package/dist/yaml-Ddbh49WY.d.mts +5 -0
- package/dist/zod-7F7dUsU5.d.mts +8 -0
- package/package.json +58 -79
- package/dist/chunk-2TYJ2VM7.js +0 -46
- package/dist/chunk-F7ZJ6N35.js +0 -43
- package/dist/chunk-I4ZWVHOG.js +0 -220
- package/dist/chunk-JBIA43L4.js +0 -75
- package/dist/chunk-T6GDWDAB.js +0 -167
- package/dist/chunk-XFFMMX6A.js +0 -96
- package/dist/chunk-XSM4AYON.js +0 -19822
- package/dist/chunk-Y5JY2DPL.js +0 -19
- package/dist/index.cjs +0 -21965
- package/dist/index.d.cts +0 -127
- package/dist/index.d.ts +0 -127
- package/dist/index.js +0 -15
- package/dist/preset.cjs +0 -21922
- package/dist/preset.d.cts +0 -34
- package/dist/preset.d.ts +0 -34
- package/dist/preset.js +0 -8
- package/dist/src-TAWYAYRW.js +0 -887
- package/dist/src-XRFRLUCW.js +0 -57
- package/dist/src-YPCQHGJY.js +0 -91
- package/dist/types.cjs +0 -2
- package/dist/types.d.cts +0 -19537
- package/dist/types.js +0 -4
- package/dist/utils/combine.cjs +0 -9
- package/dist/utils/combine.d.cts +0 -14
- package/dist/utils/combine.d.ts +0 -14
- package/dist/utils/combine.js +0 -10
- package/dist/utils/correct-paths.cjs +0 -232
- package/dist/utils/correct-paths.d.cts +0 -30
- package/dist/utils/correct-paths.d.ts +0 -30
- package/dist/utils/correct-paths.js +0 -2
- package/dist/utils/find-workspace-root.cjs +0 -201
- package/dist/utils/find-workspace-root.d.cts +0 -16
- package/dist/utils/find-workspace-root.d.ts +0 -16
- package/dist/utils/find-workspace-root.js +0 -3
- package/dist/utils/format-config.cjs +0 -20
- package/dist/utils/format-config.d.cts +0 -5
- package/dist/utils/format-config.d.ts +0 -5
- package/dist/utils/format-config.js +0 -21
- package/dist/utils/helpers.cjs +0 -87
- package/dist/utils/helpers.d.cts +0 -55
- package/dist/utils/helpers.d.ts +0 -55
- package/dist/utils/helpers.js +0 -2
- package/dist/utils/package-manager.cjs +0 -199
- package/dist/utils/package-manager.d.cts +0 -8
- package/dist/utils/package-manager.d.ts +0 -8
- package/dist/utils/package-manager.js +0 -4
- package/dist/utils/tsconfig.cjs +0 -297
- package/dist/utils/tsconfig.d.cts +0 -25
- package/dist/utils/tsconfig.d.ts +0 -25
- package/dist/utils/tsconfig.js +0 -4
package/dist/preset.d.cts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Linter } from 'eslint';
|
|
2
|
-
import { PresetConfig, OptionsConfig, UserConfig, PresetResult, RuleOptions } from './types.cjs';
|
|
3
|
-
import '@storm-software/eslint-plugin-banner/rules/banner';
|
|
4
|
-
import '@stylistic/eslint-plugin';
|
|
5
|
-
import '@typescript-eslint/parser';
|
|
6
|
-
import 'eslint-config-flat-gitignore';
|
|
7
|
-
import 'eslint-flat-config-utils';
|
|
8
|
-
|
|
9
|
-
declare const defaultPluginRenaming: {
|
|
10
|
-
"@eslint-react": string;
|
|
11
|
-
"@eslint-react/dom": string;
|
|
12
|
-
"@eslint-react/hooks-extra": string;
|
|
13
|
-
"@eslint-react/naming-convention": string;
|
|
14
|
-
"@stylistic": string;
|
|
15
|
-
"@typescript-eslint": string;
|
|
16
|
-
"import-x": string;
|
|
17
|
-
n: string;
|
|
18
|
-
vitest: string;
|
|
19
|
-
yml: string;
|
|
20
|
-
};
|
|
21
|
-
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
22
|
-
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
23
|
-
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
24
|
-
/**
|
|
25
|
-
* Get the ESLint configuration for a Storm workspace.
|
|
26
|
-
*
|
|
27
|
-
* @param options - The preset options.
|
|
28
|
-
* @param userConfigs - Additional ESLint configurations.
|
|
29
|
-
*/
|
|
30
|
-
declare function preset(options: PresetConfig<OptionsConfig>, ...userConfigs: UserConfig[]): PresetResult;
|
|
31
|
-
declare const getConfig: typeof preset;
|
|
32
|
-
declare const defineConfig: typeof preset;
|
|
33
|
-
|
|
34
|
-
export { type ResolvedOptions, preset as default, defaultPluginRenaming, defineConfig, getConfig, getOverrides, preset, resolveSubOptions };
|
package/dist/preset.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Linter } from 'eslint';
|
|
2
|
-
import { PresetConfig, OptionsConfig, UserConfig, PresetResult, RuleOptions } from './types.js';
|
|
3
|
-
import '@storm-software/eslint-plugin-banner/rules/banner';
|
|
4
|
-
import '@stylistic/eslint-plugin';
|
|
5
|
-
import '@typescript-eslint/parser';
|
|
6
|
-
import 'eslint-config-flat-gitignore';
|
|
7
|
-
import 'eslint-flat-config-utils';
|
|
8
|
-
|
|
9
|
-
declare const defaultPluginRenaming: {
|
|
10
|
-
"@eslint-react": string;
|
|
11
|
-
"@eslint-react/dom": string;
|
|
12
|
-
"@eslint-react/hooks-extra": string;
|
|
13
|
-
"@eslint-react/naming-convention": string;
|
|
14
|
-
"@stylistic": string;
|
|
15
|
-
"@typescript-eslint": string;
|
|
16
|
-
"import-x": string;
|
|
17
|
-
n: string;
|
|
18
|
-
vitest: string;
|
|
19
|
-
yml: string;
|
|
20
|
-
};
|
|
21
|
-
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
22
|
-
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
23
|
-
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
24
|
-
/**
|
|
25
|
-
* Get the ESLint configuration for a Storm workspace.
|
|
26
|
-
*
|
|
27
|
-
* @param options - The preset options.
|
|
28
|
-
* @param userConfigs - Additional ESLint configurations.
|
|
29
|
-
*/
|
|
30
|
-
declare function preset(options: PresetConfig<OptionsConfig>, ...userConfigs: UserConfig[]): PresetResult;
|
|
31
|
-
declare const getConfig: typeof preset;
|
|
32
|
-
declare const defineConfig: typeof preset;
|
|
33
|
-
|
|
34
|
-
export { type ResolvedOptions, preset as default, defaultPluginRenaming, defineConfig, getConfig, getOverrides, preset, resolveSubOptions };
|
package/dist/preset.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { preset_default as default, defaultPluginRenaming, defineConfig, getConfig, getOverrides, preset, resolveSubOptions } from './chunk-XSM4AYON.js';
|
|
2
|
-
import './chunk-Y5JY2DPL.js';
|
|
3
|
-
import './chunk-F7ZJ6N35.js';
|
|
4
|
-
import './chunk-T6GDWDAB.js';
|
|
5
|
-
import './chunk-XFFMMX6A.js';
|
|
6
|
-
import './chunk-I4ZWVHOG.js';
|
|
7
|
-
import './chunk-JBIA43L4.js';
|
|
8
|
-
import './chunk-2TYJ2VM7.js';
|