onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
40 stars 16 forks source link

Enable more linters and fix reported issues #283

Closed fxamacker closed 1 year ago

fxamacker commented 1 year ago

Description

Added .golangci.yml to enable more linters in CI. Fixed all reported issues.

Closes #281


codecov-commenter commented 1 year ago

Codecov Report

Merging #283 (132dfb3) into main (cfaf052) will increase coverage by 0.06%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #283      +/-   ##
==========================================
+ Coverage   68.99%   69.06%   +0.06%     
==========================================
  Files          14       14              
  Lines        7306     7306              
==========================================
+ Hits         5041     5046       +5     
+ Misses       1631     1627       -4     
+ Partials      634      633       -1     
Impacted Files Coverage Δ
errors.go 19.70% <ø> (ø)
storage.go 79.13% <ø> (+0.34%) :arrow_up:
array.go 76.15% <100.00%> (ø)
map.go 71.78% <100.00%> (+0.10%) :arrow_up:
map_debug.go 55.50% <100.00%> (ø)
settings.go 92.30% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.