mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-20 04:28:28 -05:00
12 lines
309 B
JavaScript
12 lines
309 B
JavaScript
module.exports = {
|
|
extensions: ['.js', '.vue'],
|
|
parserOptions: {
|
|
parser: require.resolve('babel-eslint')
|
|
},
|
|
globals: ['process'],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
}
|
|
}
|