1
0
Files
frost-zx.github.io/.eslintrc.js
2022-03-01 23:42:21 +08:00

20 lines
430 B
JavaScript

// const isProduction = (process.env.NODE_ENV === 'production');
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended',
],
parserOptions: {
parser: '@babel/eslint-parser'
},
rules: {
// 'no-console': (isProduction ? 'warn' : 'off'),
// 'no-debugger': (isProduction ? 'warn' : 'off'),
}
};