Framework - Vue
Lint Vue single-file components through a Nova-owned compatibility layer.
Why Use This Preset?
- Selects Vue's official flat-config correctness baseline without copying its entire project setup.
- Parses TypeScript inside
.vuecomponents through Nova's installed TypeScript parser. - Composes after Nova's required ignore, code-style, and language layers.
- Leaves consumer-specific rule changes in a later config block.
Usage
eslint.config.mts
import {
dxCodeStyle,
dxIgnore,
fwVue,
langJavascript,
langTypescript,
runtimeBrowser,
toolVite,
} from '@cbnventures/nova/presets/eslint';
import { novaRules } from '@cbnventures/nova/rules/eslint';
export default [
...dxIgnore,
...dxCodeStyle,
...langJavascript,
...langTypescript,
...runtimeBrowser,
...toolVite,
...fwVue,
...novaRules,
];
Related
- Pair it with the matching Framework - Vue TSConfig preset.
- Select it automatically with the Vite scaffold and
--framework vue. - Review the layering order in ESLint Best Practices.