tslint.json 395 B

12345678910111213
  1. {
  2. "rules": {
  3. "no-boolean-literal-compare": false
  4. },
  5. "meta": {
  6. "category": "style",
  7. "description": "禁止变量与 `true` 或 `false` 比较",
  8. "reason": "没必要限制\nRequires Type Info 的规则,无法在编辑器中显示错误,不方便修复",
  9. "ts-only": true,
  10. "has-fixer": true,
  11. "requires-type-info": true
  12. }
  13. }