mirror of
https://github.com/ivuorinen/tsm.git
synced 2026-01-26 03:24:01 +00:00
chore: add .golangci.yaml
This commit is contained in:
33
.golangci.yaml
Normal file
33
.golangci.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
run:
|
||||
timeout: 3m
|
||||
go: "1.24"
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- govet
|
||||
- staticcheck
|
||||
- gofmt
|
||||
- goimports
|
||||
- gosimple
|
||||
- ineffassign
|
||||
- revive
|
||||
- misspell
|
||||
- errcheck
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
max-same-issues: 0
|
||||
max-issues-per-linter: 0
|
||||
|
||||
settings:
|
||||
revive:
|
||||
severity: warning
|
||||
rules:
|
||||
- name: indent-error-flow
|
||||
- name: errorf
|
||||
- name: var-declaration
|
||||
- name: ban-unused-imports
|
||||
gofmt:
|
||||
simplify: true
|
||||
misspell:
|
||||
locale: US
|
||||
Reference in New Issue
Block a user