@willbooster/oxlint-config
v1.4.8
Published
Oxlint config for WillBooster projects
Downloads
6,969
Readme
oxlint-config
An Oxlint config for WillBooster projects.
This config follows the latest Oxlint config model and enables type-aware TypeScript rules and type-checking diagnostics by default, so oxlint-tsgolint is required together with oxlint.
It also enables Oxlint's built-in React, React performance, JSX accessibility, and Promise plugins to cover projects that otherwise use @willbooster/eslint-config-ts-react.
Install the package and its peer dependencies.
yarn add -D @willbooster/oxlint-config oxlint oxlint-tsgolintThen extend the shared config from your local .oxlintrc.json.
{
"extends": ["./node_modules/@willbooster/oxlint-config/.oxlintrc.jsonc"]
}Run Oxlint as usual.
oxlint .To debug this shared config from this repository, run it against the local fixture project.
npx -y -p [email protected] -p [email protected] oxlint --type-aware --type-check -c packages/oxlint-config/.oxlintrc.jsonc packages/oxlint-config