@storm-software/eslint 0.162.1 → 0.163.1
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 -2
- package/dist/{chunk-LFKAEEDN.js → chunk-4T2VGUKQ.js} +1 -1
- package/dist/{chunk-URESQVUQ.js → chunk-BBKL5SSX.js} +3 -3
- package/dist/{chunk-2ASHINGN.js → chunk-D7COKLND.js} +1 -1
- package/dist/{chunk-2PBILQLV.js → chunk-HMONPZQV.js} +2 -2
- package/dist/{chunk-P2IWMCHT.js → chunk-N6Y325DQ.js} +1 -1
- package/dist/{chunk-FYHJSIQT.js → chunk-NVCVBDX5.js} +1 -1
- package/dist/{chunk-WSRPN4A5.js → chunk-ROE6YWPJ.js} +2 -2
- package/dist/{chunk-CP5TACRD.js → chunk-TJ47LVUP.js} +2 -2
- package/dist/{chunk-ECVSHAMX.js → chunk-VQHWUYQL.js} +5 -0
- package/dist/preset.js +2226 -429
- package/dist/types.d.ts +12 -1
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +3 -3
- package/package.json +8 -5
package/dist/types.d.ts
CHANGED
|
@@ -1442,6 +1442,11 @@ Backward pagination arguments
|
|
|
1442
1442
|
* @deprecated
|
|
1443
1443
|
*/
|
|
1444
1444
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1445
|
+
/**
|
|
1446
|
+
* Enforce using namespace imports for zod
|
|
1447
|
+
* @see https://github.com/samchungy/eslint-plugin-import-zod/blob/main/docs/rules/prefer-zod-namespace.md
|
|
1448
|
+
*/
|
|
1449
|
+
'import-zod/prefer-zod-namespace'?: Linter.RuleEntry<[]>
|
|
1445
1450
|
/**
|
|
1446
1451
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1447
1452
|
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
|
|
@@ -17805,7 +17810,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
17805
17810
|
onlyEquality?: boolean
|
|
17806
17811
|
}]
|
|
17807
17812
|
// Names of all the configs
|
|
17808
|
-
type ConfigNames = '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/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/mdx/setup' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier/rules' | '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/
|
|
17813
|
+
type ConfigNames = '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/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/mdx/setup' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier/rules' | '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'
|
|
17809
17814
|
|
|
17810
17815
|
/**
|
|
17811
17816
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
@@ -18419,6 +18424,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
18419
18424
|
* @defaultValue true
|
|
18420
18425
|
*/
|
|
18421
18426
|
tsdoc?: boolean | OptionsTSDoc;
|
|
18427
|
+
/**
|
|
18428
|
+
* Enable Zod support.
|
|
18429
|
+
*
|
|
18430
|
+
* @defaultValue true
|
|
18431
|
+
*/
|
|
18432
|
+
zod?: boolean | OptionsOverrides;
|
|
18422
18433
|
/**
|
|
18423
18434
|
* Enable test support.
|
|
18424
18435
|
*
|
package/dist/types.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-BBKL5SSX.js";
|
|
4
|
+
import "../chunk-HMONPZQV.js";
|
|
5
|
+
import "../chunk-NVCVBDX5.js";
|
|
6
|
+
import "../chunk-VQHWUYQL.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
9
9
|
};
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot,
|
|
3
3
|
findWorkspaceRootSafe
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-TJ47LVUP.js";
|
|
5
|
+
import "../chunk-4T2VGUKQ.js";
|
|
6
|
+
import "../chunk-VQHWUYQL.js";
|
|
7
7
|
export {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
findWorkspaceRootSafe
|
package/dist/utils/helpers.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
GLOB_VUE,
|
|
34
34
|
GLOB_XML,
|
|
35
35
|
GLOB_YAML
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-NVCVBDX5.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-N6Y325DQ.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-VQHWUYQL.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.163.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"eslint": "^9.20.0",
|
|
147
147
|
"eslint-plugin-astro": "^1.2.0",
|
|
148
148
|
"eslint-plugin-format": ">=0.1.0",
|
|
149
|
+
"eslint-plugin-import-zod": "^1.2.0",
|
|
149
150
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
150
151
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
151
152
|
"eslint-plugin-react-native": "^5.0.0",
|
|
@@ -162,8 +163,8 @@
|
|
|
162
163
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
164
|
"@eslint/markdown": "^6.6.0",
|
|
164
165
|
"@nx/eslint-plugin": "^21.3.10",
|
|
165
|
-
"@storm-software/config": "^1.128.
|
|
166
|
-
"@storm-software/config-tools": "^1.180.
|
|
166
|
+
"@storm-software/config": "^1.128.3",
|
|
167
|
+
"@storm-software/config-tools": "^1.180.3",
|
|
167
168
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
168
169
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
169
170
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -201,7 +202,8 @@
|
|
|
201
202
|
"local-pkg": "^1.1.1",
|
|
202
203
|
"parse-gitignore": "^2.0.0",
|
|
203
204
|
"toml-eslint-parser": "^0.10.0",
|
|
204
|
-
"yaml-eslint-parser": "^1.3.0"
|
|
205
|
+
"yaml-eslint-parser": "^1.3.0",
|
|
206
|
+
"zod": "^4.0.2"
|
|
205
207
|
},
|
|
206
208
|
"devDependencies": {
|
|
207
209
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
@@ -222,6 +224,7 @@
|
|
|
222
224
|
"eslint": "^9.20.0",
|
|
223
225
|
"eslint-plugin-astro": "^1.3.1",
|
|
224
226
|
"eslint-plugin-format": "^1.0.1",
|
|
227
|
+
"eslint-plugin-import-zod": "^1.2.0",
|
|
225
228
|
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
226
229
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
227
230
|
"eslint-plugin-react-native": "^5.0.0",
|
|
@@ -237,5 +240,5 @@
|
|
|
237
240
|
},
|
|
238
241
|
"publishConfig": { "access": "public" },
|
|
239
242
|
"sideEffects": false,
|
|
240
|
-
"gitHead": "
|
|
243
|
+
"gitHead": "45ad3d8c10f6f667f184ffd50446ee894b8e1dda"
|
|
241
244
|
}
|