bookmark/.eslintrc.js
CN32479-詹红柱 2dc81d2f54 no message
2023-04-22 23:28:17 +08:00

17 lines
517 B
JavaScript

module.exports = {
root: true,
env: { node: true },
extends: [
'plugin:vue/vue3-essential',
'@vue/standard'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'space-before-function-paren': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'object-curly-spacing': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}