mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
linters-settings:
|
|
gci:
|
|
sections:
|
|
- standard # Standard section: captures all standard packages.
|
|
- default # Default section: contains all imports that could not be matched to another section type.
|
|
- prefix(github.com/gotenberg/gotenberg/v7) # Ensure that this is always at the top and always has a line break.
|
|
# Skip generated files.
|
|
# Default: true
|
|
skip-generated: true
|
|
# Skip vendor files.
|
|
# Default: true
|
|
skip-vendor: true
|
|
# Enable custom order of sections.
|
|
# If `true`, make the section order the same as the order of `sections`.
|
|
# Default: false
|
|
custom-order: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- errcheck
|
|
- gci
|
|
- gofumpt
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- prealloc
|
|
- staticcheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
|
|
run:
|
|
deadline: 5m
|
|
issues-exit-code: 1
|
|
tests: false
|
|
|
|
output:
|
|
format: 'colored-line-number'
|
|
print-issued-lines: true
|
|
print-linter-name: true |