enbas/.golangci.yaml

40 lines
637 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
2024-02-19 12:39:01 +00:00
---
run:
concurrency: 2
timeout: 1m
issues-exit-code: 1
tests: true
output:
2024-08-16 23:12:17 +01:00
formats: colored-line-number
2024-02-19 12:39:01 +00:00
print-issues-lines: true
print-linter-name: true
uniq-by-line: true
sort-results: true
linters-settings:
depguard:
rules:
main:
files:
- $all
allow:
- $gostd
- codeflow.dananglin.me.uk/apollo/enbas
2024-02-19 12:39:01 +00:00
lll:
line-length: 140
linters:
enable-all: true
disable:
2024-08-16 23:12:17 +01:00
- execinquery
- exhaustruct
- gomnd
2024-08-16 23:12:17 +01:00
- mnd
- tagliatelle
2024-02-19 12:39:01 +00:00
fast: false