Skip to content

Commit

Permalink
refactor: split into common options
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Jun 11, 2023
1 parent 1e01b9a commit cf486f5
Show file tree
Hide file tree
Showing 4 changed files with 357 additions and 360 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@ issues:
- "if statements should only be cuddled with assignments used in the if statement itself" # from wsl
- "assignments should only be cuddled with other assignments" # from wsl. false positive case: var a bool\nb := true
- "declarations should never be cuddled" # from wsl
exclude-rules:
# Exclude some linters from running on tests files.
- path: example_.*\.go
linters:
- dupl

Loading

0 comments on commit cf486f5

Please sign in to comment.