@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,
    },
  },
Was this page helpful?