Skip to content

Commit

Permalink
Adding the lint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
MayukhSobo committed May 17, 2024
1 parent 17da009 commit 2de4500
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Reference: https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
run:
concurrency: 4
timeout: 10m # Timeout for analysis
issues-exit-code: 2 # Exit code when at least one issue was found.
tests: true # Include test files or not
modules-download-mode: readonly # Don't update the go.mod file
allow-parallel-runners: true
allow-serial-runners: true
go: '1.19'
output:
formats:
- format: colored-line-number

0 comments on commit 2de4500

Please sign in to comment.