@storm-software/eslint 0.126.2 → 0.128.0

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.
@@ -1,5 +1,5 @@
1
1
  import { Awaitable } from 'eslint-flat-config-utils';
2
- import { T as TypedFlatConfigItem } from '../types-CnDDaY3J.js';
2
+ import { T as TypedFlatConfigItem } from '../types-CqEOmL6d.js';
3
3
  import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
4
4
  import '@stylistic/eslint-plugin';
5
5
  import '@typescript-eslint/parser';
@@ -0,0 +1,30 @@
1
+ import path from 'node:path';
2
+
3
+ declare function normalizeWindowsPath(input?: string): string;
4
+ /**
5
+ * Constant for path separator.
6
+ *
7
+ * Always equals to `"/"`.
8
+ */
9
+ declare const sep = "/";
10
+ declare const correctPaths: (path?: string) => string;
11
+ declare const joinPaths: typeof path.join;
12
+ declare const resolve: typeof path.resolve;
13
+ /**
14
+ * Resolves a string path, resolving '.' and '.' segments and allowing paths above the root.
15
+ *
16
+ * @param path - The path to normalise.
17
+ * @param allowAboveRoot - Whether to allow the resulting path to be above the root directory.
18
+ * @returns the normalised path string.
19
+ */
20
+ declare function normalizeString(path: string, allowAboveRoot: boolean): string;
21
+ declare const isAbsolute: typeof path.isAbsolute;
22
+ declare const toNamespacedPath: typeof path.toNamespacedPath;
23
+ declare const extname: typeof path.extname;
24
+ declare const relative: typeof path.relative;
25
+ declare const dirname: typeof path.dirname;
26
+ declare const format: typeof path.format;
27
+ declare const basename: typeof path.basename;
28
+ declare const parse: typeof path.parse;
29
+
30
+ export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath };
@@ -0,0 +1,33 @@
1
+ import {
2
+ basename,
3
+ correctPaths,
4
+ dirname,
5
+ extname,
6
+ format,
7
+ isAbsolute,
8
+ joinPaths,
9
+ normalizeString,
10
+ normalizeWindowsPath,
11
+ parse,
12
+ relative,
13
+ resolve,
14
+ sep,
15
+ toNamespacedPath
16
+ } from "../chunk-G7QVU75O.js";
17
+ import "../chunk-SHUYVCID.js";
18
+ export {
19
+ basename,
20
+ correctPaths,
21
+ dirname,
22
+ extname,
23
+ format,
24
+ isAbsolute,
25
+ joinPaths,
26
+ normalizeString,
27
+ normalizeWindowsPath,
28
+ parse,
29
+ relative,
30
+ resolve,
31
+ sep,
32
+ toNamespacedPath
33
+ };
@@ -1,3 +1,6 @@
1
+ import {
2
+ DEFAULT_IGNORES
3
+ } from "../chunk-UAGSKXUP.js";
1
4
  import {
2
5
  formatConfig
3
6
  } from "../chunk-FTXILLLE.js";
@@ -37,9 +40,6 @@ import {
37
40
  GLOB_XML,
38
41
  GLOB_YAML
39
42
  } from "../chunk-AIKLBIPC.js";
40
- import {
41
- DEFAULT_IGNORES
42
- } from "../chunk-UAGSKXUP.js";
43
43
  import "../chunk-SHUYVCID.js";
44
44
  export {
45
45
  ACRONYMS_LIST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.126.2",
3
+ "version": "0.128.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -154,7 +154,6 @@
154
154
  "@eslint/eslintrc": "^3.2.0",
155
155
  "@eslint/markdown": "^6.2.2",
156
156
  "@nx/eslint-plugin": "^20.3.1",
157
- "@storm-software/config-tools": "1.155.1",
158
157
  "@stylistic/eslint-plugin": "^4.0.0",
159
158
  "@typescript-eslint/eslint-plugin": "^8.24.1",
160
159
  "@typescript-eslint/parser": "^8.24.1",