Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,6 +6,7 @@

General:

- 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.
- Raised the minimum supported Node.js runtime from 21 to 22 because Node.js 21 has reached end of life.
- Updated Mocha to 12.0.0-rc.5 for Node.js 26 compatibility and removed the obsolete npm `always-auth` setting.
- Fixed npm 10 lockfile validation by explicitly resolving the `picomatch` peer dependency.
Expand Down
144 changes: 137 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions tests/eslintConfig.test.ts
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
import { strict as assert } from "assert";
import { ESLint } from "eslint";
import * as path from "path";

describe("ESLint TypeScript parser configuration @loki", () => {
it("parses TypeScript source with the project lint configuration", async () => {
const eslint = new ESLint({ cwd: path.resolve(__dirname, "..") });
const [result] = await eslint.lintText(
'interface LintFixture { value: string; }\nconst value: LintFixture = { value: "ok" };\nvoid value;\n',
{ filePath: "src/lintFixture.ts" }
);

assert.strictEqual(result.errorCount, 0, JSON.stringify(result.messages));
assert.strictEqual(result.warningCount, 0, JSON.stringify(result.messages));
});
});
Loading