diff options
author | silverwind <me@silverwind.io> | 2022-10-16 10:11:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 16:11:17 +0800 |
commit | 0647df3e831c320436d42a5572a6ec6a9d23d8b1 (patch) | |
tree | fde6e41c5e353dc0fe535fa30875f00b4462a42c /.golangci.yml | |
parent | 9fb251fb6fa2bb857bb8f5ae27f06c9d597bc1eb (diff) | |
download | gitea-0647df3e831c320436d42a5572a6ec6a9d23d8b1.tar.gz gitea-0647df3e831c320436d42a5572a6ec6a9d23d8b1.zip |
Simplify fmt-check (#21458)
`fmt-check` now simply does `fmt` before and relies on `git diff` like
other checks like 'tidy-check' already do, so we can remove the argument
in the tool that handles printing changed files.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml index 0e796a2016..99133badd9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,6 @@ linters: - dupl #- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time. - gofmt - - misspell - gocritic - bidichk - ineffassign @@ -148,9 +147,6 @@ issues: - path: models/issue_comment_list.go linters: - dupl - - linters: - - misspell - text: '`Unknwon` is a misspelling of `Unknown`' - path: models/update.go linters: - unused |