etcd icon indicating copy to clipboard operation
etcd copied to clipboard

Enable testifylint linter rules

Open ivanvc opened this issue 1 year ago • 8 comments
trafficstars

What would you like to be added?

This issue formalizes @mmorel-35's work (thanks!) to enable the linter rules from the testifylint linter.

The completion track is as follows:

  • [x] bool-compare - #18686, #18717
  • [x] compares - #18715
  • [x] empty - #18712
  • [x] error-is-as - #18740
  • [x] error-nil - #18716
  • [x] expected-actual - #18720
  • [ ] float-compare
  • [ ] formatter - #18741
  • [ ] go-require
  • [x] len - #18712
  • [x] negative-positive - #18715
  • [x] nil-compare - #18689, #18717
  • [ ] require-error

Why is this needed?

To improve the code quality.

ivanvc avatar Oct 11 '24 20:10 ivanvc