mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 23:34:25 +00:00
fae07cbc8f
* Add Dependencie Update Script * update gitea.com/lunny/levelqueue * update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-redis/redis/v8 * update github.com/hashicorp/golang-lru * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/olivere/elastic/v7 * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark
41 lines
974 B
YAML
Vendored
41 lines
974 B
YAML
Vendored
run:
|
|
# do not run on test files yet
|
|
tests: false
|
|
|
|
# all available settings of specific linters
|
|
linters-settings:
|
|
errcheck:
|
|
# report about not checking of errors in type assetions: `a := b.(MyStruct)`;
|
|
# default is false: such cases aren't reported by default.
|
|
check-type-assertions: false
|
|
|
|
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
|
|
# default is false: such cases aren't reported by default.
|
|
check-blank: false
|
|
|
|
lll:
|
|
line-length: 100
|
|
tab-width: 4
|
|
|
|
prealloc:
|
|
simple: false
|
|
range-loops: false
|
|
for-loops: false
|
|
|
|
whitespace:
|
|
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
|
|
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
|
|
|
|
linters:
|
|
enable:
|
|
- megacheck
|
|
- govet
|
|
disable:
|
|
- maligned
|
|
- prealloc
|
|
disable-all: false
|
|
presets:
|
|
- bugs
|
|
- unused
|
|
fast: false
|