JavaScript linter written in Rust. Use for fast, efficient linting with ESLint-compatible rules and configuration.
Use this library when:
npm install -D oxlint or npx oxlintnpx oxlint .| Category | File | Purpose | Condition |
|---|---|---|---|
| Knowledge | Core Concepts | oxlint fundamentals |
| Understanding the basics |
| Knowledge | Best Practices | Linting patterns | Code quality |
| Rules | Setup | Installation and usage | New project setup |
| Rules | CLI | Command line options | Usage patterns |
| Rules | Configuration | .oxlint.json setup | Custom rules |
| Rules | ESLint Compatibility | ESLint config migration | Migration |
| Rules | CI/CD | Fast CI checks | Automated linting |
| Rules | Rules | Available lint rules | Rule selection |
# Install
npm install -D oxlint
# Lint all files
npx oxlint .
# Lint specific files
npx oxlint src/
# With auto-fix
npx oxlint . --fix
# Show all rules
npx oxlint --rules