Skip to content

Commit

Permalink
Create .golangci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored May 12, 2024
1 parent 04cb89e commit 65e8089
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions providers/prometheus/.golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

run:
deadline: 5m

output:
sort-results: true

linters:
disable-all: true
enable:
- errcheck
- gofumpt
- goimports
- whitespace

linters-settings:
errcheck:
exclude: errcheck_excludes.txt
gofumpt:
extra-rules: true
goimports:
local-prefixes: github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus

0 comments on commit 65e8089

Please sign in to comment.