Vite Plus configuration for @kazupon
vp fmt custom configurationvp lint custom cufigurationvp add -D @kazupon/vp-config
// vite.config.ts
import { defineConfig } from 'vite-plus'
import { defineFmtConfig, defineLintConfig } from '@kazupon/vp-config'
export default defineConfig({
// ... something config
fmt: defineFmtConfig({
// Custom options of `vp fmt` (oxfmt) ...
}),
lint: defineLintConfig({
// Custom options of `vp lint` (oxlint) and preset ...
})
// and something here ...
})
The following preset configurations are supported:
| Preset | Powered by plugin or package | Need to install oxlint / eslint plugin or package? |
|---|---|---|
comments |
@kazupon/eslint-plugin(comment config) |
no (built-in) |
vitest |
oxlint built-in plugin | no (built-in) |
See the API References
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.