swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge pull request #3 from mattcosta7/copilot/fix-eslint-suppression-rules-again [WIP] Update eslint suppression rules and PR description
mattcosta7:copilot/fix-eslint-suppression-rules
16 minutes ago
revert: undo whitespace-only changes in files unrelated to eslintSuppressionRules fix
mattcosta7:copilot/fix-eslint-suppression-rules
2 hours ago
fix(preset-env): handle async generator edge cases
codex/fix-async-generator-chrome-60
20 hours ago
fix(es/modules): normalize windows path prefixes
kdy1/fix-issue-11880-preserve-symlinks
20 hours ago
fix(es/fixer): normalize for-head ident patterns (#11968) **Description:** Normalize paren remover output for parenthesized identifiers in `for-in` / `for-of` heads. The parser can represent cases like `for ((x) of y) {}` and `for ((x) in y) {}` as `ForHead::Pat(Pat::Expr(...))`. After redundant parentheses are removed, the AST could still contain `Pat::Expr(Expr::Ident(x))`, leaving an expression-shaped identifier in a pattern position. This PR normalizes that final shape to `Pat::Ident(x)` from `visit_mut_for_head`, so it matches the AST shape produced by `for (x of y) {}` / `for (x in y) {}`. It also adds AST-shape coverage for nested parentheses such as `for ((((x))) of y) {}`. Verification: - `cargo fmt --all` - `cargo test -p swc_ecma_transforms_base paren_remover_normalizes_ident_for_head_pat_exprs` - `cargo test -p swc_ecma_transforms_base` - `cargo clippy --all --all-targets -- -D warnings`
main
22 hours ago
chore: Add changeset for for-head normalization
fix/normalize-for-head
22 hours ago
fix(es/fixer): normalize for-head ident patterns
fix/normalize-for-head
1 day ago
fix(es/fixer): normalize for-head ident patterns
fix/normalize-for-head
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(react-compiler): default eslintSuppressionRules to match babel-plugin-react-compiler
#11969
19 minutes ago
4061391
mattcosta7:copilot/fix-eslint-suppression-rules
CodSpeed Performance Gauge
+3%
fix(es/preset-env): fix async generator env transform for Chrome 60
#11959
20 hours ago
1e3e7ea
codex/fix-async-generator-chrome-60
CodSpeed Performance Gauge
0%
fix(es/modules): resolve relative symlinked inputs from cwd
#11883
20 hours ago
4f1389d
kdy1/fix-issue-11880-preserve-symlinks
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs