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
* Basic implementation of Lint/UselessComparison (#235)
* More comprehensive useless comparison rule using custom visitor
Need to write more specs to ensure functionality, but from initial testing this works really well
* Fix case statement implicit obj comparisons
* UselessComparison -> UnusedComparison
Working implementation of Lint/UnusedLiteral
Moved ImplicitReturnVisitor to its own class and expanded it
* Better UnusedLiteral specs and docs
* Remove accidental hello
* Add "since_version"
* Apply suggestions from code review
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
* visit methods return bool, add StringInterpolation support
* Apply suggestions from code review
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
* Add support for Regex literals to Lint/UnusedLiteral gated by Crystal 1.15
* test methods shouldnt return bool
RegexLiteral values should be counted as used
Add spec ensuring unused regex literals aren't counted for Crystal < 1.15
---------
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
The
==
most like was supposed to be=
here.The text was updated successfully, but these errors were encountered: