@storm-software/eslint 0.170.67 → 0.170.69

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 (44) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-Z2ZFJBUD.js → chunk-C74DAXLP.js} +0 -2
  3. package/dist/{chunk-WEPTDP5X.js → chunk-DMZFJCWX.js} +2 -5
  4. package/dist/{chunk-ZZRQVLBJ.js → chunk-RU7GXBCG.js} +0 -3
  5. package/dist/chunk-WBEFFLSU.js +13 -0
  6. package/dist/{chunk-EIPIQB5E.js → chunk-WYU7W4UW.js} +1 -4
  7. package/dist/preset.cjs +14708 -16062
  8. package/dist/preset.d.cts +1 -0
  9. package/dist/preset.d.ts +1 -0
  10. package/dist/preset.js +14549 -15253
  11. package/dist/types.d.cts +29 -31
  12. package/dist/types.d.ts +29 -31
  13. package/dist/types.js +1 -4
  14. package/dist/utils/combine.d.cts +1 -0
  15. package/dist/utils/combine.d.ts +1 -0
  16. package/dist/utils/combine.js +1 -2
  17. package/dist/utils/correct-paths.js +2 -2
  18. package/dist/utils/find-workspace-root.js +3 -3
  19. package/dist/utils/format-config.js +20 -2
  20. package/dist/utils/helpers.cjs +1 -1
  21. package/dist/utils/helpers.js +2 -2
  22. package/dist/utils/tsconfig-path.js +4 -4
  23. package/package.json +12 -11
  24. package/dist/chunk-2FWJ22PW.js +0 -349
  25. package/dist/chunk-LRVZTK6Y.js +0 -21
  26. package/dist/chunk-QO5ZXGIE.js +0 -46
  27. package/dist/chunk-UVAZFUOB.js +0 -62
  28. package/dist/chunk-WHUEAYCR.js +0 -236
  29. package/dist/utils/banner-plugin.cjs +0 -458
  30. package/dist/utils/banner-plugin.d.cts +0 -6
  31. package/dist/utils/banner-plugin.d.ts +0 -6
  32. package/dist/utils/banner-plugin.js +0 -4
  33. package/dist/utils/constants.cjs +0 -315
  34. package/dist/utils/constants.d.cts +0 -83
  35. package/dist/utils/constants.d.ts +0 -83
  36. package/dist/utils/constants.js +0 -2
  37. package/dist/utils/get-file-banner.cjs +0 -103
  38. package/dist/utils/get-file-banner.d.cts +0 -12
  39. package/dist/utils/get-file-banner.d.ts +0 -12
  40. package/dist/utils/get-file-banner.js +0 -3
  41. package/dist/utils/index.cjs +0 -333
  42. package/dist/utils/index.d.cts +0 -3
  43. package/dist/utils/index.d.ts +0 -3
  44. package/dist/utils/index.js +0 -6
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.170.65-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)
30
+ [![Version](https://img.shields.io/badge/version-0.170.68-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -1,10 +1,8 @@
1
- import { init_esm_shims } from './chunk-QO5ZXGIE.js';
2
1
  import { isPackageExists } from 'local-pkg';
3
2
  import process from 'node:process';
4
3
  import { fileURLToPath } from 'node:url';
5
4
 
6
5
  // src/utils/helpers.ts
7
- init_esm_shims();
8
6
  var scopeUrl = fileURLToPath(new URL(".", import.meta.url));
9
7
  var isCwdInScope = isPackageExists("@storm-software/eslint");
10
8
  var parserPlain = {
@@ -1,10 +1,7 @@
1
- import { findWorkspaceRoot } from './chunk-EIPIQB5E.js';
2
- import { relative, joinPaths } from './chunk-ZZRQVLBJ.js';
3
- import { init_esm_shims } from './chunk-QO5ZXGIE.js';
1
+ import { findWorkspaceRoot } from './chunk-WYU7W4UW.js';
2
+ import { relative, joinPaths } from './chunk-RU7GXBCG.js';
4
3
  import { existsSync, statSync } from 'node:fs';
5
4
 
6
- // src/utils/tsconfig-path.ts
7
- init_esm_shims();
8
5
  function getTsConfigPath(tsconfigPath, type = "app") {
9
6
  const workspaceRoot = findWorkspaceRoot();
10
7
  if (tsconfigPath && existsSync(tsconfigPath) && statSync(tsconfigPath).isFile()) {
@@ -1,7 +1,4 @@
1
- import { init_esm_shims } from './chunk-QO5ZXGIE.js';
2
-
3
1
  // src/utils/correct-paths.ts
4
- init_esm_shims();
5
2
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
6
3
  function normalizeWindowsPath(input = "") {
7
4
  if (!input) {
@@ -0,0 +1,13 @@
1
+ import { fileURLToPath } from 'url';
2
+ import 'path';
3
+
4
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
5
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
6
+ }) : x)(function(x) {
7
+ if (typeof require !== "undefined") return require.apply(this, arguments);
8
+ throw Error('Dynamic require of "' + x + '" is not supported');
9
+ });
10
+ var getFilename = () => fileURLToPath(import.meta.url);
11
+ var __filename$1 = /* @__PURE__ */ getFilename();
12
+
13
+ export { __filename$1 as __filename, __require };
@@ -1,10 +1,7 @@
1
- import { correctPaths } from './chunk-ZZRQVLBJ.js';
2
- import { init_esm_shims } from './chunk-QO5ZXGIE.js';
1
+ import { correctPaths } from './chunk-RU7GXBCG.js';
3
2
  import { existsSync } from 'node:fs';
4
3
  import { join } from 'node:path';
5
4
 
6
- // src/utils/find-workspace-root.ts
7
- init_esm_shims();
8
5
  var MAX_PATH_SEARCH_DEPTH = 30;
9
6
  var depth = 0;
10
7
  function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {