-
-
Notifications
You must be signed in to change notification settings - Fork 879
Open
Labels
S-Needs triageStatus: this issue needs to be triagedStatus: this issue needs to be triaged
Description
Environment
- Biome version: 2.4.4
- OS: macOS (Darwin 25.3.0)
Description
biome check --write --unsafe hangs indefinitely when a TSX file has a noCommentText violation. The unsafe fix (// comment → {/* comment */}) creates an infinite fix cycle.
biome check→ reports error, exits normallybiome check --write→ skips unsafe fix, exits normallybiome check --write --unsafe→ hangs forever
Reproduction
mkdir /tmp/biome-repro && cd /tmp/biome-repro
cat > biome.json << 'EOF'
{
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2 },
"linter": { "enabled": true, "rules": { "recommended": true } }
}
EOF
cat > test.tsx << 'EOF'
export default function Foo() {
return (
<div>
<p>// comment</p>
</div>
);
}
EOF
biome check --write --unsafe test.tsx
# Hangs — kill with Ctrl+CReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S-Needs triageStatus: this issue needs to be triagedStatus: this issue needs to be triaged