tslint.json 353 B

1234567891011
  1. {
  2. "rules": {
  3. "no-void-expression": false
  4. },
  5. "meta": {
  6. "category": "functionality",
  7. "description": "禁止返回值为 `void` 类型",
  8. "reason": "没必要限制,`void` 很常用\nRequires Type Info 的规则,无法在编辑器中显示错误,不方便修复",
  9. "requires-type-info": true
  10. }
  11. }