Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.29 KB

oxc.md

File metadata and controls

46 lines (30 loc) · 1.29 KB
title sidebar_label description
OXC
OXC
CodeRabbit's guide to OXC (Oxidation Compiler).
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />

OXC is a collection of high-performance JavaScript/TypeScript tools written in Rust, including a linter that is 50-100x faster than ESLint.

Files

OXC will run on files with the following extensions:

  • .js
  • .jsx
  • .ts
  • .tsx

Configuration

OXC supports the following config files:

  • oxlint.json
  • .oxlintrc
  • .oxlintrc.json
  • oxlint.config.json

:::note

OXC does not require configuration to run. If no OXC config file is found and Biome is enabled, CodeRabbit will use Biome instead as OXC functionality is included within Biome. If Biome is not enabled or an OXC config file is found, CodeRabbit will use the default OXC config.

:::

Rule Configuration

While OXC embraces convention over configuration, you can customize rules in your config file if needed. The config file should be in JSON format. See the OXC documentation for more details on available rules and configuration options.

Links