Splint 1.3.0 and 1.4.0 and 1.50

Gonna put the patch notes below the fold


v1.3.0 is all new rules, some of which might be helpful! These are all pretty self-explanatory:

v1.4.0 added -v and --version to the cli, which is obvious in hindsight. Also adds config TYPE to print either the full config (any local merged on top of default), the local (just the local file), and the diff (to only see where the local is different from default when explicitly setting local config to match defaults).

I also fixed a couple small bugs.

v1.5.0 adds a new genre! metrics will handle rules that are like style rules but meant to help give you rough measures of code quality (complexity, etc). metrics/fn-length is my first attempt to see how it works and how it looks. I suspect I won't like it but we'll see lol.

Changed how I write tests to make it better: Now I'm using nubank/matcher-combinators to do sub-matching, meaning I can check multiple things at once in a single assertion. Love it. Here's some other changes:

Fixed some bugs:

Liked the post? Hated the post? Felt nothing whatsoever about the post? Email me, and let me know!