Skip to content

Commit 703ff8d

Browse files
nnnnoelnoelkim-prestolabscamc314
authored
feat(rules): Implement strict_boolean_expressions (#222)
Closes #195 --------- Co-authored-by: Noel Kim <noelkim@prestolabs.io> Co-authored-by: Cameron Clark <cameron.clark@hey.com>
1 parent 2c1a37f commit 703ff8d

File tree

6 files changed

+4518
-1
lines changed

6 files changed

+4518
-1
lines changed

cmd/tsgolint/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ import (
5757
"github.com/typescript-eslint/tsgolint/internal/rules/restrict_plus_operands"
5858
"github.com/typescript-eslint/tsgolint/internal/rules/restrict_template_expressions"
5959
"github.com/typescript-eslint/tsgolint/internal/rules/return_await"
60+
"github.com/typescript-eslint/tsgolint/internal/rules/strict_boolean_expressions"
6061
"github.com/typescript-eslint/tsgolint/internal/rules/switch_exhaustiveness_check"
6162
"github.com/typescript-eslint/tsgolint/internal/rules/unbound_method"
6263
"github.com/typescript-eslint/tsgolint/internal/rules/use_unknown_in_catch_callback_variable"
@@ -156,6 +157,7 @@ var allRules = []rule.Rule{
156157
restrict_plus_operands.RestrictPlusOperandsRule,
157158
restrict_template_expressions.RestrictTemplateExpressionsRule,
158159
return_await.ReturnAwaitRule,
160+
strict_boolean_expressions.StrictBooleanExpressionsRule,
159161
switch_exhaustiveness_check.SwitchExhaustivenessCheckRule,
160162
unbound_method.UnboundMethodRule,
161163
use_unknown_in_catch_callback_variable.UseUnknownInCatchCallbackVariableRule,

0 commit comments

Comments
 (0)