@storm-software/eslint 0.170.87 → 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.
- 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 +32 -38
- package/dist/preset.js +33 -39
- 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,18 +130,18 @@ 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
|
}
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
142
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/Components.js
|
|
143
143
|
var require_Components = __commonJS({
|
|
144
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
144
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/Components.js"(exports, module) {
|
|
145
145
|
init_cjs_shims();
|
|
146
146
|
function Components() {
|
|
147
147
|
this.list = {};
|
|
@@ -454,9 +454,9 @@ var require_Components = __commonJS({
|
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
457
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/stylesheet.js
|
|
458
458
|
var require_stylesheet = __commonJS({
|
|
459
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
459
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/stylesheet.js"(exports, module) {
|
|
460
460
|
init_cjs_shims();
|
|
461
461
|
function StyleSheets() {
|
|
462
462
|
this.styleSheets = {};
|
|
@@ -797,9 +797,9 @@ var require_stylesheet = __commonJS({
|
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
799
|
|
|
800
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
800
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-unused-styles.js
|
|
801
801
|
var require_no_unused_styles = __commonJS({
|
|
802
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
802
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-unused-styles.js"(exports, module) {
|
|
803
803
|
init_cjs_shims();
|
|
804
804
|
var Components = require_Components();
|
|
805
805
|
var styleSheet = require_stylesheet();
|
|
@@ -858,9 +858,9 @@ var require_no_unused_styles = __commonJS({
|
|
|
858
858
|
}
|
|
859
859
|
});
|
|
860
860
|
|
|
861
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
861
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-inline-styles.js
|
|
862
862
|
var require_no_inline_styles = __commonJS({
|
|
863
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
863
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-inline-styles.js"(exports, module) {
|
|
864
864
|
init_cjs_shims();
|
|
865
865
|
var util = __require("util");
|
|
866
866
|
var Components = require_Components();
|
|
@@ -902,9 +902,9 @@ var require_no_inline_styles = __commonJS({
|
|
|
902
902
|
}
|
|
903
903
|
});
|
|
904
904
|
|
|
905
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
905
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-color-literals.js
|
|
906
906
|
var require_no_color_literals = __commonJS({
|
|
907
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
907
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-color-literals.js"(exports, module) {
|
|
908
908
|
init_cjs_shims();
|
|
909
909
|
var util = __require("util");
|
|
910
910
|
var Components = require_Components();
|
|
@@ -957,9 +957,9 @@ var require_no_color_literals = __commonJS({
|
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
959
|
|
|
960
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
960
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/sort-styles.js
|
|
961
961
|
var require_sort_styles = __commonJS({
|
|
962
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
962
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/sort-styles.js"(exports, module) {
|
|
963
963
|
init_cjs_shims();
|
|
964
964
|
var { astHelpers } = require_stylesheet();
|
|
965
965
|
var {
|
|
@@ -1085,9 +1085,9 @@ var require_sort_styles = __commonJS({
|
|
|
1085
1085
|
}
|
|
1086
1086
|
});
|
|
1087
1087
|
|
|
1088
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1088
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/split-platform-components.js
|
|
1089
1089
|
var require_split_platform_components = __commonJS({
|
|
1090
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1090
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/split-platform-components.js"(exports, module) {
|
|
1091
1091
|
init_cjs_shims();
|
|
1092
1092
|
function create(context) {
|
|
1093
1093
|
let reactComponents = [];
|
|
@@ -1141,8 +1141,7 @@ var require_split_platform_components = __commonJS({
|
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
1143
|
"Program:exit": function() {
|
|
1144
|
-
|
|
1145
|
-
reportErrors(reactComponents, filename);
|
|
1144
|
+
reportErrors(reactComponents, context.filename || context.getFilename());
|
|
1146
1145
|
}
|
|
1147
1146
|
};
|
|
1148
1147
|
}
|
|
@@ -1167,9 +1166,9 @@ var require_split_platform_components = __commonJS({
|
|
|
1167
1166
|
}
|
|
1168
1167
|
});
|
|
1169
1168
|
|
|
1170
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1169
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js
|
|
1171
1170
|
var require_no_raw_text = __commonJS({
|
|
1172
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1171
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js"(exports, module) {
|
|
1173
1172
|
init_cjs_shims();
|
|
1174
1173
|
var elementName = (node2) => {
|
|
1175
1174
|
const reversedIdentifiers = [];
|
|
@@ -1260,9 +1259,9 @@ var require_no_raw_text = __commonJS({
|
|
|
1260
1259
|
}
|
|
1261
1260
|
});
|
|
1262
1261
|
|
|
1263
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1262
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-single-element-style-arrays.js
|
|
1264
1263
|
var require_no_single_element_style_arrays = __commonJS({
|
|
1265
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1264
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-single-element-style-arrays.js"(exports, module) {
|
|
1266
1265
|
init_cjs_shims();
|
|
1267
1266
|
module.exports = {
|
|
1268
1267
|
meta: {
|
|
@@ -1351,9 +1350,9 @@ var require_eslint_plugin_react_native_globals = __commonJS({
|
|
|
1351
1350
|
}
|
|
1352
1351
|
});
|
|
1353
1352
|
|
|
1354
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1353
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/index.js
|
|
1355
1354
|
var require_eslint_plugin_react_native = __commonJS({
|
|
1356
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1355
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/index.js"(exports, module) {
|
|
1357
1356
|
init_cjs_shims();
|
|
1358
1357
|
var allRules = {
|
|
1359
1358
|
"no-unused-styles": require_no_unused_styles(),
|
|
@@ -5708,7 +5707,7 @@ init_cjs_shims();
|
|
|
5708
5707
|
|
|
5709
5708
|
// ../eslint-plugin-banner/package.json
|
|
5710
5709
|
var package_default = {
|
|
5711
|
-
version: "0.0.
|
|
5710
|
+
version: "0.0.25"};
|
|
5712
5711
|
|
|
5713
5712
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5714
5713
|
init_cjs_shims();
|
|
@@ -19860,7 +19859,7 @@ plugin3.configs = configs3;
|
|
|
19860
19859
|
|
|
19861
19860
|
// ../eslint-plugin-pnpm/package.json
|
|
19862
19861
|
var package_default2 = {
|
|
19863
|
-
version: "0.0.
|
|
19862
|
+
version: "0.0.24"};
|
|
19864
19863
|
|
|
19865
19864
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19866
19865
|
var plugin4 = {
|
|
@@ -20074,7 +20073,7 @@ function renameRules2(config5) {
|
|
|
20074
20073
|
"@eslint-react/naming-convention-".length
|
|
20075
20074
|
)}`] = ruleConfig;
|
|
20076
20075
|
} else if (ruleName.startsWith("@eslint-react/x-")) {
|
|
20077
|
-
renamedRules[`react
|
|
20076
|
+
renamedRules[`react/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
|
|
20078
20077
|
} else if (ruleName.startsWith("@eslint-react/")) {
|
|
20079
20078
|
renamedRules[`react/${ruleName.slice("@eslint-react/".length)}`] = ruleConfig;
|
|
20080
20079
|
} else {
|
|
@@ -20135,16 +20134,15 @@ async function react(options = {}) {
|
|
|
20135
20134
|
{
|
|
20136
20135
|
name: "storm/react/setup",
|
|
20137
20136
|
plugins: {
|
|
20137
|
+
react: pluginReactX,
|
|
20138
20138
|
"react-hooks": pluginReactHooks,
|
|
20139
20139
|
"react-refresh": pluginReactRefresh,
|
|
20140
20140
|
"react-compiler": pluginReactCompiler,
|
|
20141
|
-
react: pluginReact,
|
|
20142
20141
|
"react-dom": pluginReactDom,
|
|
20143
20142
|
"react-jsx": pluginReactJsx,
|
|
20144
20143
|
"react-naming-convention": pluginReactNamingConvention,
|
|
20145
20144
|
"react-rsc": pluginReactRsc,
|
|
20146
|
-
"react-web-api": pluginReactWebApi
|
|
20147
|
-
"react-x": pluginReactX
|
|
20145
|
+
"react-web-api": pluginReactWebApi
|
|
20148
20146
|
}
|
|
20149
20147
|
},
|
|
20150
20148
|
{
|
|
@@ -20194,7 +20192,6 @@ async function react(options = {}) {
|
|
|
20194
20192
|
"react-dom/no-find-dom-node": "error",
|
|
20195
20193
|
"react-dom/no-missing-button-type": "warn",
|
|
20196
20194
|
"react-dom/no-missing-iframe-sandbox": "warn",
|
|
20197
|
-
"react-dom/no-namespace": "error",
|
|
20198
20195
|
"react-dom/no-render-return-value": "error",
|
|
20199
20196
|
"react-dom/no-script-url": "warn",
|
|
20200
20197
|
"react-dom/no-unsafe-iframe-sandbox": "warn",
|
|
@@ -20203,8 +20200,9 @@ async function react(options = {}) {
|
|
|
20203
20200
|
"react-web-api/no-leaked-interval": "warn",
|
|
20204
20201
|
"react-web-api/no-leaked-resize-observer": "warn",
|
|
20205
20202
|
"react-web-api/no-leaked-timeout": "warn",
|
|
20206
|
-
"react-
|
|
20207
|
-
"react/
|
|
20203
|
+
"react-jsx/no-namespace": "error",
|
|
20204
|
+
"react-jsx/no-comment-textnodes": "warn",
|
|
20205
|
+
"react/error-boundaries": "error",
|
|
20208
20206
|
"react/no-access-state-in-setstate": "error",
|
|
20209
20207
|
"react/no-array-index-key": "warn",
|
|
20210
20208
|
"react/no-children-count": "warn",
|
|
@@ -20213,21 +20211,17 @@ async function react(options = {}) {
|
|
|
20213
20211
|
"react/no-children-only": "warn",
|
|
20214
20212
|
"react/no-children-to-array": "warn",
|
|
20215
20213
|
"react/no-clone-element": "warn",
|
|
20216
|
-
"react/no-comment-textnodes": "warn",
|
|
20217
20214
|
"react/no-component-will-mount": "error",
|
|
20218
20215
|
"react/no-component-will-receive-props": "error",
|
|
20219
20216
|
"react/no-component-will-update": "error",
|
|
20220
20217
|
"react/no-context-provider": "warn",
|
|
20221
20218
|
"react/no-create-ref": "error",
|
|
20222
|
-
"react/no-default-props": "error",
|
|
20223
20219
|
"react/no-direct-mutation-state": "error",
|
|
20224
20220
|
"react/no-duplicate-key": "error",
|
|
20225
20221
|
"react/no-forward-ref": "warn",
|
|
20226
20222
|
"react/no-implicit-key": "warn",
|
|
20227
20223
|
"react/no-missing-key": "error",
|
|
20228
|
-
"react/no-nested-
|
|
20229
|
-
"react/no-prop-types": "error",
|
|
20230
|
-
"react/no-redundant-should-component-update": "error",
|
|
20224
|
+
"react/no-nested-component-definitions": "error",
|
|
20231
20225
|
"react/no-set-state-in-component-did-mount": "warn",
|
|
20232
20226
|
"react/no-set-state-in-component-did-update": "warn",
|
|
20233
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-
|
|
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';
|
|
@@ -57,9 +57,9 @@ import { globSync } from 'tinyglobby';
|
|
|
57
57
|
import config4 from 'eslint-plugin-prettier/recommended';
|
|
58
58
|
import { configs as configs$1 } from 'eslint-plugin-regexp';
|
|
59
59
|
|
|
60
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
60
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/Components.js
|
|
61
61
|
var require_Components = __commonJS({
|
|
62
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
62
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/Components.js"(exports, module) {
|
|
63
63
|
init_esm_shims();
|
|
64
64
|
function Components() {
|
|
65
65
|
this.list = {};
|
|
@@ -372,9 +372,9 @@ var require_Components = __commonJS({
|
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
|
|
375
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
375
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/stylesheet.js
|
|
376
376
|
var require_stylesheet = __commonJS({
|
|
377
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
377
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/util/stylesheet.js"(exports, module) {
|
|
378
378
|
init_esm_shims();
|
|
379
379
|
function StyleSheets() {
|
|
380
380
|
this.styleSheets = {};
|
|
@@ -715,9 +715,9 @@ var require_stylesheet = __commonJS({
|
|
|
715
715
|
}
|
|
716
716
|
});
|
|
717
717
|
|
|
718
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
718
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-unused-styles.js
|
|
719
719
|
var require_no_unused_styles = __commonJS({
|
|
720
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
720
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-unused-styles.js"(exports, module) {
|
|
721
721
|
init_esm_shims();
|
|
722
722
|
var __import____util_Components = __toESM(require_Components());
|
|
723
723
|
var __import____util_stylesheet = __toESM(require_stylesheet());
|
|
@@ -778,7 +778,7 @@ var require_no_unused_styles = __commonJS({
|
|
|
778
778
|
}
|
|
779
779
|
});
|
|
780
780
|
var require_no_inline_styles = __commonJS({
|
|
781
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
781
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-inline-styles.js"(exports, module) {
|
|
782
782
|
init_esm_shims();
|
|
783
783
|
var __import____util_Components = __toESM(require_Components());
|
|
784
784
|
var __import____util_stylesheet = __toESM(require_stylesheet());
|
|
@@ -822,7 +822,7 @@ var require_no_inline_styles = __commonJS({
|
|
|
822
822
|
}
|
|
823
823
|
});
|
|
824
824
|
var require_no_color_literals = __commonJS({
|
|
825
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
825
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-color-literals.js"(exports, module) {
|
|
826
826
|
init_esm_shims();
|
|
827
827
|
var __import____util_Components = __toESM(require_Components());
|
|
828
828
|
var __import____util_stylesheet = __toESM(require_stylesheet());
|
|
@@ -877,9 +877,9 @@ var require_no_color_literals = __commonJS({
|
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
879
|
|
|
880
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
880
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/sort-styles.js
|
|
881
881
|
var require_sort_styles = __commonJS({
|
|
882
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
882
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/sort-styles.js"(exports, module) {
|
|
883
883
|
init_esm_shims();
|
|
884
884
|
var __import____util_stylesheet = __toESM(require_stylesheet());
|
|
885
885
|
var { astHelpers } = __import____util_stylesheet;
|
|
@@ -1006,9 +1006,9 @@ var require_sort_styles = __commonJS({
|
|
|
1006
1006
|
}
|
|
1007
1007
|
});
|
|
1008
1008
|
|
|
1009
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1009
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/split-platform-components.js
|
|
1010
1010
|
var require_split_platform_components = __commonJS({
|
|
1011
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1011
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/split-platform-components.js"(exports, module) {
|
|
1012
1012
|
init_esm_shims();
|
|
1013
1013
|
function create(context) {
|
|
1014
1014
|
let reactComponents = [];
|
|
@@ -1062,8 +1062,7 @@ var require_split_platform_components = __commonJS({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
},
|
|
1064
1064
|
"Program:exit": function() {
|
|
1065
|
-
|
|
1066
|
-
reportErrors(reactComponents, filename);
|
|
1065
|
+
reportErrors(reactComponents, context.filename || context.getFilename());
|
|
1067
1066
|
}
|
|
1068
1067
|
};
|
|
1069
1068
|
}
|
|
@@ -1088,9 +1087,9 @@ var require_split_platform_components = __commonJS({
|
|
|
1088
1087
|
}
|
|
1089
1088
|
});
|
|
1090
1089
|
|
|
1091
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1090
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js
|
|
1092
1091
|
var require_no_raw_text = __commonJS({
|
|
1093
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1092
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-raw-text.js"(exports, module) {
|
|
1094
1093
|
init_esm_shims();
|
|
1095
1094
|
var elementName = (node2) => {
|
|
1096
1095
|
const reversedIdentifiers = [];
|
|
@@ -1181,9 +1180,9 @@ var require_no_raw_text = __commonJS({
|
|
|
1181
1180
|
}
|
|
1182
1181
|
});
|
|
1183
1182
|
|
|
1184
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1183
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-single-element-style-arrays.js
|
|
1185
1184
|
var require_no_single_element_style_arrays = __commonJS({
|
|
1186
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1185
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/lib/rules/no-single-element-style-arrays.js"(exports, module) {
|
|
1187
1186
|
init_esm_shims();
|
|
1188
1187
|
module.exports = {
|
|
1189
1188
|
meta: {
|
|
@@ -1272,9 +1271,9 @@ var require_eslint_plugin_react_native_globals = __commonJS({
|
|
|
1272
1271
|
}
|
|
1273
1272
|
});
|
|
1274
1273
|
|
|
1275
|
-
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1274
|
+
// ../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/index.js
|
|
1276
1275
|
var require_eslint_plugin_react_native = __commonJS({
|
|
1277
|
-
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=
|
|
1276
|
+
"../../node_modules/.pnpm/eslint-plugin-react-native@5.0.0_patch_hash=697a1cfd3f9a70758c1743e394cb6f0b089088d1388_c0876dd65fa7ad6734ae9ec797a46ea4/node_modules/eslint-plugin-react-native/index.js"(exports, module) {
|
|
1278
1277
|
init_esm_shims();
|
|
1279
1278
|
var __import___lib_rules_noUnusedStyles = __toESM(require_no_unused_styles());
|
|
1280
1279
|
var __import___lib_rules_noInlineStyles = __toESM(require_no_inline_styles());
|
|
@@ -5567,7 +5566,7 @@ init_esm_shims();
|
|
|
5567
5566
|
|
|
5568
5567
|
// ../eslint-plugin-banner/package.json
|
|
5569
5568
|
var package_default = {
|
|
5570
|
-
version: "0.0.
|
|
5569
|
+
version: "0.0.25"};
|
|
5571
5570
|
|
|
5572
5571
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5573
5572
|
init_esm_shims();
|
|
@@ -19461,7 +19460,7 @@ plugin3.configs = configs3;
|
|
|
19461
19460
|
|
|
19462
19461
|
// ../eslint-plugin-pnpm/package.json
|
|
19463
19462
|
var package_default2 = {
|
|
19464
|
-
version: "0.0.
|
|
19463
|
+
version: "0.0.24"};
|
|
19465
19464
|
|
|
19466
19465
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19467
19466
|
var plugin4 = {
|
|
@@ -19675,7 +19674,7 @@ function renameRules2(config5) {
|
|
|
19675
19674
|
"@eslint-react/naming-convention-".length
|
|
19676
19675
|
)}`] = ruleConfig;
|
|
19677
19676
|
} else if (ruleName.startsWith("@eslint-react/x-")) {
|
|
19678
|
-
renamedRules[`react
|
|
19677
|
+
renamedRules[`react/${ruleName.slice("@eslint-react/x-".length)}`] = ruleConfig;
|
|
19679
19678
|
} else if (ruleName.startsWith("@eslint-react/")) {
|
|
19680
19679
|
renamedRules[`react/${ruleName.slice("@eslint-react/".length)}`] = ruleConfig;
|
|
19681
19680
|
} else {
|
|
@@ -19736,16 +19735,15 @@ async function react(options = {}) {
|
|
|
19736
19735
|
{
|
|
19737
19736
|
name: "storm/react/setup",
|
|
19738
19737
|
plugins: {
|
|
19738
|
+
react: pluginReactX,
|
|
19739
19739
|
"react-hooks": pluginReactHooks,
|
|
19740
19740
|
"react-refresh": pluginReactRefresh,
|
|
19741
19741
|
"react-compiler": pluginReactCompiler,
|
|
19742
|
-
react: pluginReact,
|
|
19743
19742
|
"react-dom": pluginReactDom,
|
|
19744
19743
|
"react-jsx": pluginReactJsx,
|
|
19745
19744
|
"react-naming-convention": pluginReactNamingConvention,
|
|
19746
19745
|
"react-rsc": pluginReactRsc,
|
|
19747
|
-
"react-web-api": pluginReactWebApi
|
|
19748
|
-
"react-x": pluginReactX
|
|
19746
|
+
"react-web-api": pluginReactWebApi
|
|
19749
19747
|
}
|
|
19750
19748
|
},
|
|
19751
19749
|
{
|
|
@@ -19795,7 +19793,6 @@ async function react(options = {}) {
|
|
|
19795
19793
|
"react-dom/no-find-dom-node": "error",
|
|
19796
19794
|
"react-dom/no-missing-button-type": "warn",
|
|
19797
19795
|
"react-dom/no-missing-iframe-sandbox": "warn",
|
|
19798
|
-
"react-dom/no-namespace": "error",
|
|
19799
19796
|
"react-dom/no-render-return-value": "error",
|
|
19800
19797
|
"react-dom/no-script-url": "warn",
|
|
19801
19798
|
"react-dom/no-unsafe-iframe-sandbox": "warn",
|
|
@@ -19804,8 +19801,9 @@ async function react(options = {}) {
|
|
|
19804
19801
|
"react-web-api/no-leaked-interval": "warn",
|
|
19805
19802
|
"react-web-api/no-leaked-resize-observer": "warn",
|
|
19806
19803
|
"react-web-api/no-leaked-timeout": "warn",
|
|
19807
|
-
"react-
|
|
19808
|
-
"react/
|
|
19804
|
+
"react-jsx/no-namespace": "error",
|
|
19805
|
+
"react-jsx/no-comment-textnodes": "warn",
|
|
19806
|
+
"react/error-boundaries": "error",
|
|
19809
19807
|
"react/no-access-state-in-setstate": "error",
|
|
19810
19808
|
"react/no-array-index-key": "warn",
|
|
19811
19809
|
"react/no-children-count": "warn",
|
|
@@ -19814,21 +19812,17 @@ async function react(options = {}) {
|
|
|
19814
19812
|
"react/no-children-only": "warn",
|
|
19815
19813
|
"react/no-children-to-array": "warn",
|
|
19816
19814
|
"react/no-clone-element": "warn",
|
|
19817
|
-
"react/no-comment-textnodes": "warn",
|
|
19818
19815
|
"react/no-component-will-mount": "error",
|
|
19819
19816
|
"react/no-component-will-receive-props": "error",
|
|
19820
19817
|
"react/no-component-will-update": "error",
|
|
19821
19818
|
"react/no-context-provider": "warn",
|
|
19822
19819
|
"react/no-create-ref": "error",
|
|
19823
|
-
"react/no-default-props": "error",
|
|
19824
19820
|
"react/no-direct-mutation-state": "error",
|
|
19825
19821
|
"react/no-duplicate-key": "error",
|
|
19826
19822
|
"react/no-forward-ref": "warn",
|
|
19827
19823
|
"react/no-implicit-key": "warn",
|
|
19828
19824
|
"react/no-missing-key": "error",
|
|
19829
|
-
"react/no-nested-
|
|
19830
|
-
"react/no-prop-types": "error",
|
|
19831
|
-
"react/no-redundant-should-component-update": "error",
|
|
19825
|
+
"react/no-nested-component-definitions": "error",
|
|
19832
19826
|
"react/no-set-state-in-component-did-mount": "warn",
|
|
19833
19827
|
"react/no-set-state-in-component-did-update": "warn",
|
|
19834
19828
|
"react/no-set-state-in-component-will-update": "warn",
|