Skip to Content
Octopus Energy Packages

Overview

Shared oxlint and oxfmt configurations

The Oxc toolchain brings fast, Rust-based linting and formatting to JavaScript projects. oxlint handles code rules, while oxfmt handles formatting and import sorting, giving teams a faster alternative to traditional linting and formatting tools.

@octopus-energy/oxc provides shared configuration for oxlint and oxfmt.

Use this package to set up linting, formatting, or both.

Requirements

RequirementVersion
Node.js≥24.0.0
Peer dependencyVersionWhen
oxfmt>=0.55.0Using the oxfmt config
oxlint^1.45.0Using an oxlint preset
oxlint-tsgolint>=0.23.0 <7.1.0Using type-aware oxlint rules

On this page