phodal / adr

Architecture Decision Records in Node.js with Reporter, supported Windows, GNU/Linux, macOS - 轻量级架构决策记录工具
https://phodal.github.io/adr/
MIT License
262 stars 52 forks source link

fix: avoid 'Expression is always true' error #49

Closed Rindrics closed 1 year ago

Rindrics commented 1 year ago
# tslist.json
 {
-  "extends": "tslint-config-standard"
+  "extends": "tslint-config-standard",
+  "rules": {
+    "strict-type-predicates": false
+  }

but I rejected the method because it could cause other important errors to be missed