@vizejs/nuxt-lint-config
@vizejs/nuxt-lint-config
The engine-neutral, shareable Nuxt lint preset core used by @vizejs/nuxt.
It ports the project-aware directory, feature, and rule-block decisions from
@nuxt/eslint-config without requiring Nuxt or ESLint at runtime.
import {
buildNuxtLintPlan,
resolveNuxtLintDirs,
resolveNuxtLintFeatures,
} from "@vizejs/nuxt-lint-config";
const dirs = resolveNuxtLintDirs({ src: ["src"] });
const features = resolveNuxtLintFeatures({ stylistic: true }, () => true);
const plan = buildNuxtLintPlan(features, dirs);
The result is an ordered, engine-neutral plan using eslint-compatible rule
identifiers. @vizejs/nuxt consumes the same exports and emits them for
Vize's oxlint integration, so the module and standalone entry point cannot
drift into separate implementations.
Pass an optional third argument (2, 3, or 4) to buildNuxtLintPlan when
the Nuxt major is known. Nuxt 2 omits the import.meta migration and
definePageMeta rule blocks. Omitting the argument preserves the modern
Nuxt 3/4 plan; the Nuxt module supplies the detected runtime major.
Compatibility is pinned to the real @nuxt/eslint and
@nuxt/eslint-config packages by the committed differential oracle under
test/nuxt-eslint-compat.
Related Packages
Shared oxlint + oxfmt configuration and Vue conventions checker for Finema Nuxt...
oxlint JS plugin for Nuxt 4 anti-patterns and AI-slop detection. Pairs with oxli...
Audit engine for @geoql/vue-doctor and @geoql/nuxt-doctor. Hybrid two-pass: @vue...
Version History
| Version | Released | License |
|---|---|---|
| 0.525.0 | MIT | |
| 0.524.0 | MIT | |
| 0.523.0 | MIT | |
| 0.522.0 | MIT | |
| 0.521.0 | MIT | |
| 0.520.0 | MIT | |
| 0.519.0 | MIT | |
| 0.518.0 | MIT | |
| 0.517.0 | MIT | |
| 0.516.0 | MIT | |
| 0.515.0 | MIT | |
| 0.514.0 | MIT | |
| 0.513.0 | MIT | |
| 0.512.0 | MIT | |
| 0.511.0 | MIT | |
| 0.510.0 | MIT | |
| 0.509.0 | MIT | |
| 0.508.0 | MIT | |
| 0.507.0 | MIT | |
| 0.506.0 | MIT | |
| 0.504.0 | MIT | |
| 0.503.0 | MIT | |
| 0.502.0 | MIT | |
| 0.501.0 | MIT | |
| 0.500.0 | MIT | |
| 0.499.0 | MIT | |
| 0.498.0 | MIT | |
| 0.497.0 | MIT | |
| 0.496.0 | MIT | |
| 0.495.0 | MIT |
Showing the latest 30 of 176. See every release on npm