mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
442 B
18 lines
442 B
2 years ago
|
module.exports = {
|
||
|
root: true,
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint',
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
env: {
|
||
|
browser: true,
|
||
|
node: true,
|
||
|
es6: true,
|
||
|
},
|
||
|
extends: ['plugin:vue/recommended', 'eslint:recommended', 'prettier'],
|
||
|
rules: {
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||
|
'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||
|
},
|
||
|
};
|