2023-05-06 12:49:40 +01:00
|
|
|
---
|
|
|
|
run:
|
|
|
|
concurrency: 2
|
|
|
|
timeout: 1m
|
2023-12-12 10:18:05 +00:00
|
|
|
issues-exit-code: 0
|
2023-05-06 12:49:40 +01:00
|
|
|
tests: true
|
|
|
|
|
|
|
|
output:
|
|
|
|
format: colored-line-number
|
|
|
|
print-issues-lines: true
|
|
|
|
print-linter-name: true
|
|
|
|
uniq-by-line: true
|
|
|
|
sort-results: true
|
|
|
|
|
|
|
|
linters-settings:
|
2024-01-10 18:21:14 +00:00
|
|
|
depguard:
|
|
|
|
rules:
|
|
|
|
main:
|
|
|
|
files:
|
|
|
|
- $all
|
|
|
|
allow:
|
|
|
|
- $gostd
|
|
|
|
- codeflow.dananglin.me.uk/apollo/pelican
|
|
|
|
- github.com/gdamore/tcell/v2
|
|
|
|
- github.com/rivo/tview
|
2023-05-06 12:49:40 +01:00
|
|
|
exhaustivestruct:
|
|
|
|
struct-patterns:
|
|
|
|
- 'forge.dananglin.me.uk/code/dananglin/pelican.Status'
|
|
|
|
- 'forge.dananglin.me.uk/code/dananglin/pelican.Card'
|
|
|
|
lll:
|
|
|
|
line-length: 140
|
|
|
|
testpackage:
|
|
|
|
skip-regexp: (internal)_test\.go
|
|
|
|
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- gomnd
|
|
|
|
fast: false
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: db_internal_test.go
|
|
|
|
linters:
|
|
|
|
- funlen
|