@typescript-eslint/utils 8.39.1 → 8.39.2-alpha.1
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,6 +1,6 @@
|
|
|
1
1
|
import type { FlatConfig } from '../Config';
|
|
2
2
|
import type * as Shared from './ESLintShared';
|
|
3
|
-
declare class FlatESLintBase extends Shared.ESLintBase<FlatConfig.ConfigArray, FlatESLint.ESLintOptions> {
|
|
3
|
+
declare class FlatESLintBase extends Shared.ESLintBase<FlatConfig.Config | FlatConfig.ConfigArray, FlatESLint.ESLintOptions> {
|
|
4
4
|
static readonly configType: 'flat';
|
|
5
5
|
/**
|
|
6
6
|
* Returns a configuration object for the given file based on the CLI options.
|
|
@@ -9,7 +9,7 @@ declare class FlatESLintBase extends Shared.ESLintBase<FlatConfig.ConfigArray, F
|
|
|
9
9
|
* @param filePath The path of the file to retrieve a config object for.
|
|
10
10
|
* @returns A configuration object for the file or `undefined` if there is no configuration data for the object.
|
|
11
11
|
*/
|
|
12
|
-
calculateConfigForFile(filePath: string): Promise<FlatConfig.
|
|
12
|
+
calculateConfigForFile(filePath: string): Promise<FlatConfig.Config>;
|
|
13
13
|
/**
|
|
14
14
|
* Finds the config file being used by this instance based on the options
|
|
15
15
|
* passed to the constructor.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/FlatESLint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAG9C,OAAO,OAAO,cAAe,SAAQ,MAAM,CAAC,UAAU,CACpD,UAAU,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"FlatESLint.d.ts","sourceRoot":"","sources":["../../../src/ts-eslint/eslint/FlatESLint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EA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,GAAG,MAAM,CAAC,SAAS,CAAC;IACzC,KAAY,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;IACvD,KAAY,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;IAC3D,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACzD,KAAY,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACrD,KAAY,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;IACjE,KAAY,UAAU,GAAG,CAAC,IAAI,EAAE;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,KAAK,OAAO,CAAC;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/utils",
|
|
3
|
-
"version": "8.39.1",
|
|
3
|
+
"version": "8.39.2-alpha.1",
|
|
4
4
|
"description": "Utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
65
|
-
"@typescript-eslint/scope-manager": "8.39.1",
|
|
66
|
-
"@typescript-eslint/types": "8.39.1",
|
|
67
|
-
"@typescript-eslint/typescript-estree": "8.39.1"
|
|
65
|
+
"@typescript-eslint/scope-manager": "8.39.2-alpha.1",
|
|
66
|
+
"@typescript-eslint/types": "8.39.2-alpha.1",
|
|
67
|
+
"@typescript-eslint/typescript-estree": "8.39.2-alpha.1"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"eslint": "^8.57.0 || ^9.0.0",
|