@storm-software/eslint 0.170.150 → 0.170.152
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-2CLFLESM.js → chunk-CHTU7LQW.js} +4 -4
- package/dist/index.cjs +381 -1601
- package/dist/index.js +2 -2
- package/dist/preset.cjs +381 -1601
- package/dist/preset.js +1 -1
- package/dist/src-4HCE5P4U.js +57 -0
- package/dist/{src-5KKSORLE.js → src-5IQYTQH3.js} +1 -1
- package/dist/src-KDHLMR2Q.js +91 -0
- package/package.json +11 -13
- package/dist/src-4MB5JAYY.js +0 -779
- package/dist/src-6DAHQLFU.js +0 -594
package/dist/preset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { preset_default as default, defaultPluginRenaming, defineConfig, getConfig, getOverrides, preset, resolveSubOptions } from './chunk-
|
|
1
|
+
export { preset_default as default, defaultPluginRenaming, defineConfig, getConfig, getOverrides, preset, resolveSubOptions } from './chunk-CHTU7LQW.js';
|
|
2
2
|
import './chunk-S56TF5J2.js';
|
|
3
3
|
import './chunk-TZB7GT36.js';
|
|
4
4
|
import './chunk-SM7KY7KP.js';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX } from './chunk-SM7KY7KP.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-DQLHUNSU.js';
|
|
3
|
+
import base from 'eslint-plugin-tsdoc';
|
|
4
|
+
|
|
5
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
6
|
+
init_esm_shims();
|
|
7
|
+
|
|
8
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
9
|
+
init_esm_shims();
|
|
10
|
+
|
|
11
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
12
|
+
init_esm_shims();
|
|
13
|
+
|
|
14
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
15
|
+
init_esm_shims();
|
|
16
|
+
|
|
17
|
+
// ../eslint-plugin-tsdoc/package.json
|
|
18
|
+
var package_default = {
|
|
19
|
+
version: "0.0.80"};
|
|
20
|
+
|
|
21
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
22
|
+
var plugin = {
|
|
23
|
+
...base,
|
|
24
|
+
meta: {
|
|
25
|
+
name: "tsdoc",
|
|
26
|
+
version: package_default.version
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
31
|
+
var config = {
|
|
32
|
+
files: [GLOB_TS, GLOB_TSX],
|
|
33
|
+
ignores: GLOB_EXCLUDE,
|
|
34
|
+
name: "tsdoc/recommended",
|
|
35
|
+
plugins: {
|
|
36
|
+
tsdoc: plugin
|
|
37
|
+
},
|
|
38
|
+
rules: {
|
|
39
|
+
"tsdoc/syntax": ["error", { type: "recommended" }]
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
var recommended_default = config;
|
|
43
|
+
|
|
44
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
45
|
+
var configs = {
|
|
46
|
+
recommended: recommended_default
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
50
|
+
var eslintPlugin = {
|
|
51
|
+
...plugin,
|
|
52
|
+
configs
|
|
53
|
+
};
|
|
54
|
+
var src_default = eslintPlugin;
|
|
55
|
+
var rules = plugin.rules;
|
|
56
|
+
|
|
57
|
+
export { configs, src_default as default, rules };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { GLOB_EXCLUDE } from './chunk-SM7KY7KP.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-DQLHUNSU.js';
|
|
3
|
+
import parserJsonc from 'jsonc-eslint-parser';
|
|
4
|
+
import parserYaml from 'yaml-eslint-parser';
|
|
5
|
+
import base from 'eslint-plugin-pnpm';
|
|
6
|
+
|
|
7
|
+
// ../eslint-plugin-pnpm/src/index.ts
|
|
8
|
+
init_esm_shims();
|
|
9
|
+
|
|
10
|
+
// ../eslint-plugin-pnpm/src/configs/index.ts
|
|
11
|
+
init_esm_shims();
|
|
12
|
+
|
|
13
|
+
// ../eslint-plugin-pnpm/src/configs/recommended.ts
|
|
14
|
+
init_esm_shims();
|
|
15
|
+
|
|
16
|
+
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
17
|
+
init_esm_shims();
|
|
18
|
+
|
|
19
|
+
// ../eslint-plugin-pnpm/package.json
|
|
20
|
+
var package_default = {
|
|
21
|
+
version: "0.0.80"};
|
|
22
|
+
|
|
23
|
+
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
24
|
+
var plugin = {
|
|
25
|
+
...base,
|
|
26
|
+
meta: {
|
|
27
|
+
name: "pnpm",
|
|
28
|
+
version: package_default.version
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// ../eslint-plugin-pnpm/src/configs/recommended.ts
|
|
33
|
+
var config = [
|
|
34
|
+
{
|
|
35
|
+
name: "pnpm/recommended/setup",
|
|
36
|
+
plugins: {
|
|
37
|
+
pnpm: plugin
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "pnpm/recommended/package-json",
|
|
42
|
+
ignores: GLOB_EXCLUDE,
|
|
43
|
+
files: ["package.json", "**/package.json"],
|
|
44
|
+
languageOptions: {
|
|
45
|
+
parser: parserJsonc
|
|
46
|
+
},
|
|
47
|
+
rules: {
|
|
48
|
+
"pnpm/json-enforce-catalog": [
|
|
49
|
+
"error",
|
|
50
|
+
{
|
|
51
|
+
autofix: true,
|
|
52
|
+
allowedProtocols: ["workspace", "link", "file"],
|
|
53
|
+
defaultCatalog: "default",
|
|
54
|
+
reuseExistingCatalog: true,
|
|
55
|
+
conflicts: "overrides",
|
|
56
|
+
fields: ["dependencies", "devDependencies"]
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"pnpm/json-valid-catalog": "error",
|
|
60
|
+
"pnpm/json-prefer-workspace-settings": "error"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "pnpm/recommended/pnpm-workspace",
|
|
65
|
+
ignores: GLOB_EXCLUDE,
|
|
66
|
+
files: ["pnpm-workspace.yaml", "**/pnpm-workspace.yaml"],
|
|
67
|
+
languageOptions: {
|
|
68
|
+
parser: parserYaml
|
|
69
|
+
},
|
|
70
|
+
rules: {
|
|
71
|
+
"pnpm/yaml-no-unused-catalog-item": "error",
|
|
72
|
+
"pnpm/yaml-no-duplicate-catalog-item": "error"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
];
|
|
76
|
+
var recommended_default = config;
|
|
77
|
+
|
|
78
|
+
// ../eslint-plugin-pnpm/src/configs/index.ts
|
|
79
|
+
var configs = {
|
|
80
|
+
recommended: recommended_default
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// ../eslint-plugin-pnpm/src/index.ts
|
|
84
|
+
var eslintPlugin = {
|
|
85
|
+
...plugin,
|
|
86
|
+
configs
|
|
87
|
+
};
|
|
88
|
+
var src_default = eslintPlugin;
|
|
89
|
+
var rules = plugin.rules;
|
|
90
|
+
|
|
91
|
+
export { configs, src_default as default, rules };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.152",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -129,15 +129,15 @@
|
|
|
129
129
|
"@eslint/eslintrc": "^3.3.6",
|
|
130
130
|
"@eslint/markdown": "^6.6.0",
|
|
131
131
|
"@nx/eslint-plugin": "23.1.1",
|
|
132
|
-
"@storm-software/config": "1.138.
|
|
133
|
-
"@storm-software/config-tools": "1.190.
|
|
134
|
-
"@storm-software/package-constants": "0.1.
|
|
132
|
+
"@storm-software/config": "1.138.55",
|
|
133
|
+
"@storm-software/config-tools": "1.190.118",
|
|
134
|
+
"@storm-software/package-constants": "0.1.131",
|
|
135
135
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
136
136
|
"@typescript-eslint/eslint-plugin": "^8.66.0",
|
|
137
137
|
"@typescript-eslint/parser": "^8.66.0",
|
|
138
138
|
"@typescript-eslint/utils": "^8.66.0",
|
|
139
139
|
"@vitest/eslint-plugin": "^1.6.26",
|
|
140
|
-
"ajv": "6.15.0",
|
|
140
|
+
"ajv": "^6.15.0",
|
|
141
141
|
"chalk": "^4.1.2",
|
|
142
142
|
"cross-spawn": "^7.0.6",
|
|
143
143
|
"debug": "^4.4.3",
|
|
@@ -182,14 +182,13 @@
|
|
|
182
182
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
183
183
|
"@eslint/config-inspector": "^1.5.0",
|
|
184
184
|
"@graphql-eslint/eslint-plugin": "^4.4.1",
|
|
185
|
-
"@next/eslint-plugin-next": "^15.5.
|
|
185
|
+
"@next/eslint-plugin-next": "^15.5.23",
|
|
186
186
|
"@nx/eslint": "23.1.1",
|
|
187
187
|
"@prettier/plugin-xml": "^3.4.2",
|
|
188
|
-
"@storm-software/eslint-plugin-banner": "0.0.
|
|
189
|
-
"@storm-software/eslint-plugin-bun": "0.0.
|
|
190
|
-
"@storm-software/eslint-plugin-pnpm": "0.0.
|
|
191
|
-
"@storm-software/eslint-plugin-tsdoc": "0.0.
|
|
192
|
-
"@storm-software/tsdoc": "0.13.269",
|
|
188
|
+
"@storm-software/eslint-plugin-banner": "0.0.83",
|
|
189
|
+
"@storm-software/eslint-plugin-bun": "0.0.6",
|
|
190
|
+
"@storm-software/eslint-plugin-pnpm": "0.0.81",
|
|
191
|
+
"@storm-software/eslint-plugin-tsdoc": "0.0.81",
|
|
193
192
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
194
193
|
"@types/eslint": "^9.6.1",
|
|
195
194
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -237,7 +236,6 @@
|
|
|
237
236
|
"eslint-plugin-relay": "^1.8.3",
|
|
238
237
|
"eslint-plugin-storybook": "^0.11.0",
|
|
239
238
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
240
|
-
"minimatch": "^10.2.5",
|
|
241
239
|
"prettier-plugin-astro": "^0.14.0",
|
|
242
240
|
"zod": "^3.25.0 || ^4.0.0"
|
|
243
241
|
},
|
|
@@ -265,5 +263,5 @@
|
|
|
265
263
|
"zod": { "optional": true }
|
|
266
264
|
},
|
|
267
265
|
"publishConfig": { "access": "public" },
|
|
268
|
-
"gitHead": "
|
|
266
|
+
"gitHead": "046bd2f6ad18d64008059a9f4ce524ed68af5f83"
|
|
269
267
|
}
|