- 报错:
Import sources within a group must be alphabetized.
原因:import名称排序问题,要求按照字母从小到大排序;修改 tslint.json 中 rules 的规则 “ordered-imports” 为 false 即可。
解决:
"rules": {
"ordered-imports": false
}
Import sources within a group must be alphabetized.
"rules": {
"ordered-imports": false
}