@storm-software/eslint 0.115.8 → 0.115.9

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.
Files changed (50) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-GMT3V67N.cjs → chunk-3GC4AORY.cjs} +4 -2
  3. package/dist/{chunk-ESFBJFNU.cjs → chunk-3UUB46KX.cjs} +6 -1
  4. package/dist/{chunk-XMT3QM5B.js → chunk-4RD7EZGD.js} +4 -2
  5. package/dist/{chunk-JS7W7LMD.cjs → chunk-57YNYDOK.cjs} +6 -1
  6. package/dist/chunk-65NJ2BNV.js +49 -0
  7. package/dist/{chunk-RTM5LCEB.js → chunk-6ALJL7BB.js} +5 -0
  8. package/dist/{chunk-723HQUNP.js → chunk-72MKOVCL.js} +5 -0
  9. package/dist/{chunk-Y67QTC5U.js → chunk-AIXMWXO2.js} +5 -3
  10. package/dist/chunk-AZOSQYIH.js +12754 -0
  11. package/dist/{chunk-HMBBDY5L.cjs → chunk-EFMMB4QR.cjs} +6 -4
  12. package/dist/{chunk-JUT6UB4M.js → chunk-Q5PXQJ7M.js} +5 -0
  13. package/dist/chunk-SCFUDB74.cjs +49 -0
  14. package/dist/{chunk-LUH5W2Z6.cjs → chunk-U47F4DRS.cjs} +6 -1
  15. package/dist/{chunk-R5BQJYBX.cjs → chunk-U7UR7AIF.cjs} +4 -2
  16. package/dist/chunk-Y5VOHJ3P.cjs +12754 -0
  17. package/dist/{chunk-FTXILLLE.js → chunk-YXBOINV5.js} +4 -2
  18. package/dist/preset.cjs +77071 -164
  19. package/dist/preset.js +76959 -57
  20. package/dist/rules/import.cjs +4 -1
  21. package/dist/rules/import.js +4 -1
  22. package/dist/rules/jsx-a11y.cjs +4 -1
  23. package/dist/rules/jsx-a11y.js +4 -1
  24. package/dist/rules/react-hooks.cjs +4 -1
  25. package/dist/rules/react-hooks.js +4 -1
  26. package/dist/rules/react.cjs +4 -1
  27. package/dist/rules/react.js +4 -1
  28. package/dist/rules/storm.cjs +3 -3
  29. package/dist/rules/storm.js +2 -2
  30. package/dist/rules/ts-docs.cjs +3 -3
  31. package/dist/rules/ts-docs.js +2 -2
  32. package/dist/utils/banner-plugin.cjs +5 -5
  33. package/dist/utils/banner-plugin.js +4 -4
  34. package/dist/utils/constants.cjs +3 -3
  35. package/dist/utils/constants.js +2 -2
  36. package/dist/utils/create-flat-import-plugin.cjs +4 -1
  37. package/dist/utils/create-flat-import-plugin.js +4 -1
  38. package/dist/utils/format-config.cjs +3 -3
  39. package/dist/utils/format-config.js +2 -2
  40. package/dist/utils/get-file-banner.cjs +4 -4
  41. package/dist/utils/get-file-banner.js +3 -3
  42. package/dist/utils/ignores.cjs +3 -3
  43. package/dist/utils/ignores.js +2 -2
  44. package/dist/utils/index.cjs +10 -5
  45. package/dist/utils/index.js +9 -4
  46. package/package.json +68 -21
  47. package/dist/chunk-LFHG33FO.cjs +0 -313
  48. package/dist/chunk-LSG5T3ZK.js +0 -313
  49. package/dist/chunk-SHUYVCID.js +0 -6
  50. package/dist/chunk-USNT2KNT.cjs +0 -6
@@ -1,12 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkESFBJFNUcjs = require('./chunk-ESFBJFNU.cjs');
3
+ var _chunk3UUB46KXcjs = require('./chunk-3UUB46KX.cjs');
4
4
 
5
5
 
6
- var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
6
+
7
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
7
8
 
8
9
  // src/utils/get-file-banner.ts
9
- var getFileBanner = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (name = "") => {
10
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
11
+ var getFileBanner = /* @__PURE__ */ _chunkSCFUDB74cjs.__name.call(void 0, (name = "") => {
10
12
  if (!name) {
11
13
  name = process.env.STORM_NAMESPACE || "";
12
14
  }
@@ -20,7 +22,7 @@ var getFileBanner = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (name
20
22
  titleName = titleName.slice(1);
21
23
  }
22
24
  titleName = (titleName.charAt(0).toUpperCase() + titleName.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
23
- if (_chunkESFBJFNUcjs.ACRONYMS_LIST.includes(word.toUpperCase())) {
25
+ if (_chunk3UUB46KXcjs.ACRONYMS_LIST.includes(word.toUpperCase())) {
24
26
  return word.toUpperCase();
25
27
  }
26
28
  return word.charAt(0).toUpperCase() + word.slice(1);
@@ -1,4 +1,9 @@
1
+ import {
2
+ init_esm_shims
3
+ } from "./chunk-65NJ2BNV.js";
4
+
1
5
  // src/utils/ignores.ts
6
+ init_esm_shims();
2
7
  var DEFAULT_IGNORES = [
3
8
  "**/.git/**",
4
9
  "**/node_modules/**",
@@ -0,0 +1,49 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __esm = (fn, res) => function __init() {
15
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
+ };
17
+ var __commonJS = (cb, mod) => function __require2() {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+
37
+ // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js
38
+ var init_cjs_shims = __esm({
39
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js"() {
40
+ }
41
+ });
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+ exports.__name = __name; exports.__require = __require; exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.init_cjs_shims = init_cjs_shims;
@@ -1,4 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/ignores.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
4
+
5
+ // src/utils/ignores.ts
6
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
2
7
  var DEFAULT_IGNORES = [
3
8
  "**/.git/**",
4
9
  "**/node_modules/**",
@@ -1,9 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
3
+
4
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
4
5
 
5
6
  // src/rules/storm.ts
6
- var getStormRulesConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (options) => {
7
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
8
+ var getStormRulesConfig = /* @__PURE__ */ _chunkSCFUDB74cjs.__name.call(void 0, (options) => {
7
9
  let rules = {
8
10
  /*************************************************************
9
11
  *