summaryrefslogtreecommitdiffstats
path: root/build.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-09 13:08:02 +0200
committerGitHub <noreply@github.com>2021-05-09 13:08:02 +0200
commitc3802dcc0f54763b27ffb6af5b03289651fda250 (patch)
tree731a7893554b0a82942426668811c6af4eafccdb /build.go
parenta69fb523a738315cc089eeae98f265d595bfe7dc (diff)
downloadgitea-c3802dcc0f54763b27ffb6af5b03289651fda250.tar.gz
gitea-c3802dcc0f54763b27ffb6af5b03289651fda250.zip
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.
Diffstat (limited to 'build.go')
-rw-r--r--build.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/build.go b/build.go
index ab57fb1d9a..b843465dca 100644
--- a/build.go
+++ b/build.go
@@ -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"