Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add golangci-lint config #107

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Feb 17, 2023

While working on a different PR, my editor complained about failed go-staticcheck warnings. For consistency across codebases, I adopted the celestia-app golangci-lint config and fixed the lint errors in the screenshot below. This repo already has a lint workflow that runs golangci-lint so CI will run with these linters moving forward (confirmed via verbose logging here).

Screenshot

Screenshot 2023-02-17 at 2 48 43 PM

@rootulp rootulp self-assigned this Feb 17, 2023
@rootulp rootulp marked this pull request as ready for review February 17, 2023 19:59
@rootulp rootulp marked this pull request as draft February 17, 2023 20:06
@rootulp rootulp marked this pull request as ready for review February 17, 2023 20:08
@celestiaorg celestiaorg deleted a comment from codecov bot Feb 17, 2023
@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #107 (82205b8) into master (fa98a59) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
- Coverage   96.21%   96.19%   -0.02%     
==========================================
  Files           6        6              
  Lines         423      421       -2     
==========================================
- Hits          407      405       -2     
  Misses         10       10              
  Partials        6        6              
Impacted Files Coverage Δ
proof.go 96.73% <ø> (-0.04%) ⬇️
subrootpaths.go 90.47% <100.00%> (-0.12%) ⬇️

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

@rootulp rootulp merged commit f7c96b2 into celestiaorg:master Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants