Use binary version of revive linter (#15739)

Use the common `go get` method to install and run the revive linter,
removing the useless build/lint.go and related vendor libraries.
This commit is contained in:
silverwind 2021-05-09 13:08:02 +02:00 committed by GitHub
parent a69fb523a7
commit c3802dcc0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 7 additions and 13734 deletions

View file

@ -10,14 +10,6 @@ package main
// These libraries will not be included in a normal compilation.
import (
// for lint
_ "github.com/mgechev/dots"
_ "github.com/mgechev/revive/formatter"
_ "github.com/mgechev/revive/lint"
_ "github.com/mgechev/revive/rule"
_ "github.com/mitchellh/go-homedir"
_ "github.com/pelletier/go-toml"
// for embed
_ "github.com/shurcooL/vfsgen"