mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 13:32:25 -05:00
- codeberg.org/gruf/go-ffmpreg: v0.6.10 -> v0.6.11 - github.com/spf13/cast: v1.9.2 -> v1.10.0 - github.com/spf13/viper: v1.20.1 -> v1.21.0 - golang.org/x/crypto: v0.41.0 -> v0.42.0 - golang.org/x/image: v0.30.0 -> v0.31.0 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4423 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
48 lines
773 B
YAML
48 lines
773 B
YAML
version: "2"
|
|
|
|
run:
|
|
timeout: 10m
|
|
|
|
linters:
|
|
enable:
|
|
- govet
|
|
- ineffassign
|
|
# - misspell
|
|
- nolintlint
|
|
# - revive
|
|
|
|
disable:
|
|
- errcheck
|
|
- staticcheck
|
|
- unused
|
|
|
|
settings:
|
|
misspell:
|
|
locale: US
|
|
nolintlint:
|
|
allow-unused: false # report any unused nolint directives
|
|
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
|
|
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
# - golines
|
|
|
|
settings:
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- localmodule
|
|
gofmt:
|
|
simplify: true
|
|
rewrite-rules:
|
|
- pattern: interface{}
|
|
replacement: any
|
|
|
|
exclusions:
|
|
paths:
|
|
- internal/
|