有人知道在这种情况下如何使TSLint失败吗?
↓
return{
id: this.user.id,
isAdmin: this.user.isAdmin,
email: this.profileForm.value.email,
password: this.profileForm.value.password,
firstName: this.profileForm.value.firstName,
secondName: this.profileForm.value.secondName,
mobilePhone: this.profileForm.value.mobilePhone,
};
我有这样的tslint.json
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"]
非常感谢!