diff --git a/.changeset/bright-conditions-report.md b/.changeset/bright-conditions-report.md new file mode 100644 index 0000000000..6c0b5c017a --- /dev/null +++ b/.changeset/bright-conditions-report.md @@ -0,0 +1,6 @@ +--- +"@flint.fyi/rule-data": patch +"@flint.fyi/ts": patch +--- + +Add the checker-backed `ts/unnecessaryConditions` rule to report conditions with statically known outcomes. diff --git a/packages/e2e/tests/directives/directives.test.ts b/packages/e2e/tests/directives/directives.test.ts index 82de729174..a619affef4 100644 --- a/packages/e2e/tests/directives/directives.test.ts +++ b/packages/e2e/tests/directives/directives.test.ts @@ -25,7 +25,7 @@ describe("directives", () => { ✖ Found 4 reports across 3 files. - Finished in