oxlint
Installation
Make sure oxlint is installed as a dependency.
Add
oxlint
field to plugin config. Valid options are eithertrue
or a configuration object.js// e.g. export default defineConfig({ plugins: [ checker({ oxlint: true, // or oxlint: { lintCommand: "oxlint -D correctness", }, }), ], });
Configuration
Advanced object configuration table of options.oxlint
field | Type | Default value | Description |
---|---|---|---|
lintCommand | string | oxlint | lintCommand will be executed at build mode. |
watchPath | string | string[] | undefined | (Only in dev mode) Configure path to watch files for oxlint. If not specified, will watch the entire project root. |
dev.logLevel | ('error' | 'warning')[] | ['error', 'warning'] | (Only in dev mode) Which level of oxlint should be emitted to terminal and overlay in dev mode. |