We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21767c5 commit c3fb90eCopy full SHA for c3fb90e
src/module.ts
@@ -13,6 +13,10 @@ export interface ModuleOptions extends Partial<Options>{}
13
const CONFIG_KEY = 'eslint'
14
15
const nuxtModule: Module<ModuleOptions> = function (moduleOptions) {
16
+ if (!this.options.dev) {
17
+ return
18
+ }
19
+
20
const DEFAULTS: ModuleOptions = {
21
context: this.options.srcDir,
22
eslintPath: 'eslint',
0 commit comments