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
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ General:
- Updated lockfile-resolved `axios` from 1.19.0 to 1.20.0 for hardened runtime option handling; no application code changes required.
- Updated lockfile-resolved `lint-staged` from 17.3.0 to 17.4.1 to pick up `picomatch` 4.0.7 and `tinyexec` 1.3.0; moved `.lintstagedrc` flat-format coverage into `tests/packageScripts.test.ts`.
- Bumped `morgan` from `^1.11.0` to `^1.12.0` (lockfile resolved to 1.12.0) to remediate CVE-2026-15603 (log forging via Unicode line separators in access log tokens); no Azurite source code changes were required.
- Updated lockfile-resolved `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser` versions from 8.67.0 to 8.68.0 for bug fixes and rule updates.
- Updated lockfile-resolved `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser` versions from 8.67.0 through 8.69.0 for bug fixes and rule updates; added ESLint recommended-rule integration coverage with no application code changes.
- Updated the lockfile-resolved `picomatch` version from 4.0.5 to 4.0.7 to fix glob scanning and terminal globstars in parenthesized patterns.
- Updated lockfile-resolved `mysql2` from 3.23.4 to 3.24.2 to correct three-byte length-coded parameter encoding and improve SQL metadata-store performance; added SQL pool regression coverage for large bound parameters.
- Updated the lockfile-resolved `eslint` version from 10.9.0 to 10.9.1 to fix a `no-loss-of-precision` false positive for trailing decimal points; added regression coverage for the corrected lint behavior.
Expand Down
108 changes: 54 additions & 54 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 number Diff line number Diff line change
Expand Up @@ -23,4 +23,20 @@ describe("ESLint TypeScript parser configuration @loki", () => {
assert.strictEqual(result.errorCount, 0, JSON.stringify(result.messages));
assert.strictEqual(result.warningCount, 0, JSON.stringify(result.messages));
});

it("enforces recommended TypeScript ESLint rules", async () => {
const eslint = new ESLint({ cwd: path.resolve(__dirname, "..") });
const [result] = await eslint.lintText(
"interface Empty {}\nconst value: Empty = {};\nvoid value;\n",
{ filePath: "src/lintFixture.ts" }
);

assert.strictEqual(result.errorCount, 1, JSON.stringify(result.messages));
assert.strictEqual(result.warningCount, 0, JSON.stringify(result.messages));
assert.strictEqual(result.messages.length, 1, JSON.stringify(result.messages));
assert.strictEqual(
result.messages[0].ruleId,
"@typescript-eslint/no-empty-object-type"
);
});
});
Loading