@storm-software/eslint 0.115.7 → 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
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.115.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.115.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,9 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
3
+
4
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
4
5
 
5
6
  // src/utils/format-config.ts
6
- var formatConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (name, config = []) => {
7
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
8
+ var formatConfig = /* @__PURE__ */ _chunkSCFUDB74cjs.__name.call(void 0, (name, config = []) => {
7
9
  return config.map((config2, index) => {
8
10
  if (!config2 || config2.name) {
9
11
  return _nullishCoalesce(config2, () => ( {}));
@@ -1,4 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/constants.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
4
+
5
+ // src/utils/constants.ts
6
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
2
7
  var RESTRICTED_SYNTAX = [
3
8
  {
4
9
  // ❌ readFile(…, { encoding: … })
@@ -1,8 +1,10 @@
1
1
  import {
2
- __name
3
- } from "./chunk-SHUYVCID.js";
2
+ __name,
3
+ init_esm_shims
4
+ } from "./chunk-65NJ2BNV.js";
4
5
 
5
6
  // src/rules/storm.ts
7
+ init_esm_shims();
6
8
  var getStormRulesConfig = /* @__PURE__ */ __name((options) => {
7
9
  let rules = {
8
10
  /*************************************************************
@@ -1,4 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/rules/ts-docs.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkSCFUDB74cjs = require('./chunk-SCFUDB74.cjs');
4
+
5
+ // src/rules/ts-docs.ts
6
+ _chunkSCFUDB74cjs.init_cjs_shims.call(void 0, );
2
7
  var config = {
3
8
  /**
4
9
  * Require TSDoc comments conform to the TSDoc specification.
@@ -0,0 +1,49 @@
1
+ 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/esm_shims.js
38
+ var init_esm_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/esm_shims.js"() {
40
+ }
41
+ });
42
+
43
+ export {
44
+ __name,
45
+ __require,
46
+ __commonJS,
47
+ __toESM,
48
+ init_esm_shims
49
+ };
@@ -1,4 +1,9 @@
1
+ import {
2
+ init_esm_shims
3
+ } from "./chunk-65NJ2BNV.js";
4
+
1
5
  // src/utils/constants.ts
6
+ init_esm_shims();
2
7
  var RESTRICTED_SYNTAX = [
3
8
  {
4
9
  // ❌ readFile(…, { encoding: … })
@@ -1,4 +1,9 @@
1
+ import {
2
+ init_esm_shims
3
+ } from "./chunk-65NJ2BNV.js";
4
+
1
5
  // src/rules/ts-docs.ts
6
+ init_esm_shims();
2
7
  var config = {
3
8
  /**
4
9
  * Require TSDoc comments conform to the TSDoc specification.
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  ACRONYMS_LIST
3
- } from "./chunk-RTM5LCEB.js";
3
+ } from "./chunk-6ALJL7BB.js";
4
4
  import {
5
- __name
6
- } from "./chunk-SHUYVCID.js";
5
+ __name,
6
+ init_esm_shims
7
+ } from "./chunk-65NJ2BNV.js";
7
8
 
8
9
  // src/utils/get-file-banner.ts
10
+ init_esm_shims();
9
11
  var getFileBanner = /* @__PURE__ */ __name((name = "") => {
10
12
  if (!name) {
11
13
  name = process.env.STORM_NAMESPACE || "";