You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initial implementation
* tests
* refactor
* some more tests
* update docs
* update snapshots
* handle implicit or explicit undefined return types
* refactor and update tests
* remove unnecessary union check
* inline check
* cover empty return staetments
* report a function as returning undefined only if no other isssues were found
* update comments
* add test
* remove unnecessary test
* update code to match function's inferred return type rather than each return statement individually
* update tests to match the implementation changes
* adjust suggestion message
* final adjustments
* final adjustments #2
* test additions
* update snapshots
* Update packages/eslint-plugin/docs/rules/strict-boolean-expressions.mdx
Co-authored-by: Kirk Waiblinger <[email protected]>
* initial implementation of deducing the correct signature for non-function-expressions
* comments
* take type constraints into consideration
* only check type constraints on type parameters
* update tests
* update index tests
* update snapshot
* simplify code a bit
* remove overly complex heuristic
* use an existing helper rather than implementing one
* update tests
* Update packages/eslint-plugin/src/rules/strict-boolean-expressions.ts
Co-authored-by: Kirk Waiblinger <[email protected]>
* fix codecov
* cleanup old code, support type constraints
* refactor fixer
* remove unnecessary tests
* revert changes to isParenlessArrowFunction
* oops
---------
Co-authored-by: Kirk Waiblinger <[email protected]>
0 commit comments