es6语法
ES6 语法
- 等号和箭头函数前后必须有空格
- 逗号、冒号后必须有一个空格
- 不能留空行
'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,
// 'semi': ['error', 'always'],
'indent': 0,
'space-before-function-paren': 0
}
You can change the world with your heart,even a lot of changes sometimes unless you won't geiv up....