Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

🐛 Fix golangci-lint config to ignore unhelpful lints #210

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ linters:
- gocyclo
- lll
fast: true
issue:
issues:
max-same-issues: 0
max-per-linter: 0
# List of regexps of issue texts to exclude, empty list by default.
exclude:
- Using the variable on range scope `tc` in function literal
run:
deadline: 2m
skip-dirs:
Expand Down