Skip to content

Glossary: React Basics

Linting (oxlint)

Also written: npm run lint, oxlint, lint

A tool that checks your code for likely mistakes without running it. `npm run lint` uses oxlint, included in the Vite template, and catches things like a hook inside an `if`.

Where the book teaches it

Related terms

Rules of hooksVite