node版本说明:about.md

不适用pug
This commit is contained in:
许彦峰
2019-03-15 12:54:20 +08:00
parent e7adf25ccf
commit 33dcc6251b
19 changed files with 2651 additions and 2613 deletions

View File

@@ -1,31 +1,32 @@
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
globals: {
"chrome": true
// chrome: true
},
env: {
browser: true,
},
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
globals: {
"chrome": true
// chrome: true
},
env: {
browser: true,
},
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
rules: {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'indent': ['error', 'tab'],
}
}