@vizejs/nuxt-lint-config

Shareable Nuxt-aware lint preset core for the Vize toolchain
47,114 909
Install
npm install @vizejs/nuxt-lint-config
Latest Version:0.525.0
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: ubugeeei

@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

@finema/nuxt-oxclint

Shared oxlint + oxfmt configuration and Vue conventions checker for Finema Nuxt...

414
oxlint-plugin-vize

Oxlint JS plugin bridge for Vize Patina

101,235 909
@geoql/oxlint-plugin-nuxt-doctor

oxlint JS plugin for Nuxt 4 anti-patterns and AI-slop detection. Pairs with oxli...

21,363 7
@geoql/doctor-core

Audit engine for @geoql/vue-doctor and @geoql/nuxt-doctor. Hybrid two-pass: @vue...

15,374 7
@geoql/nuxt-doctor

CLI auditor for Nuxt 4 apps. Detects anti-patterns, AI-slop, and best-practice v...

14,295 7

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