持续更新中…
{
"rules": {
"max-line-length": [true, { "limit": 200 }], // 单行最大字数
"member-access": [true, "no-public"], // 是否显式声明访问修饰符(private、public、protected)
"space-before-function-paren": ["error", "never"], // 允许函数名与括号之间有空格
"curly": [true, "ignore-same-line"], // 允许单行语句
"no-console": false, // 允许 console
"only-arrow-functions": [false, "allow-deciarations", "allow-named-functions"],
"quotemark": [true, "single"], // 单括号
"indent": [true, "spaces", 2], // tab缩进为 2个空格
}
}