Developers writing TypeScript can't keep a block of type declarations unformatted with one comment pair.
Developers writing TypeScript and JavaScript who use Prettier
Where it stands
- Sourced (done)
- Kit (done)
- Wanted (next)
- Building
- Solved
How this problem came to be
- Found1 sourcegithub.com/prettier
- Quoted3 claimseach checked against its page
- BriefWrittenand what solved looks like
- Market2 signals442 reactions on the issue
- Kit6 steps20 tools · 6 routes
- People0 want0 live it · 0 would test
The problem, broken down
- Who it hurts
- Developers using Prettier on TypeScript files who want a group of lines left as written
- The moment
- They wrap a group of lines in prettier-ignore-start and prettier-ignore-end comments, and Prettier still reformats the lines inside the block.
- What people do today
- They add a prettier-ignore comment to each statement, or ignore the whole file.
- Why it's unsolved
- The source says the feature was added only for Markdown, and a contributor has opened a pull request that still has many cases that do not work.
- What solved looks like
- A block wrapped in prettier-ignore-start and prettier-ignore-end comments in a TypeScript file is printed exactly as written, while lines outside the block are still formatted.
Evidence lens
Every claim points at the quote it rests onSources
Claims
Builders still need to know
- How often do TypeScript and JavaScript users need to keep blocks unformatted in their current projects?
- Which block shapes matter most in practice, such as class properties, route lists or constant tables?
- Is the current workaround of ignoring the whole file acceptable for most people, or does it cause real trouble?
Drafted with claude-haiku-5-5 from the cited source and published automatically. Every quote was checked against the source.
Sources
From a public page with a citation.
What the source says, in short
They wrap a group of lines in prettier-ignore-start and prettier-ignore-end comments, and Prettier still reformats the lines inside the block. They add a prettier-ignore comment to each statement, or ignore the whole file. The source says the feature was added only for Markdown, and a contributor has opened a pull request that still has many cases that do not work.
Forks 0
Nobody has forked this yet. Be the first.
Market read
How big this is, from the evidence
- npm registry ↗Our estimate · Low confidenceAbout 558 million npm downloads of Prettier in October 2026“"downloads":558081655”
- GitHub ↗Builders' pull · Medium confidence442 reactions on the issue
How these were measured: The npm registry counts 558,081,655 downloads of Prettier in October 2026. Most are automated builds rather than people, so this shows the tool's reach and is the upper bound of who could hit this, not the number affected. Total reactions on the GitHub issue, read from its API.
For whoever takes this up
The builder's path for this problem
A path written for this problem: its open questions, who to talk to, its data and its ideas, with tools for each stage and a starter prompt ready to paste into any assistant.
Open the pathDiscussion 0
No comments yet.