@nuxt/eslint autofix?

when using @nuxt/eslint instead of the old @nuxtjs/eslint-module how does one enable autofix? NuxtConfig.eslint only takes checker and config but neither seems to support fix: boolean do I have to instantiate my own vite plugin?
eslint: {
checker: {
lintOnStart: autoFix,
fix: autoFix, // <--- invalid
},
config: {
stylistic: true,
},
},
eslint: {
checker: {
lintOnStart: autoFix,
fix: autoFix, // <--- invalid
},
config: {
stylistic: true,
},
},
1 Reply
Alejandro Mery
Alejandro Mery2mo ago
GitHub
autofix? · nuxt eslint · Discussion #379
how does one enable autofix? NuxtConfig.eslint only takes checker and config but neither seems to support fix: boolean do I have to instantiate my own vite plugin? eslint: { checker: { lintOnStart:...