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

refactor: replace lint to revive #5422

merged 2 commits into from Dec 3, 2018


7 participants
Copy link

appleboy commented Nov 28, 2018

lint time

$ time make lint
real    0m7.953s
user    0m5.928s
sys     0m2.129s

revive time

$ time make revive
revive -config config.toml -exclude=./vendor/... ./... || exit 1

real    0m5.179s
user    0m8.248s
sys     0m1.785s

@appleboy appleboy added the kind/lint label Nov 28, 2018

@appleboy appleboy added this to the 1.7.0 milestone Nov 28, 2018


This comment has been minimized.

Copy link

codecov-io commented Nov 28, 2018

Codecov Report

Merging #5422 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5422   +/-   ##
  Coverage   37.57%   37.57%           
  Files         317      317           
  Lines       46824    46824           
  Hits        17593    17593           
  Misses      26732    26732           
  Partials     2499     2499

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 2d707fe...8f2247d. Read the comment docs.

@bkcsoft bkcsoft added the lgtm/need 2 label Nov 28, 2018


lunny approved these changes Nov 28, 2018

@bkcsoft bkcsoft added lgtm/need 1 and removed lgtm/need 2 labels Nov 28, 2018

Show resolved Hide resolved config.toml Outdated

AragurDEV added a commit to AragurDEV/revive that referenced this pull request Dec 3, 2018

Add gitea to "Who uses Revive"
When merged: go-gitea/gitea#5422 gitea will use revive.
Makefile Outdated
@@ -126,12 +126,12 @@ errcheck:
errcheck $(PACKAGES)

.PHONY: lint

This comment has been minimized.


sapk Dec 3, 2018


Why not keep lint command name as it is the action (linting) not the name tool?

This comment has been minimized.


appleboy Dec 3, 2018


@sapk revert.

appleboy added some commits Nov 28, 2018

make changes.
Signed-off-by: Bo-Yi Wu <>

@appleboy appleboy force-pushed the appleboy:revive branch from a7209a3 to 8f2247d Dec 3, 2018

@bkcsoft bkcsoft added lgtm/done and removed lgtm/need 1 labels Dec 3, 2018


sapk approved these changes Dec 3, 2018

@techknowlogick techknowlogick merged commit 20c54f8 into go-gitea:master Dec 3, 2018

2 checks passed

approvals/lgtm this commit looks good
continuous-integration/drone/pr the build was successful

mgechev added a commit to mgechev/revive that referenced this pull request Dec 4, 2018

Add gitea to "Who uses Revive" (#94)
When merged: go-gitea/gitea#5422 gitea will use revive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment