Skip to content

Dev Server Checker issue when setup in Nuxt Layer #531

@FlvnMFO

Description

@FlvnMFO

Environment

  • Operating System: Darwin
  • Node Version: v20.15.0
  • Nuxt Version: 3.15.2
  • CLI Version: 3.20.0
  • Nitro Version: 2.10.4
  • Package Manager: npm@10.7.0
  • Builder: -
  • User Config: devtools, modules, eslint
  • Runtime Modules: @nuxt/eslint@0.7.5
  • Build Modules: -

Package

@nuxt/eslint

Reproduction

Stackblitz

Describe the bug

When using @nuxt/eslint in a Nuxt Layer context (npx nuxi init --template layer ...) with the Dev Server Checker enabled, ESLint is not reporting any errors/problems when the dev server is running.

Results when launching the dev server in the minimal reproduction :
Image

Results when launching the npm run lint command in the minimal reproduction :
Image

I have made a minimal reproduction in a Nuxt project to see if the Dev Server Checker is working and no problem in that case.
Image

Additional note

When both Dev Server Checker and Stylistic are enabled, @stylistic rules are correctly prompted when running dev server but other rules are missing : minimal reproduction

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions