We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fix
checker
1 parent 7bfb780 commit 05f0005Copy full SHA for 05f0005
packages/module/src/types.ts
@@ -83,6 +83,12 @@ export interface CheckerOptions {
83
*/
84
emitError?: boolean
85
86
+ /**
87
+ * Run ESLint fix
88
+ * @default false
89
+ */
90
+ fix?: boolean
91
+
92
/**
93
* Vite specific options
94
playground/nuxt.config.ts
@@ -6,6 +6,12 @@ export default defineNuxtConfig({
6
enabled: true,
7
},
8
eslint: {
9
- checker: true,
+ config: {
10
+ stylistic: true,
11
+ },
12
+ checker: {
13
+ lintOnStart: true,
14
+ fix: true,
15
16
17
})
0 commit comments