mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
57 lines
872 B
YAML
57 lines
872 B
YAML
linters-settings:
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/gotenberg/gotenberg/v8)
|
|
skip-generated: true
|
|
custom-order: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- decorder
|
|
- dogsled
|
|
- dupl
|
|
- dupword
|
|
- durationcheck
|
|
- copyloopvar
|
|
- errcheck
|
|
- errname
|
|
- exhaustive
|
|
- gci
|
|
- gofmt
|
|
- goimports
|
|
- gofumpt
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- importas
|
|
- misspell
|
|
- prealloc
|
|
- promlinter
|
|
#- sloglint
|
|
- staticcheck
|
|
- testableexamples
|
|
- tparallel
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- usetesting
|
|
- wastedassign
|
|
- whitespace
|
|
|
|
run:
|
|
timeout: 5m
|
|
issues-exit-code: 1
|
|
tests: false
|
|
|
|
output:
|
|
print-issued-lines: true
|
|
print-linter-name: true
|