Lint Config
vp lint and vp check read Oxlint settings from the lint block in vite.config.ts. See Oxlint's configuration for details.
Example
ts
import { defineConfig } from 'vite-plus';
export default defineConfig({
lint: {
ignorePatterns: ['dist/**'],
options: {
typeAware: true,
typeCheck: true,
},
rules: {
'no-console': ['error', { allow: ['error'] }],
},
},
});We recommend enabling both options.typeAware and options.typeCheck so vp lint and vp check can use the full type-aware path.