etcd
etcd copied to clipboard
Enable testifylint linter rules
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.