ficsit-cli-flake/.golangci.yml

62 lines
979 B
YAML
Raw Normal View History

2021-12-02 04:00:33 +00:00
linters-settings:
wrapcheck:
ignoreSigs:
- .Errorf(
- errors.New(
- errors.Unwrap(
- .Wrap(
- .Wrapf(
- .WithMessage(
- .WithMessagef(
- .WithStack(
ignorePackageGlobs:
- github.com/satisfactorymodding/ficsit-cli/*
2022-10-14 16:11:16 +00:00
govet:
check-shadowing: true
enable-all: true
disable:
- shadow
gocritic:
disabled-checks:
- ifElseChain
gci:
custom-order: true
sections:
- standard
- default
- prefix(github.com/satisfactorymodding/ficsit-cli)
- blank
- dot
run:
skip-files:
- ./ficsit/types.go
2021-12-02 04:00:33 +00:00
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- bidichk
- contextcheck
- durationcheck
- errorlint
- goimports
- revive
- misspell
- prealloc
- whitespace
- wrapcheck
2022-10-14 16:11:16 +00:00
- gci
- gocritic
- nonamedreturns