@sgt-build/oxlint-config
v0.15.0
Published
Strict framework-agnostic core oxlint configuration and compose helper for Sergeant monorepos
Readme
@sgt-build/oxlint-config
Install oxlint, oxlint-tsgolint, and @sgt-build/oxlint-config as dev dependencies. Then add oxlint.config.ts.
import { base, compose } from "@sgt-build/oxlint-config";
import { defineConfig } from "oxlint";
export default defineConfig(compose(base));The base enables type-aware TypeScript, import, and correctness checks, including the bundled anti-slop rules. Unused
disable directives are errors. Use oxlint-disable directives where needed, since the preset ignores eslint-disable
directives.
Compose optional react, cloudflare, or worker fragments after base to add runtime-specific rules. Later fragments
override earlier settings.
