mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-02-24 16:58:51 +01:00
* feat: check X-Robots-Tag when accessing /api/v1/instance or /nodeinfo endpoints respect X-Robots-Tag * chore: go fmt ./... * Check robots.txt as well, add tests --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
20 lines
280 B
YAML
20 lines
280 B
YAML
linters:
|
|
enable:
|
|
- goconst
|
|
- gofmt
|
|
- gosec
|
|
- maligned
|
|
- prealloc
|
|
- staticcheck
|
|
disable:
|
|
- deadcode
|
|
- structcheck
|
|
- varcheck
|
|
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
govet:
|
|
check-shadowing: true
|
|
maligned:
|
|
suggest-new: true
|