1
0
mirror of https://github.com/muesli/mastotool synced 2025-03-02 18:48:00 +01:00
mastotool/.golangci-soft.yml
Christian Muehlhaeuser 4d6c05aea4 ci: add linters
2022-11-15 18:38:02 +01:00

48 lines
696 B
YAML

run:
tests: false
issues:
include:
- EXC0001
- EXC0005
- EXC0011
- EXC0012
- EXC0013
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable:
# - dupl
- exhaustive
# - exhaustivestruct
- goconst
- godot
- godox
- gomnd
- gomoddirectives
- goprintffuncname
- ifshort
# - lll
- misspell
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
- wrapcheck
# disable default linters, they are already enabled in .golangci.yml
disable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck