We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NuxtConfig['eslint'] doesn't allow fix?: boolean anywhere, I would expect it as part of CheckerOptions to do something as follows:
NuxtConfig['eslint']
fix?: boolean
const autoFix = true; export default defineNuxtConfig({ modules: [ ...modules, '@nuxt/eslint', ], eslint: { checker: { lintOnStart: autoFix, fix: autoFix, // <--- wanted }, }, });
fix was supported by the legacy module. example repo: https://github.com/amery/go-nuxt-template/tree/main/web/client
The text was updated successfully, but these errors were encountered:
that test repo has @stylistic/semi set to always, so seeing fix: true doesn't work is easy to reproduce.
@stylistic/semi
fix: true
✖ 1 problem (1 error, 0 warnings) 1 error and 0 warnings potentially fixable with the `--fix` option. Plugin: vite:eslint2
Sorry, something went wrong.
It works for me -- it seems that it's just the type is not exposed, but the runtime it does work
05f0005
Thank you 🙏🏻
No branches or pull requests
Describe the feature
NuxtConfig['eslint']
doesn't allowfix?: boolean
anywhere, I would expect it as part of CheckerOptions to do something as follows:fix was supported by the legacy module.
example repo: https://github.com/amery/go-nuxt-template/tree/main/web/client
Additional information
Final checks
The text was updated successfully, but these errors were encountered: