@storm-software/eslint 0.170.94 → 0.170.95

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/preset.cjs CHANGED
@@ -6490,13 +6490,6 @@ var relative = function(from, to) {
6490
6490
  }
6491
6491
  return [..._from.map(() => ".."), ..._to].join("/");
6492
6492
  };
6493
- var dirname = function(p) {
6494
- const segments = normalizeWindowsPath2(p).replace(/\/$/, "").split("/").slice(0, -1);
6495
- if (segments.length === 1 && _DRIVE_LETTER_RE2.test(segments[0])) {
6496
- segments[0] += "/";
6497
- }
6498
- return segments.join("/") || (isAbsolute2(p) ? "/" : ".");
6499
- };
6500
6493
 
6501
6494
  // src/utils/find-workspace-root.ts
6502
6495
  init_cjs_shims();
@@ -20268,7 +20261,7 @@ async function react(options = {}) {
20268
20261
  allowDefaultProject: [GLOB_SRC_FILE],
20269
20262
  defaultProject: tsconfigPath
20270
20263
  },
20271
- tsconfigRootDir: !tsconfigPath ? findWorkspaceRoot2() : dirname(tsconfigPath)
20264
+ tsconfigRootDir: findWorkspaceRoot2()
20272
20265
  }
20273
20266
  },
20274
20267
  name: "storm/react/type-aware-rules",
@@ -20828,7 +20821,7 @@ async function typescript(options = {}) {
20828
20821
  allowDefaultProject: [GLOB_SRC_FILE],
20829
20822
  defaultProject: tsconfigPath
20830
20823
  },
20831
- tsconfigRootDir: !tsconfigPath ? findWorkspaceRoot2() : path16.dirname(tsconfigPath)
20824
+ tsconfigRootDir: findWorkspaceRoot2()
20832
20825
  } : {},
20833
20826
  ...parserOptions
20834
20827
  }
package/dist/preset.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-ZTS57MZL.js';
2
2
  import { getTsConfigPath } from './chunk-BI2UMAQU.js';
3
3
  import { findWorkspaceRoot } from './chunk-DC6IKVKL.js';
4
- import { joinPaths, dirname as dirname$1 } from './chunk-6BPUJHCC.js';
4
+ import { joinPaths } from './chunk-6BPUJHCC.js';
5
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';
@@ -14,7 +14,7 @@ import { loadConfig } from 'c12';
14
14
  import defu from 'defu';
15
15
  import chalk from 'chalk';
16
16
  import fs3, { existsSync, readFileSync } from 'node:fs';
17
- import path16, { dirname as dirname$2, join } from 'node:path';
17
+ import path16, { join } from 'node:path';
18
18
  import { readFile } from 'node:fs/promises';
19
19
  import { EOL } from 'node:os';
20
20
  import cspellConfig from '@cspell/eslint-plugin/recommended';
@@ -19862,7 +19862,7 @@ async function react(options = {}) {
19862
19862
  allowDefaultProject: [GLOB_SRC_FILE],
19863
19863
  defaultProject: tsconfigPath
19864
19864
  },
19865
- tsconfigRootDir: !tsconfigPath ? findWorkspaceRoot() : dirname$1(tsconfigPath)
19865
+ tsconfigRootDir: findWorkspaceRoot()
19866
19866
  }
19867
19867
  },
19868
19868
  name: "storm/react/type-aware-rules",
@@ -20422,7 +20422,7 @@ async function typescript(options = {}) {
20422
20422
  allowDefaultProject: [GLOB_SRC_FILE],
20423
20423
  defaultProject: tsconfigPath
20424
20424
  },
20425
- tsconfigRootDir: !tsconfigPath ? findWorkspaceRoot() : dirname$2(tsconfigPath)
20425
+ tsconfigRootDir: findWorkspaceRoot()
20426
20426
  } : {},
20427
20427
  ...parserOptions
20428
20428
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.170.94",
3
+ "version": "0.170.95",
4
4
  "private": false,
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "keywords": [
@@ -141,9 +141,9 @@
141
141
  "@eslint/eslintrc": "^3.3.5",
142
142
  "@eslint/markdown": "^6.6.0",
143
143
  "@nx/eslint-plugin": "22.7.5",
144
- "@storm-software/config": "^1.137.93",
145
- "@storm-software/config-tools": "^1.190.61",
146
- "@storm-software/package-constants": "^0.1.74",
144
+ "@storm-software/config": "1.137.94",
145
+ "@storm-software/config-tools": "1.190.62",
146
+ "@storm-software/package-constants": "0.1.75",
147
147
  "@stylistic/eslint-plugin": "^4.4.1",
148
148
  "@typescript-eslint/eslint-plugin": "^8.61.0",
149
149
  "@typescript-eslint/parser": "^8.61.0",
@@ -196,9 +196,9 @@
196
196
  "@next/eslint-plugin-next": "^15.5.19",
197
197
  "@nx/eslint": "22.7.5",
198
198
  "@prettier/plugin-xml": "^3.4.2",
199
- "@storm-software/eslint-plugin-banner": "^0.0.26",
200
- "@storm-software/eslint-plugin-pnpm": "^0.0.24",
201
- "@storm-software/eslint-plugin-tsdoc": "^0.0.24",
199
+ "@storm-software/eslint-plugin-banner": "0.0.27",
200
+ "@storm-software/eslint-plugin-pnpm": "0.0.25",
201
+ "@storm-software/eslint-plugin-tsdoc": "0.0.25",
202
202
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
203
203
  "@types/eslint": "^9.6.1",
204
204
  "@types/eslint__js": "^8.42.3",
@@ -271,5 +271,5 @@
271
271
  "zod": { "optional": true }
272
272
  },
273
273
  "publishConfig": { "access": "public" },
274
- "gitHead": "8e16cad354d1a5fecfbd25f87783ecdf4062e5c4"
274
+ "gitHead": "b6da2d24e56e885c36947d4888e1a6380c1907b8"
275
275
  }