Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting tooling to true in nuxt.config doesn't work #385

Closed
dsvgl opened this issue Apr 6, 2024 · 0 comments
Closed

setting tooling to true in nuxt.config doesn't work #385

dsvgl opened this issue Apr 6, 2024 · 0 comments

Comments

@dsvgl
Copy link

dsvgl commented Apr 6, 2024

Environment


  • Operating System: Darwin
  • Node Version: v20.11.1
  • Nuxt Version: 3.11.2
  • CLI Version: 3.11.1
  • Nitro Version: -
  • Package Manager: pnpm@8.15.6
  • Builder: -
  • User Config: $development, imports, components, modules, eslint, css, vite, alias
  • Runtime Modules: @nuxt/eslint, @pinia/nuxt@0.5.1, @vueuse/nuxt@10.9.0
  • Build Modules: -

Package

@nuxt/eslint

Reproduction

Describe the bug

Setting this in nuxt.config.ts doesn't work.

{
  eslint: { config: { tooling: true } },
}

There is no key "tooling" under features of the resolvedOptions object inside the generated eslint.config.mjs inside .nuxt dir.
For comparison: setting standalone to false translates into it correctly also being false in the generated config.

image

Thus, no rules are set. Searching eg. for unicorn rules inside ESLint Config inspector show no rules found.

If I instead hand craft the config via createConfigForNuxt from @nuxt/eslint-config/flat, I see the unicorn rules.

createConfigForNuxt({ features: { tooling: true } })

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant