初始框架(1.0.0)
This commit is contained in:
19
.eslintrc.js
Normal file
19
.eslintrc.js
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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'),
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user