@storm-software/eslint 0.170.88 → 0.170.90
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/{chunk-HUL5SEAB.js → chunk-67G5I72Q.js} +1 -1
- package/dist/{chunk-I72VXUA2.js → chunk-6BPUJHCC.js} +1 -1
- package/dist/{chunk-2U26IRBT.js → chunk-DC6IKVKL.js} +2 -2
- package/dist/{chunk-STWB44U5.js → chunk-PQXDULCW.js} +3 -3
- package/dist/{chunk-GNREDRXJ.js → chunk-ZTS57MZL.js} +1 -1
- package/dist/preset.cjs +14 -20
- package/dist/preset.js +17 -23
- package/dist/types.d.cts +65 -819
- package/dist/types.d.ts +65 -819
- package/dist/types.js +1 -1
- 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-path.js +4 -4
- package/package.json +8 -8
|
@@ -37,7 +37,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
37
|
));
|
|
38
38
|
var getFilename, __filename$1;
|
|
39
39
|
var init_esm_shims = __esm({
|
|
40
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__502c9c9f830169d345413f684c5c8280/node_modules/tsup/assets/esm_shims.js"() {
|
|
41
41
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
42
42
|
__filename$1 = /* @__PURE__ */ getFilename();
|
|
43
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { correctPaths } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { correctPaths } from './chunk-6BPUJHCC.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-67G5I72Q.js';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findWorkspaceRoot } from './chunk-
|
|
2
|
-
import { relative, joinPaths } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { findWorkspaceRoot } from './chunk-DC6IKVKL.js';
|
|
2
|
+
import { relative, joinPaths } from './chunk-6BPUJHCC.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-67G5I72Q.js';
|
|
4
4
|
import { existsSync, statSync } from 'node:fs';
|
|
5
5
|
|
|
6
6
|
// src/utils/tsconfig-path.ts
|
package/dist/preset.cjs
CHANGED
|
@@ -130,10 +130,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
130
130
|
mod
|
|
131
131
|
));
|
|
132
132
|
|
|
133
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
133
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__502c9c9f830169d345413f684c5c8280/node_modules/tsup/assets/cjs_shims.js
|
|
134
134
|
var getImportMetaUrl, importMetaUrl;
|
|
135
135
|
var init_cjs_shims = __esm({
|
|
136
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
136
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__502c9c9f830169d345413f684c5c8280/node_modules/tsup/assets/cjs_shims.js"() {
|
|
137
137
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
138
138
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
139
139
|
}
|
|
@@ -5707,7 +5707,7 @@ init_cjs_shims();
|
|
|
5707
5707
|
|
|
5708
5708
|
// ../eslint-plugin-banner/package.json
|
|
5709
5709
|
var package_default = {
|
|
5710
|
-
version: "0.0.
|
|
5710
|
+
version: "0.0.25"};
|
|
5711
5711
|
|
|
5712
5712
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5713
5713
|
init_cjs_shims();
|
|
@@ -19859,7 +19859,7 @@ plugin3.configs = configs3;
|
|
|
19859
19859
|
|
|
19860
19860
|
// ../eslint-plugin-pnpm/package.json
|
|
19861
19861
|
var package_default2 = {
|
|
19862
|
-
version: "0.0.
|
|
19862
|
+
version: "0.0.24"};
|
|
19863
19863
|
|
|
19864
19864
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19865
19865
|
var plugin4 = {
|
|
@@ -20073,7 +20073,7 @@ function renameRules2(config5) {
|
|
|
20073
20073
|
"@eslint-react/naming-convention-".length
|
|
20074
20074
|
)}`] = ruleConfig;
|
|
20075
20075
|
} else if (ruleName.startsWith("@eslint-react/x-")) {
|
|
20076
|
-
renamedRules[`react
|
|
20076
|
+
renamedRules[`react/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
|
|
20077
20077
|
} else if (ruleName.startsWith("@eslint-react/")) {
|
|
20078
20078
|
renamedRules[`react/${ruleName.slice("@eslint-react/".length)}`] = ruleConfig;
|
|
20079
20079
|
} else {
|
|
@@ -20134,16 +20134,15 @@ async function react(options = {}) {
|
|
|
20134
20134
|
{
|
|
20135
20135
|
name: "storm/react/setup",
|
|
20136
20136
|
plugins: {
|
|
20137
|
+
react: pluginReactX,
|
|
20137
20138
|
"react-hooks": pluginReactHooks,
|
|
20138
20139
|
"react-refresh": pluginReactRefresh,
|
|
20139
20140
|
"react-compiler": pluginReactCompiler,
|
|
20140
|
-
react: pluginReact,
|
|
20141
20141
|
"react-dom": pluginReactDom,
|
|
20142
20142
|
"react-jsx": pluginReactJsx,
|
|
20143
20143
|
"react-naming-convention": pluginReactNamingConvention,
|
|
20144
20144
|
"react-rsc": pluginReactRsc,
|
|
20145
|
-
"react-web-api": pluginReactWebApi
|
|
20146
|
-
"react-x": pluginReactX
|
|
20145
|
+
"react-web-api": pluginReactWebApi
|
|
20147
20146
|
}
|
|
20148
20147
|
},
|
|
20149
20148
|
{
|
|
@@ -20193,7 +20192,6 @@ async function react(options = {}) {
|
|
|
20193
20192
|
"react-dom/no-find-dom-node": "error",
|
|
20194
20193
|
"react-dom/no-missing-button-type": "warn",
|
|
20195
20194
|
"react-dom/no-missing-iframe-sandbox": "warn",
|
|
20196
|
-
"react-dom/no-namespace": "error",
|
|
20197
20195
|
"react-dom/no-render-return-value": "error",
|
|
20198
20196
|
"react-dom/no-script-url": "warn",
|
|
20199
20197
|
"react-dom/no-unsafe-iframe-sandbox": "warn",
|
|
@@ -20202,8 +20200,9 @@ async function react(options = {}) {
|
|
|
20202
20200
|
"react-web-api/no-leaked-interval": "warn",
|
|
20203
20201
|
"react-web-api/no-leaked-resize-observer": "warn",
|
|
20204
20202
|
"react-web-api/no-leaked-timeout": "warn",
|
|
20205
|
-
"react-
|
|
20206
|
-
"react/
|
|
20203
|
+
"react-jsx/no-namespace": "error",
|
|
20204
|
+
"react-jsx/no-comment-textnodes": "warn",
|
|
20205
|
+
"react/error-boundaries": "error",
|
|
20207
20206
|
"react/no-access-state-in-setstate": "error",
|
|
20208
20207
|
"react/no-array-index-key": "warn",
|
|
20209
20208
|
"react/no-children-count": "warn",
|
|
@@ -20212,25 +20211,20 @@ async function react(options = {}) {
|
|
|
20212
20211
|
"react/no-children-only": "warn",
|
|
20213
20212
|
"react/no-children-to-array": "warn",
|
|
20214
20213
|
"react/no-clone-element": "warn",
|
|
20215
|
-
"react/no-comment-textnodes": "warn",
|
|
20216
20214
|
"react/no-component-will-mount": "error",
|
|
20217
20215
|
"react/no-component-will-receive-props": "error",
|
|
20218
20216
|
"react/no-component-will-update": "error",
|
|
20219
20217
|
"react/no-context-provider": "warn",
|
|
20220
20218
|
"react/no-create-ref": "error",
|
|
20221
|
-
"react/no-default-props": "error",
|
|
20222
20219
|
"react/no-direct-mutation-state": "error",
|
|
20223
20220
|
"react/no-duplicate-key": "error",
|
|
20224
20221
|
"react/no-forward-ref": "warn",
|
|
20225
20222
|
"react/no-implicit-key": "warn",
|
|
20226
20223
|
"react/no-missing-key": "error",
|
|
20227
|
-
"react/no-nested-
|
|
20228
|
-
"react/no-prop-types": "error",
|
|
20229
|
-
"react/no-redundant-should-component-update": "error",
|
|
20224
|
+
"react/no-nested-component-definitions": "error",
|
|
20230
20225
|
"react/no-set-state-in-component-did-mount": "warn",
|
|
20231
20226
|
"react/no-set-state-in-component-did-update": "warn",
|
|
20232
20227
|
"react/no-set-state-in-component-will-update": "warn",
|
|
20233
|
-
"react/no-string-refs": "error",
|
|
20234
20228
|
"react/no-unsafe-component-will-mount": "warn",
|
|
20235
20229
|
"react/no-unsafe-component-will-receive-props": "warn",
|
|
20236
20230
|
"react/no-unsafe-component-will-update": "warn",
|
|
@@ -20238,9 +20232,9 @@ async function react(options = {}) {
|
|
|
20238
20232
|
"react/no-unstable-default-props": "warn",
|
|
20239
20233
|
"react/no-unused-class-component-members": "warn",
|
|
20240
20234
|
"react/no-unused-state": "warn",
|
|
20241
|
-
"react/prefer-destructuring-assignment": "warn",
|
|
20242
|
-
"react/prefer-shorthand-boolean": "warn",
|
|
20243
|
-
"react/prefer-shorthand-fragment": "warn",
|
|
20235
|
+
// "react/prefer-destructuring-assignment": "warn",
|
|
20236
|
+
// "react/prefer-shorthand-boolean": "warn",
|
|
20237
|
+
// "react/prefer-shorthand-fragment": "warn",
|
|
20244
20238
|
...overrides
|
|
20245
20239
|
}
|
|
20246
20240
|
},
|
package/dist/preset.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-
|
|
2
|
-
import { getTsConfigPath } from './chunk-
|
|
3
|
-
import { findWorkspaceRoot } from './chunk-
|
|
4
|
-
import { joinPaths } from './chunk-
|
|
5
|
-
import { __commonJS, init_esm_shims, __toESM, __require, __filename as __filename$1 } from './chunk-
|
|
1
|
+
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-ZTS57MZL.js';
|
|
2
|
+
import { getTsConfigPath } from './chunk-PQXDULCW.js';
|
|
3
|
+
import { findWorkspaceRoot } from './chunk-DC6IKVKL.js';
|
|
4
|
+
import { joinPaths } from './chunk-6BPUJHCC.js';
|
|
5
|
+
import { __commonJS, init_esm_shims, __toESM, __require, __filename as __filename$1 } from './chunk-67G5I72Q.js';
|
|
6
6
|
import * as __import_util from 'util';
|
|
7
7
|
import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
|
|
8
8
|
import * as __import_path from 'path';
|
|
@@ -5566,7 +5566,7 @@ init_esm_shims();
|
|
|
5566
5566
|
|
|
5567
5567
|
// ../eslint-plugin-banner/package.json
|
|
5568
5568
|
var package_default = {
|
|
5569
|
-
version: "0.0.
|
|
5569
|
+
version: "0.0.25"};
|
|
5570
5570
|
|
|
5571
5571
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5572
5572
|
init_esm_shims();
|
|
@@ -19460,7 +19460,7 @@ plugin3.configs = configs3;
|
|
|
19460
19460
|
|
|
19461
19461
|
// ../eslint-plugin-pnpm/package.json
|
|
19462
19462
|
var package_default2 = {
|
|
19463
|
-
version: "0.0.
|
|
19463
|
+
version: "0.0.24"};
|
|
19464
19464
|
|
|
19465
19465
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19466
19466
|
var plugin4 = {
|
|
@@ -19674,7 +19674,7 @@ function renameRules2(config5) {
|
|
|
19674
19674
|
"@eslint-react/naming-convention-".length
|
|
19675
19675
|
)}`] = ruleConfig;
|
|
19676
19676
|
} else if (ruleName.startsWith("@eslint-react/x-")) {
|
|
19677
|
-
renamedRules[`react
|
|
19677
|
+
renamedRules[`react/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
|
|
19678
19678
|
} else if (ruleName.startsWith("@eslint-react/")) {
|
|
19679
19679
|
renamedRules[`react/${ruleName.slice("@eslint-react/".length)}`] = ruleConfig;
|
|
19680
19680
|
} else {
|
|
@@ -19735,16 +19735,15 @@ async function react(options = {}) {
|
|
|
19735
19735
|
{
|
|
19736
19736
|
name: "storm/react/setup",
|
|
19737
19737
|
plugins: {
|
|
19738
|
+
react: pluginReactX,
|
|
19738
19739
|
"react-hooks": pluginReactHooks,
|
|
19739
19740
|
"react-refresh": pluginReactRefresh,
|
|
19740
19741
|
"react-compiler": pluginReactCompiler,
|
|
19741
|
-
react: pluginReact,
|
|
19742
19742
|
"react-dom": pluginReactDom,
|
|
19743
19743
|
"react-jsx": pluginReactJsx,
|
|
19744
19744
|
"react-naming-convention": pluginReactNamingConvention,
|
|
19745
19745
|
"react-rsc": pluginReactRsc,
|
|
19746
|
-
"react-web-api": pluginReactWebApi
|
|
19747
|
-
"react-x": pluginReactX
|
|
19746
|
+
"react-web-api": pluginReactWebApi
|
|
19748
19747
|
}
|
|
19749
19748
|
},
|
|
19750
19749
|
{
|
|
@@ -19794,7 +19793,6 @@ async function react(options = {}) {
|
|
|
19794
19793
|
"react-dom/no-find-dom-node": "error",
|
|
19795
19794
|
"react-dom/no-missing-button-type": "warn",
|
|
19796
19795
|
"react-dom/no-missing-iframe-sandbox": "warn",
|
|
19797
|
-
"react-dom/no-namespace": "error",
|
|
19798
19796
|
"react-dom/no-render-return-value": "error",
|
|
19799
19797
|
"react-dom/no-script-url": "warn",
|
|
19800
19798
|
"react-dom/no-unsafe-iframe-sandbox": "warn",
|
|
@@ -19803,8 +19801,9 @@ async function react(options = {}) {
|
|
|
19803
19801
|
"react-web-api/no-leaked-interval": "warn",
|
|
19804
19802
|
"react-web-api/no-leaked-resize-observer": "warn",
|
|
19805
19803
|
"react-web-api/no-leaked-timeout": "warn",
|
|
19806
|
-
"react-
|
|
19807
|
-
"react/
|
|
19804
|
+
"react-jsx/no-namespace": "error",
|
|
19805
|
+
"react-jsx/no-comment-textnodes": "warn",
|
|
19806
|
+
"react/error-boundaries": "error",
|
|
19808
19807
|
"react/no-access-state-in-setstate": "error",
|
|
19809
19808
|
"react/no-array-index-key": "warn",
|
|
19810
19809
|
"react/no-children-count": "warn",
|
|
@@ -19813,25 +19812,20 @@ async function react(options = {}) {
|
|
|
19813
19812
|
"react/no-children-only": "warn",
|
|
19814
19813
|
"react/no-children-to-array": "warn",
|
|
19815
19814
|
"react/no-clone-element": "warn",
|
|
19816
|
-
"react/no-comment-textnodes": "warn",
|
|
19817
19815
|
"react/no-component-will-mount": "error",
|
|
19818
19816
|
"react/no-component-will-receive-props": "error",
|
|
19819
19817
|
"react/no-component-will-update": "error",
|
|
19820
19818
|
"react/no-context-provider": "warn",
|
|
19821
19819
|
"react/no-create-ref": "error",
|
|
19822
|
-
"react/no-default-props": "error",
|
|
19823
19820
|
"react/no-direct-mutation-state": "error",
|
|
19824
19821
|
"react/no-duplicate-key": "error",
|
|
19825
19822
|
"react/no-forward-ref": "warn",
|
|
19826
19823
|
"react/no-implicit-key": "warn",
|
|
19827
19824
|
"react/no-missing-key": "error",
|
|
19828
|
-
"react/no-nested-
|
|
19829
|
-
"react/no-prop-types": "error",
|
|
19830
|
-
"react/no-redundant-should-component-update": "error",
|
|
19825
|
+
"react/no-nested-component-definitions": "error",
|
|
19831
19826
|
"react/no-set-state-in-component-did-mount": "warn",
|
|
19832
19827
|
"react/no-set-state-in-component-did-update": "warn",
|
|
19833
19828
|
"react/no-set-state-in-component-will-update": "warn",
|
|
19834
|
-
"react/no-string-refs": "error",
|
|
19835
19829
|
"react/no-unsafe-component-will-mount": "warn",
|
|
19836
19830
|
"react/no-unsafe-component-will-receive-props": "warn",
|
|
19837
19831
|
"react/no-unsafe-component-will-update": "warn",
|
|
@@ -19839,9 +19833,9 @@ async function react(options = {}) {
|
|
|
19839
19833
|
"react/no-unstable-default-props": "warn",
|
|
19840
19834
|
"react/no-unused-class-component-members": "warn",
|
|
19841
19835
|
"react/no-unused-state": "warn",
|
|
19842
|
-
"react/prefer-destructuring-assignment": "warn",
|
|
19843
|
-
"react/prefer-shorthand-boolean": "warn",
|
|
19844
|
-
"react/prefer-shorthand-fragment": "warn",
|
|
19836
|
+
// "react/prefer-destructuring-assignment": "warn",
|
|
19837
|
+
// "react/prefer-shorthand-boolean": "warn",
|
|
19838
|
+
// "react/prefer-shorthand-fragment": "warn",
|
|
19845
19839
|
...overrides
|
|
19846
19840
|
}
|
|
19847
19841
|
},
|