@storm-software/eslint 0.170.119 → 0.170.123
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/{chunk-VJQSCINX.js → chunk-2VF77JPW.js} +2 -2
- package/dist/{chunk-BGEA6SGG.js → chunk-IJJUHH3M.js} +1 -1
- package/dist/chunk-JJZI2APN.js +20468 -0
- package/dist/{chunk-FJHGGECQ.js → chunk-KB4RMFKQ.js} +1 -1
- package/dist/{chunk-MGMYTXU4.js → chunk-KVWY4P4S.js} +3 -3
- package/dist/{chunk-G5IX3UJK.js → chunk-RAY2GJH7.js} +1 -1
- package/dist/{chunk-XXQ6BEVO.js → chunk-REI3IIAW.js} +1 -1
- package/dist/index.cjs +21864 -0
- package/dist/index.d.cts +125 -0
- package/dist/index.d.ts +125 -0
- package/dist/index.js +14 -0
- package/dist/preset.cjs +115 -118
- package/dist/preset.d.cts +1 -0
- package/dist/preset.d.ts +1 -0
- package/dist/preset.js +7 -20471
- package/dist/{src-CLOW327I.js → src-MZ4AVQDQ.js} +3 -3
- package/dist/types.d.cts +1 -15
- package/dist/types.d.ts +1 -15
- package/dist/types.js +1 -1
- package/dist/utils/combine.d.cts +1 -0
- package/dist/utils/combine.d.ts +1 -0
- package/dist/utils/combine.js +1 -1
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +1 -1
- package/dist/utils/helpers.cjs +1 -1
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/tsconfig.js +4 -4
- package/package.json +19 -31
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX } from './chunk-
|
|
2
|
-
import { __commonJS, init_esm_shims, __toESM } from './chunk-
|
|
1
|
+
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX } from './chunk-RAY2GJH7.js';
|
|
2
|
+
import { __commonJS, init_esm_shims, __toESM } from './chunk-REI3IIAW.js';
|
|
3
3
|
import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
|
|
4
4
|
import * as __import_path from 'path';
|
|
5
5
|
import * as __import_fs from 'fs';
|
|
@@ -553,7 +553,7 @@ var import_eslint_plugin_tsdoc = __toESM(require_lib(), 1);
|
|
|
553
553
|
|
|
554
554
|
// ../eslint-plugin-tsdoc/package.json
|
|
555
555
|
var package_default = {
|
|
556
|
-
version: "0.0.
|
|
556
|
+
version: "0.0.51"};
|
|
557
557
|
|
|
558
558
|
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
559
559
|
var plugin = {
|
package/dist/types.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Options } from '@storm-software/eslint-plugin-banner/rules/banner';
|
|
1
2
|
import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
|
|
2
3
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
4
|
import { Linter } from 'eslint';
|
|
@@ -18327,21 +18328,6 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
18327
18328
|
// Names of all the configs
|
|
18328
18329
|
type ConfigNames = "storm/banner" | "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/processor" | "storm/markdown/parser" | "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"
|
|
18329
18330
|
|
|
18330
|
-
type Options = [
|
|
18331
|
-
{
|
|
18332
|
-
name: string;
|
|
18333
|
-
license?: string;
|
|
18334
|
-
organization?: string;
|
|
18335
|
-
licensing?: string;
|
|
18336
|
-
repository?: string;
|
|
18337
|
-
docs?: string;
|
|
18338
|
-
homepage?: string;
|
|
18339
|
-
commentStyle?: "block" | "line" | string;
|
|
18340
|
-
newlines?: number;
|
|
18341
|
-
lineEndings?: "unix" | "windows";
|
|
18342
|
-
}
|
|
18343
|
-
];
|
|
18344
|
-
|
|
18345
18331
|
/**
|
|
18346
18332
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
18347
18333
|
*/
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Options } from '@storm-software/eslint-plugin-banner/rules/banner';
|
|
1
2
|
import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
|
|
2
3
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
4
|
import { Linter } from 'eslint';
|
|
@@ -18327,21 +18328,6 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
18327
18328
|
// Names of all the configs
|
|
18328
18329
|
type ConfigNames = "storm/banner" | "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/processor" | "storm/markdown/parser" | "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"
|
|
18329
18330
|
|
|
18330
|
-
type Options = [
|
|
18331
|
-
{
|
|
18332
|
-
name: string;
|
|
18333
|
-
license?: string;
|
|
18334
|
-
organization?: string;
|
|
18335
|
-
licensing?: string;
|
|
18336
|
-
repository?: string;
|
|
18337
|
-
docs?: string;
|
|
18338
|
-
homepage?: string;
|
|
18339
|
-
commentStyle?: "block" | "line" | string;
|
|
18340
|
-
newlines?: number;
|
|
18341
|
-
lineEndings?: "unix" | "windows";
|
|
18342
|
-
}
|
|
18343
|
-
];
|
|
18344
|
-
|
|
18345
18331
|
/**
|
|
18346
18332
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
18347
18333
|
*/
|
package/dist/types.js
CHANGED
package/dist/utils/combine.d.cts
CHANGED
package/dist/utils/combine.d.ts
CHANGED
package/dist/utils/combine.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-KB4RMFKQ.js';
|
|
2
|
+
import '../chunk-REI3IIAW.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-2VF77JPW.js';
|
|
2
|
+
import '../chunk-KB4RMFKQ.js';
|
|
3
|
+
import '../chunk-REI3IIAW.js';
|
package/dist/utils/helpers.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
|
|
9
9
|
var process__default = /*#__PURE__*/_interopDefault(process);
|
|
10
10
|
|
|
11
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
11
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__ef1fef24ce052691cc8bddab0b397938/node_modules/tsup/assets/cjs_shims.js
|
|
12
12
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
13
13
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
14
14
|
var scopeUrl = url.fileURLToPath(new URL(".", importMetaUrl));
|
package/dist/utils/helpers.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-IJJUHH3M.js';
|
|
2
|
+
import '../chunk-REI3IIAW.js';
|
package/dist/utils/tsconfig.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { checkTsConfigPath, getTsConfigPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { checkTsConfigPath, getTsConfigPath } from '../chunk-KVWY4P4S.js';
|
|
2
|
+
import '../chunk-2VF77JPW.js';
|
|
3
|
+
import '../chunk-KB4RMFKQ.js';
|
|
4
|
+
import '../chunk-REI3IIAW.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.123",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -53,32 +53,20 @@
|
|
|
53
53
|
"exports": {
|
|
54
54
|
"./package.json": "./package.json",
|
|
55
55
|
".": {
|
|
56
|
-
"import": {
|
|
57
|
-
"types": "./dist/preset.d.ts",
|
|
58
|
-
"default": "./dist/preset.js"
|
|
59
|
-
},
|
|
56
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
60
57
|
"require": {
|
|
61
|
-
"types": "./dist/
|
|
62
|
-
"default": "./dist/
|
|
58
|
+
"types": "./dist/index.d.cts",
|
|
59
|
+
"default": "./dist/index.cjs"
|
|
63
60
|
},
|
|
64
|
-
"default": {
|
|
65
|
-
"types": "./dist/preset.d.ts",
|
|
66
|
-
"default": "./dist/preset.js"
|
|
67
|
-
}
|
|
61
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
68
62
|
},
|
|
69
63
|
"./index": {
|
|
70
|
-
"import": {
|
|
71
|
-
"types": "./dist/preset.d.ts",
|
|
72
|
-
"default": "./dist/preset.js"
|
|
73
|
-
},
|
|
64
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
74
65
|
"require": {
|
|
75
|
-
"types": "./dist/
|
|
76
|
-
"default": "./dist/
|
|
66
|
+
"types": "./dist/index.d.cts",
|
|
67
|
+
"default": "./dist/index.cjs"
|
|
77
68
|
},
|
|
78
|
-
"default": {
|
|
79
|
-
"types": "./dist/preset.d.ts",
|
|
80
|
-
"default": "./dist/preset.js"
|
|
81
|
-
}
|
|
69
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
82
70
|
},
|
|
83
71
|
"./preset": {
|
|
84
72
|
"import": {
|
|
@@ -141,9 +129,9 @@
|
|
|
141
129
|
"@eslint/eslintrc": "^3.3.5",
|
|
142
130
|
"@eslint/markdown": "^6.6.0",
|
|
143
131
|
"@nx/eslint-plugin": "23.0.1",
|
|
144
|
-
"@storm-software/config": "^1.138.
|
|
145
|
-
"@storm-software/config-tools": "^1.190.
|
|
146
|
-
"@storm-software/package-constants": "^0.1.
|
|
132
|
+
"@storm-software/config": "^1.138.26",
|
|
133
|
+
"@storm-software/config-tools": "^1.190.89",
|
|
134
|
+
"@storm-software/package-constants": "^0.1.102",
|
|
147
135
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
148
136
|
"@typescript-eslint/eslint-plugin": "^8.62.1",
|
|
149
137
|
"@typescript-eslint/parser": "^8.62.1",
|
|
@@ -189,17 +177,17 @@
|
|
|
189
177
|
},
|
|
190
178
|
"devDependencies": {
|
|
191
179
|
"@eslint-community/eslint-utils": "^4.9.1",
|
|
192
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
180
|
+
"@eslint-react/eslint-plugin": "^5.11.2",
|
|
193
181
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
194
182
|
"@eslint/config-inspector": "^1.5.0",
|
|
195
183
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
196
184
|
"@next/eslint-plugin-next": "^15.5.20",
|
|
197
185
|
"@nx/eslint": "23.0.1",
|
|
198
186
|
"@prettier/plugin-xml": "^3.4.2",
|
|
199
|
-
"@storm-software/eslint-plugin-banner": "^0.0.
|
|
200
|
-
"@storm-software/eslint-plugin-pnpm": "^0.0.
|
|
201
|
-
"@storm-software/eslint-plugin-tsdoc": "^0.0.
|
|
202
|
-
"@storm-software/tsdoc": "^0.13.
|
|
187
|
+
"@storm-software/eslint-plugin-banner": "^0.0.54",
|
|
188
|
+
"@storm-software/eslint-plugin-pnpm": "^0.0.52",
|
|
189
|
+
"@storm-software/eslint-plugin-tsdoc": "^0.0.52",
|
|
190
|
+
"@storm-software/tsdoc": "^0.13.242",
|
|
203
191
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
204
192
|
"@types/eslint": "^9.6.1",
|
|
205
193
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -226,7 +214,7 @@
|
|
|
226
214
|
"prettier-plugin-astro": "^0.14.1",
|
|
227
215
|
"tsup": "8.4.0",
|
|
228
216
|
"tsx": "^4.23.0",
|
|
229
|
-
"typescript": "^
|
|
217
|
+
"typescript": "^6.0.3",
|
|
230
218
|
"zod": "^4.4.3"
|
|
231
219
|
},
|
|
232
220
|
"peerDependencies": {
|
|
@@ -272,5 +260,5 @@
|
|
|
272
260
|
"zod": { "optional": true }
|
|
273
261
|
},
|
|
274
262
|
"publishConfig": { "access": "public" },
|
|
275
|
-
"gitHead": "
|
|
263
|
+
"gitHead": "14f9267ee6222b480c883f16346f763ca0ea21d0"
|
|
276
264
|
}
|