tslint eslint 格式检查
·
Missing semicolon // 缺少分号
"semicolon": [
false,
"always",
"ignore-interfaces"
],
Missing trailing comma // 缺少逗号
``` // 禁止自动检测末尾行必须使用逗号,always总是检测,never从不检测,ignore忽略检测 "trailing-comma": [true, { "singleline": "never", "multiline": { "objects": "ignore", "arrays": "always", "functions": "never", "typeLiterals": "ignore" } }],
```
更多推荐

所有评论(0)