Technology RadarTechnology Radar
Adopt

Prettier is a code formatter that automatically formats code to enforce a consistent style across projects. It eliminates debates over formatting by applying a set of predefined rules, ensuring readability and reducing code review friction. Prettier supports various programming languages, including JavaScript, TypeScript, HTML, CSS, and more.

At ProcureAI, Prettier handles formatting for all supported file types so teams spend less time discussing code style. We run it via lint-staged and Husky with an ESLint plugin, plus a CI job to keep formatting consistent. Prettier owns formatting, while ESLint handles linting concerns.