nspcc-dev / neo-go

Go Node and SDK for the Neo blockchain
MIT License
123 stars 79 forks source link

.golangci.yml: add `intrange` linter #3572

Closed carpawell closed 2 months ago

carpawell commented 2 months ago

It checks that go 1.22's range-over-numbers feature is not skipped. Also, fix some warnings it found.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.79%. Comparing base (d47fe39) to head (f8549a4). Report is 18 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3572 +/- ## ========================================== - Coverage 85.85% 85.79% -0.06% ========================================== Files 330 330 Lines 38537 38536 -1 ========================================== - Hits 33085 33063 -22 - Misses 3904 3928 +24 + Partials 1548 1545 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

AnnaShaleva commented 2 months ago

BTW, there's a tiny typo in the second commit: mtp vs mpt.