v0.0.1
This commit is contained in:
25
.eslintrc.js
Normal file
25
.eslintrc.js
Normal file
@ -0,0 +1,25 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parserOptions: {
|
||||
ecmaVersion: 6, //指定ECMAScript支持的版本,6为ES6
|
||||
sourceType: 'module'
|
||||
},
|
||||
extends: 'standard',
|
||||
plugins: [
|
||||
'html',
|
||||
"promise"
|
||||
],
|
||||
env: {
|
||||
"node": true
|
||||
},
|
||||
rules: { // add your custom rules here
|
||||
// allow console
|
||||
"no-console": 0,
|
||||
// allow paren-less arrow functions
|
||||
'arrow-parens': 0,
|
||||
// allow async-await
|
||||
'generator-star-spacing': 0,
|
||||
// allow debugger during development
|
||||
'no-debugger': 0
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user