We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea74da1 commit c2e3228Copy full SHA for c2e3228
packages/@vue/cli-plugin-eslint/eslintOptions.js
@@ -1,7 +1,7 @@
1
module.exports = api => {
2
const options = {
3
extensions: ['.js', '.vue'],
4
- globals: ['process'],
+ envs: ['node'],
5
rules: {
6
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
7
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
0 commit comments