typescript-eslint 8.41.1-alpha.0 → 8.41.1-alpha.10

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.
@@ -63,6 +63,9 @@ export type ConfigArray = TSESLint.FlatConfig.ConfigArray;
63
63
  * },
64
64
  * );
65
65
  * ```
66
+ *
67
+ * @deprecated ESLint core now provides this functionality via `defineConfig()`,
68
+ * which we now recommend instead. See {@link https://typescript-eslint.io/packages/typescript-eslint/#config-deprecated}.
66
69
  */
67
70
  export declare function config(...configs: InfiniteDepthConfigWithExtends[]): ConfigArray;
68
71
  //# sourceMappingURL=config-helper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-helper.d.ts","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,MAAM,8BAA8B,GACtC,iBAAiB,GACjB,8BAA8B,EAAE,CAAC;AAErC,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,CAAC,UAAU,CAAC,MAAM;IACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C;AAGD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CACpB,GAAG,OAAO,EAAE,8BAA8B,EAAE,GAC3C,WAAW,CAEb"}
1
+ {"version":3,"file":"config-helper.d.ts","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,MAAM,8BAA8B,GACtC,iBAAiB,GACjB,8BAA8B,EAAE,CAAC;AAErC,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,CAAC,UAAU,CAAC,MAAM;IACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C;AAGD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,MAAM,CACpB,GAAG,OAAO,EAAE,8BAA8B,EAAE,GAC3C,WAAW,CAEb"}
@@ -20,6 +20,9 @@ exports.config = config;
20
20
  * },
21
21
  * );
22
22
  * ```
23
+ *
24
+ * @deprecated ESLint core now provides this functionality via `defineConfig()`,
25
+ * which we now recommend instead. See {@link https://typescript-eslint.io/packages/typescript-eslint/#config-deprecated}.
23
26
  */
24
27
  function config(...configs) {
25
28
  return configImpl(...configs);
@@ -1 +1 @@
1
- {"version":3,"file":"getTSConfigRootDirFromStack.d.ts","sourceRoot":"","sources":["../src/getTSConfigRootDirFromStack.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,GAAG,SAAS,CAsChE"}
1
+ {"version":3,"file":"getTSConfigRootDirFromStack.d.ts","sourceRoot":"","sources":["../src/getTSConfigRootDirFromStack.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,GAAG,SAAS,CA2ChE"}
@@ -40,6 +40,11 @@ function getTSConfigRootDirFromStack() {
40
40
  : stackFrameFilePathOrUrl;
41
41
  const parsedPath = node_path_1.default.parse(stackFrameFilePath);
42
42
  if (/^eslint\.config\.(c|m)?(j|t)s$/.test(parsedPath.base)) {
43
+ if (process.platform === 'win32') {
44
+ // workaround for https://github.com/typescript-eslint/typescript-eslint/issues/11530
45
+ // (caused by https://github.com/unjs/jiti/issues/397)
46
+ return parsedPath.dir.replaceAll('/', node_path_1.default.sep);
47
+ }
43
48
  return parsedPath.dir;
44
49
  }
45
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-eslint",
3
- "version": "8.41.1-alpha.0",
3
+ "version": "8.41.1-alpha.10",
4
4
  "description": "Tooling which enables you to use TypeScript with ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -50,10 +50,10 @@
50
50
  "typecheck": "yarn run -BT nx typecheck"
51
51
  },
52
52
  "dependencies": {
53
- "@typescript-eslint/eslint-plugin": "8.41.1-alpha.0",
54
- "@typescript-eslint/parser": "8.41.1-alpha.0",
55
- "@typescript-eslint/typescript-estree": "8.41.1-alpha.0",
56
- "@typescript-eslint/utils": "8.41.1-alpha.0"
53
+ "@typescript-eslint/eslint-plugin": "8.41.1-alpha.10",
54
+ "@typescript-eslint/parser": "8.41.1-alpha.10",
55
+ "@typescript-eslint/typescript-estree": "8.41.1-alpha.10",
56
+ "@typescript-eslint/utils": "8.41.1-alpha.10"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "eslint": "^8.57.0 || ^9.0.0",