oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat(parser): add syntax errors for constructor declarations (#18220) ## Summary - Add TS1031 error for `declare` modifier on constructor: `declare constructor() {}` - Add TS1093 error for return type annotation on constructor: `constructor(): number {}` ## Test plan - Parser conformance tests updated - Negative Passed: 1498 → 1500 (+2 tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
main
9 minutes ago
[autofix.ci] apply automated fixes
feat/parser-constructor-errors
35 minutes ago
feat(parser): add syntax errors for constructor declarations - Add TS1031 error for `declare` modifier on constructor - Add TS1093 error for return type annotation on constructor Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
feat/parser-constructor-errors
52 minutes ago
fix(formatter): only expand mapped types when newline immediately follows opening brace The previous logic expanded mapped types whenever there was any newline between `{` and the property name. But Prettier only expands when there's a newline immediately after `{`. For example: - `{ readonly\n [A in B]: T}` → single line (newline not immediately after `{`) - `{\n readonly [A in B]: T}` → multi-line (newline immediately after `{`) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fix/formatter-mapped-type-break-mode
60 minutes ago
fix(formatter): relocate leading comments for single-element union/intersection types For type alias declarations like `type A = /*1*/ | C`, Prettier relocates the leading comment from before the `|`/`&` operator to after the identifier, producing `type A /*1*/ = C;` instead of `type A = /*1*/ C;`. This fix handles the comment relocation for single-element union and intersection types, but skips complex nested cases (parenthesized types or same-type nesting) which have different comment handling rules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fix/formatter-union-type-comments
1 hour ago
feat(parser): add syntax errors for constructor declarations - Add TS1031 error for `declare` modifier on constructor - Add TS1093 error for return type annotation on constructor Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
feat/parser-constructor-errors
1 hour ago
feat(oxfmt): Support oxfmtrc `overrides` config (#18068) Fixes #17585
main
1 hour ago
docs(linter): Cleanup docs for various rules for consistency. (#18214) Remove implied eslint directive comments, which are not supported, by removing the mention of eslint at the start of the comment. And then misc fixes alongside those.
main
1 hour ago
Active Branches
fix(formatter): only expand mapped types when newline immediately follows opening brace
last run
60 minutes ago
#18087
CodSpeed Performance Gauge
0%
fix(formatter): relocate leading comments for single-element union/intersection types
last run
1 hour ago
#18083
CodSpeed Performance Gauge
0%
chore(linter): Add message to diagnostics optimizations debug assert
last run
1 hour ago
#18218
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs