Skip to content

Commit 64edae5

Browse files
Bump @typescript-eslint/parser from 8.66.0 to 8.67.0 (#2736)
1 parent bac889d commit 64edae5

3 files changed

Lines changed: 147 additions & 0 deletions

File tree

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
General:
88

9+
- Updated the lockfile-resolved `@typescript-eslint/parser` version from 8.66.0 to 8.67.0; added an ESLint TypeScript parsing smoke test to validate the updated parser configuration.
910
- Raised the minimum supported Node.js runtime from 21 to 22 because Node.js 21 has reached end of life.
1011
- Updated Mocha to 12.0.0-rc.5 for Node.js 26 compatibility and removed the obsolete npm `always-auth` setting.
1112
- Fixed npm 10 lockfile validation by explicitly resolving the `picomatch` peer dependency.

package-lock.json

Lines changed: 130 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/eslintConfig.test.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { strict as assert } from "assert";
2+
import { ESLint } from "eslint";
3+
import * as path from "path";
4+
5+
describe("ESLint TypeScript parser configuration @loki", () => {
6+
it("parses TypeScript source with the project lint configuration", async () => {
7+
const eslint = new ESLint({ cwd: path.resolve(__dirname, "..") });
8+
const [result] = await eslint.lintText(
9+
'interface LintFixture { value: string; }\nconst value: LintFixture = { value: "ok" };\nvoid value;\n',
10+
{ filePath: "src/lintFixture.ts" }
11+
);
12+
13+
assert.strictEqual(result.errorCount, 0, JSON.stringify(result.messages));
14+
assert.strictEqual(result.warningCount, 0, JSON.stringify(result.messages));
15+
});
16+
});

0 commit comments

Comments
 (0)