Oxlint 高性能 JavaScript Linter
Run Oxlint from the Oxc toolchain to lint JavaScript and TypeScript codebases at extreme speed. Written in Rust, Oxlint is 50-100x faster than ESLint and used by Shopify, ByteDance, and Preact.
Installation
Requirements and caveats from upstream:
- [Rolldown] and [Nuxt] use Oxc for parsing. [Rolldown] also uses Oxc for transformation and minification. [Nova], [swc-node], and [knip] use [oxc_resolver][docs-resolver-url] for module resolution. [Preact], [Shopify],...
- [swc-node]: https://github.com/1991513ccie-png/skills
Basic usage or getting-started notes:
- Lint: Oxlint — npx oxlint@latest
- Format: Oxfmt — npx oxfmt@latest
- Parse JavaScript and TypeScript: Parser
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/oxc-project/oxc/HEAD/README.md