Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Re-add staticcheck #266

Merged
merged 1 commit into from
Jan 3, 2019
Merged

Re-add staticcheck #266

merged 1 commit into from
Jan 3, 2019

Conversation

bufdev
Copy link
Contributor

@bufdev bufdev commented Jan 3, 2019

Now that dominikh/go-tools#328 is resolved, we can use staticcheck again. This updates the version of staticcheck that is downloaded, and re-adds it to the lint target. unused has been merged into staticcheck and is deprecated. This also fixes three issues that got introduced that staticcheck now returns.

@bufdev
Copy link
Contributor Author

bufdev commented Jan 3, 2019

Note errcheck is close to being fixed as well kisielk/errcheck#155

@bufdev
Copy link
Contributor Author

bufdev commented Jan 3, 2019

Whoops I meant kisielk/errcheck#159

@codecov-io
Copy link

codecov-io commented Jan 3, 2019

Codecov Report

Merging #266 into dev will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #266      +/-   ##
==========================================
+ Coverage   71.37%   71.43%   +0.06%     
==========================================
  Files          90       90              
  Lines        4527     4523       -4     
==========================================
  Hits         3231     3231              
+ Misses        962      958       -4     
  Partials      334      334
Impacted Files Coverage Δ
internal/protoc/compiler.go 43.44% <ø> (ø) ⬆️
internal/exec/runner.go 51.33% <ø> (+0.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0790aa1...eba96ea. Read the comment docs.

@bufdev bufdev merged commit 8042785 into dev Jan 3, 2019
@bufdev bufdev deleted the staticcheck branch January 3, 2019 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants