Documentation
September 14, 2026 ยท View on GitHub
Start with Get started to set up Oxlint or ESLint.
Guides
- Configuring your design system: variants, contracts, and custom messages.
- Adding linting to an existing project: start with warnings and add rules as you go.
- How it works: how the linter reads your components and theme, and what it can check.
- Troubleshooting: stale results, missing components, and theme warnings.
- Evals: how we measure the linter, results, and reproduction steps.
Rules
See shared options for allowances, contracts, messages, and class categories.
- no-restyle: control styling changes to components.
- no-raw-colors: use theme colors.
- no-arbitrary-values: use tokens and scale values.
- no-inline-styles: use classes and CSS custom properties.
- no-unknown-classes: catch classes that produce no CSS.
- require-static-classes: keep class values readable by the linter.
Reference
- Settings: component imports, helpers, and monorepos.
- API reference: plugin exports and the experimental project API.
- Contributing: workspace setup, tests, and benchmarks.