eslint-plugin-nuxt
eslint-plugin-nuxt copied to clipboard
Warn for fixable issues
Currently nuxt/recommended
throws errors for fixable issues.
I think it should instead throw a warning, so development can continue. Errors should only be for problems that affect compilation.
I think this behaviour may come from eslint-module and eslint-loader, you can try options failOnWarning
or fix
to skip or auto-fix the error.
Was running into this too and did some digging.
I added this to my nuxt.config.js
eslint: {
fix: true,
},
and it fixed a lot of the fix errors i was getting...