enbas/.golangci.yaml
Dan Anglin 77d782af21
checkpoint: implement config everywhere
- disable some linters
- all executors now uses the config value
- some variable renaming based on golangci-lint feedback
- add path to the credentials file to the config so users can define the
  path to the credentials file
2024-06-25 04:49:14 +01:00

38 lines
633 B
YAML

# SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
---
run:
concurrency: 2
timeout: 1m
issues-exit-code: 1
tests: true
output:
format: colored-line-number
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
lll:
line-length: 140
linters:
enable-all: true
disable:
- exhaustivestruct
- exhaustruct
- gomnd
- tagliatelle
fast: false