Skip to content

Commit 5ad8fae

Browse files
committed
fix: allow console during dev
1 parent cd0b377 commit 5ad8fae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vue/cli-plugin-eslint/eslintOptions.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
},
66
globals: ['process'],
77
rules: {
8+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
89
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
910
}
1011
}

0 commit comments

Comments
 (0)