web-crawler/.golangci.yaml
Dan Anglin 85717a7fac
feat: use flags to configure the crawler
- Use flags to configure the worker pool and the maximum number of
  pages.
- Add README.md
2024-08-27 17:11:47 +01:00

33 lines
497 B
YAML

---
run:
concurrency: 2
timeout: 1m
issues-exit-code: 1
tests: true
output:
formats: 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/web-crawler
lll:
line-length: 140
linters:
enable-all: true
disable:
- execinquery
- gomnd
- mnd
fast: false