Override eslint flat config issue
Not sure if this is a bug or if I'm doing it wrong since I'm new to eslint 9.0 flat configs, but...
I'm using the new nuxt eslint config (https://eslint.nuxt.com/) and I'm trying to override the
However, when I run
For reference, these are the available names in nuxt dev tools:
And these are the available names to eslint from the CLI:
I'm using the new nuxt eslint config (https://eslint.nuxt.com/) and I'm trying to override the
no-unused-vars rule in my eslint.config.mjs file like this:However, when I run
eslint . on my project I get an error saying: 'Error: ESLintFlatConfigUtils: Failed to locate config with name "nuxt/javascript"'. I can fix this problem by changing the override name to @eslint/js/recommended, but this causes nuxt dev tools to show an error: 'Error: ESLintFlatConfigUtils: Failed to locate config with name "@eslint/js/recommended"'. It seems like dev tools and eslint are opposed with the names available, possibly due to some kind of aliasing under the hood?For reference, these are the available names in nuxt dev tools:
And these are the available names to eslint from the CLI:
