We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0b377 commit 5ad8faeCopy full SHA for 5ad8fae
packages/@vue/cli-plugin-eslint/eslintOptions.js
@@ -5,6 +5,7 @@ module.exports = {
5
},
6
globals: ['process'],
7
rules: {
8
+ 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
9
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
10
}
11
0 commit comments