{"slug": "prettier", "name": "Prettier", "category": "other", "category_name": "Other software", "description": "", "recommenders": 2, "commenters": 4, "warners": 0, "score": 2.359, "rising": 0.67, "first": "2026-04-09", "latest": "2026-10-20", "why": "I use Prettier in other projects and it's also great in those projects", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 2, "neutral": 1, "compare": 1, "warn": 0}, "spark": [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], "listed": false, "loved": [], "caveat": "", "short_quote": "I use Prettier in other projects and it's also great in those projects", "icon": false, "domain": null, "github_repo": null, "official_url": "", "pricing": "", "aliases": ["Prettier"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 799723873, "item_id": 49982742, "url": "https://news.ycombinator.com/item?id=49982742", "by": "AgentME", "date": "2026-10-06", "stance": "recommend", "quote": "I use Prettier in other projects and it's also great in those projects", "excerpt": "While I'm at it, I forgot to mention the built-in formatter (deno fmt) is great too. I use Prettier in other projects and it's also great in those projects, but it's tiring that it's yet another dependency to remember to add and configure in a new node project.", "context": "", "use_case": "code formatting", "switched_from": "", "story": "Friendship ended with Deno, now Node is my best friend"}, {"id": 763244325, "item_id": 47702770, "url": "https://news.ycombinator.com/item?id=47702770", "by": "dust42", "date": "2026-04-09", "stance": "recommend", "quote": "Occasionally I use prettier to remove indentation - the LLM makes a lot less edit errors that way.", "excerpt": "I really love it. The simplicity is key. The first play project I made with it was a public transport map with GTFS data - click on a stop and get the routes and the timetables for the stop and the surrounding ones. I used Qwen3.5-35B on Mac M1 Max with oMLX. It wrote 98% of the code with very little interaction from me. And very useful is the /tree feature to go back in history when the model is on a wrong track or ", "context": "", "use_case": "reduce LLM edit errors", "switched_from": "", "story": "Reallocating $100/Month Claude Code Spend to Zed and OpenRouter"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["code formatting", "reduce llm edit errors"], "compared": [{"slug": "biome", "name": "Biome", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "ruff", "name": "Ruff", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "eslint", "name": "ESLint", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "gpt-astra", "name": "GPT Astra", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=50108717", "title": "SlopCodeBench 10/2026 \u2013 Opus 5.5, Astra wins overall, xhigh considered harmful", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=49971719", "title": "Friendship ended with Deno, now Node is my best friend", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47700972", "title": "Reallocating $100/Month Claude Code Spend to Zed and OpenRouter", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {"recommend": 1}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {"recommend": 1, "neutral": 1, "compare": 1}}, "quotes": [{"id": 802789091, "item_id": 50174318, "url": "https://news.ycombinator.com/item?id=50174318", "by": "throwaway219450", "date": "2026-10-20", "stance": "compare", "quote": "", "excerpt": "I was talking about a function with 100 lines and no line breaks. Very difficult to read. I use black/ruff on a lot of projects and it will only touch standard-y things like docstring spacing, or spacing between methods and classes, import sorting etc. It doesn\u2019t touch intentional/aesthetic user spacing. With agents it is helpful to make them run ruff and mypy to keep them honest, but as long as the code adheres to t", "context": "", "use_case": "code formatting", "switched_from": "", "story": "SlopCodeBench 10/2026 \u2013 Opus 5.5, Astra wins overall, xhigh considered harmful"}, {"id": 802775104, "item_id": 50173444, "url": "https://news.ycombinator.com/item?id=50173444", "by": "LukaD", "date": "2026-10-20", "stance": "neutral", "quote": "Prettier collapses multiple blank lines into a single blank line.", "excerpt": "I haven't used prettier much but this is what the prettier docs say about empty lines. > It turns out that empty lines are very hard to automatically generate. The approach that Prettier takes is to preserve empty lines the way they were in the original source code. There are two additional rules: > > - Prettier collapses multiple blank lines into a single blank line. > - Empty lines at the start and end of blocks (a", "context": "", "use_case": "code formatting", "switched_from": "", "story": "SlopCodeBench 10/2026 \u2013 Opus 5.5, Astra wins overall, xhigh considered harmful"}, {"id": 799723873, "item_id": 49982742, "url": "https://news.ycombinator.com/item?id=49982742", "by": "AgentME", "date": "2026-10-06", "stance": "recommend", "quote": "I use Prettier in other projects and it's also great in those projects", "excerpt": "While I'm at it, I forgot to mention the built-in formatter (deno fmt) is great too. I use Prettier in other projects and it's also great in those projects, but it's tiring that it's yet another dependency to remember to add and configure in a new node project.", "context": "", "use_case": "code formatting", "switched_from": "", "story": "Friendship ended with Deno, now Node is my best friend"}, {"id": 763244325, "item_id": 47702770, "url": "https://news.ycombinator.com/item?id=47702770", "by": "dust42", "date": "2026-04-09", "stance": "recommend", "quote": "Occasionally I use prettier to remove indentation - the LLM makes a lot less edit errors that way.", "excerpt": "I really love it. The simplicity is key. The first play project I made with it was a public transport map with GTFS data - click on a stop and get the routes and the timetables for the stop and the surrounding ones. I used Qwen3.5-35B on Mac M1 Max with oMLX. It wrote 98% of the code with very little interaction from me. And very useful is the /tree feature to go back in history when the model is on a wrong track or ", "context": "", "use_case": "reduce LLM edit errors", "switched_from": "", "story": "Reallocating $100/Month Claude Code Spend to Zed and OpenRouter"}]}