@geoql/eslint-plugin-nuxt-doctor
| Install | |
|---|---|
npm install @geoql/eslint-plugin-nuxt-doctor |
|
| Latest Version: | 1.2.5 |
| License: | MIT |
| Last Updated: | Oct 24, 2026 |
| Links: | GitHub · npm |
@geoql/eslint-plugin-nuxt-doctor
ESLint flat-config plugin that flags Nuxt 4 anti-patterns, AI-slop, hydration
traps, and server-route mistakes — the same detection logic that powers
@geoql/oxlint-plugin-nuxt-doctor, exposed for
teams whose lint pipeline is ESLint rather than oxlint.
Install
pnpm add -D @geoql/eslint-plugin-nuxt-doctor @geoql/eslint-plugin-vue-doctor eslint
Usage (flat config)
// eslint.config.js
import nuxtDoctor from '@geoql/eslint-plugin-nuxt-doctor';
import vueDoctor from '@geoql/eslint-plugin-vue-doctor';
export default [
...nuxtDoctor.configs.recommended,
...vueDoctor.configs.recommended,
];
The Nuxt recommended preset does not automatically include the Vue rules; spread both. (Pushing the Vue rules in by default would create a circular dependency between the two plugin packages — Nuxt extends Vue, not the other way around.)
Presets
configs.recommended— every Nuxt rule flaggedrecommendedin the shared registry, wired at its registry severity (error/warn).configs.all— every script rule the plugin ships, all aterror.
Scope — script rules only (deliberate)
This plugin wires every ESTree/JavaScript-AST rule core from
@geoql/doctor-rule-core (the same cores the oxlint plugin uses). Each ESLint
rule is a thin adapter: it imports the shared core and forwards the core's
visitor and message into ESLint's create / context.report API. There is no
duplicated detection logic — a rule's behavior is identical across oxlint and
ESLint because both consume the same core.
Template-AST rules are intentionally not included. Those rules remain
available through @geoql/oxlint-plugin-nuxt-doctor and the @geoql/nuxt-doctor
CLI.
License
MIT © Vinayak Kulkarni
Related Packages
oxlint JS plugin for Nuxt 4 anti-patterns and AI-slop detection. Pairs with oxli...
ESLint flat-config plugin for Vue 3 anti-patterns and AI-slop detection. Shares...
CLI auditor for Nuxt 4 apps. Detects anti-patterns, AI-slop, and best-practice v...
Version History
| Version | Released | License |
|---|---|---|
| 1.2.5 | MIT | |
| 1.2.4 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT | |
| 1.1.5 | MIT | |
| 1.1.4 | MIT | |
| 1.1.3 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT |