diff options
author | silverwind <me@silverwind.io> | 2024-04-13 19:32:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 17:32:15 +0000 |
commit | c77e8140bc2ac6521dbebfb77613dce2648bfcb8 (patch) | |
tree | eeb2ef97ebfe03ff71c3a413c5e20cd76f0bdb98 /.gitattributes | |
parent | af02b8a0e9b00a324fb92f1f73ea386dd9595c3d (diff) | |
download | gitea-c77e8140bc2ac6521dbebfb77613dce2648bfcb8.tar.gz gitea-c77e8140bc2ac6521dbebfb77613dce2648bfcb8.zip |
Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461)
Since https://github.com/go-gitea/gitea/pull/25686, a few `interface{}`
have sneaked into the codebase. Add this replacement to `make fmt` to
prevent this from happening again.
Ideally a linter would do this, but I haven't found any suitable.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 467b8a47b5..9fb4a4e83d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ * text=auto eol=lf *.tmpl linguist-language=Handlebars +*.pb.go linguist-generated /assets/*.json linguist-generated /public/assets/img/svg/*.svg linguist-generated /templates/swagger/v1_json.tmpl linguist-generated |