问题描述:
自己的代码风格如下几点:
0: 本人喜欢用 tab 缩进
1:
配置如下:
.editorconfig
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
.eslintrc.js
// add your custom rules here
rules: {
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger'