@storm-software/eslint 0.170.88 → 0.170.89

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.
@@ -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=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/esm_shims.js"() {
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,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-HUL5SEAB.js';
1
+ import { init_esm_shims } from './chunk-67G5I72Q.js';
2
2
 
3
3
  // src/utils/correct-paths.ts
4
4
  init_esm_shims();
@@ -1,5 +1,5 @@
1
- import { correctPaths } from './chunk-I72VXUA2.js';
2
- import { init_esm_shims } from './chunk-HUL5SEAB.js';
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-2U26IRBT.js';
2
- import { relative, joinPaths } from './chunk-I72VXUA2.js';
3
- import { init_esm_shims } from './chunk-HUL5SEAB.js';
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
@@ -1,4 +1,4 @@
1
- import { init_esm_shims } from './chunk-HUL5SEAB.js';
1
+ import { init_esm_shims } from './chunk-67G5I72Q.js';
2
2
  import { isPackageExists } from 'local-pkg';
3
3
  import process from 'node:process';
4
4
  import { fileURLToPath } from 'node:url';
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=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js
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=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js"() {
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.24"};
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.23"};
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-x/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
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-x/error-boundaries": "error",
20206
- "react/ensure-forward-ref-using-ref": "warn",
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,21 +20211,17 @@ 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-components": "error",
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",
package/dist/preset.js CHANGED
@@ -1,8 +1,8 @@
1
- import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-GNREDRXJ.js';
2
- import { getTsConfigPath } from './chunk-STWB44U5.js';
3
- import { findWorkspaceRoot } from './chunk-2U26IRBT.js';
4
- import { joinPaths } from './chunk-I72VXUA2.js';
5
- import { __commonJS, init_esm_shims, __toESM, __require, __filename as __filename$1 } from './chunk-HUL5SEAB.js';
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.24"};
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.23"};
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-x/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
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-x/error-boundaries": "error",
19807
- "react/ensure-forward-ref-using-ref": "warn",
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,21 +19812,17 @@ 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-components": "error",
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",