mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
Introduce golangci-lint
This commit is contained in:
parent
da089fc348
commit
419469c297
2 changed files with 8 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
# Local testfiles and auth data
|
# Local testfiles and auth data
|
||||||
.auth
|
.auth
|
||||||
cmd/*
|
examples/*
|
||||||
|
|
||||||
# SonarQube
|
# SonarQube
|
||||||
.scannerwork/
|
.scannerwork/
|
||||||
|
|
7
.golangci.toml
Normal file
7
.golangci.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[run]
|
||||||
|
go = "1.16"
|
||||||
|
tests = true
|
||||||
|
|
||||||
|
[linters]
|
||||||
|
enable = ["stylecheck", "whitespace", "containedctx", "contextcheck", "decorder",
|
||||||
|
"errname", "errorlint", "gofmt", "gofumpt"]
|
Loading…
Reference in a new issue