What problem does it solve?
Ultracite provides a structured set of coding standards to enforce consistent formatting, style, correctness, and security across a codebase, reducing bugs and onboarding time.
Core Features & Use Cases
- Formatting rules: 2-space indent, semicolons, double quotes, 80-char width, ES5 trailing commas, LF line endings.
- Style and correctness: Arrow functions, const by default, avoid var, for...of over .forEach, template literals over concatenation, no unused imports or variables, no any, always await promises, no console.log in production.
- React and performance: Function components only, hooks at top level, exhaustive deps, semantic HTML with ARIA, performance-conscious patterns.
- Security: rel="noopener" on target="_blank", no dangerousSetInnerHTML, no eval in code.
Quick Start
Install Ultracite rules and apply them to your project repository with the provided CLI to begin linting and formatting.