Skip to main content
SAICA-KG

Tools

Prettier

50,000

Opinionated code formatter for JS/TS/CSS/HTML. Ends style debates.

PreventionPost-generationFully autonomousStableTier 2AEnvironment
Maturity tier details

Computed tier: 2A(raw score 5.38). Effective tier: 2A.

Facets:documented_in=0evaluated_on=0integration_surfaces=1.5paper_citations=0recent_commit=2stars=1.88

Source of truth:pipeline/maturity/score.py

Description

Prettier is an opinionated multi-language formatter covering JavaScript, TypeScript, JSX, CSS, HTML, JSON, Markdown, and more. By collapsing the design space of "how should this look" into a small fixed set of options, Prettier prevents scope creep in code review (style nits) and removes a whole class of agent-introduced cosmetic diffs. Configuration lives in `.prettierrc` or `package.json` `prettier`, which the audit detector now recognises.

Why it's included

Occupies prevention × post_generation × fully_autonomous for scope_creep across the JS/TS/CSS/HTML lanes. Mature workhorse; including it lets the audit detector resolve `prettier` blocks in package.json and credit projects for having a deterministic-style gate in place.

Security notes

Standard dev-tool security posture; Prettier runs locally and rewrites source from its parsed AST without executing it. Plugin ecosystem is sizeable — pin plugin versions in `package.json`.

Addresses failure modes

  • Scope creep — Actions outside declared task boundary.

Techniques

code-formattingast-rewritingdeterministic-style

View raw YAML on GitHub →