mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 13:04:02 +03:00
Update to the latest golangci-lint
This commit is contained in:
+17
-18
@@ -1,22 +1,21 @@
|
||||
# https://golangci-lint.run/docs/configuration/file/
|
||||
|
||||
version = 2
|
||||
|
||||
[run]
|
||||
concurrency = 4
|
||||
deadline = "2m"
|
||||
tests = true
|
||||
skip-dirs = ["vendor"]
|
||||
|
||||
[output]
|
||||
format = "colored-line-number"
|
||||
|
||||
[linters]
|
||||
enable-all = true
|
||||
disable = [
|
||||
"containedctx",
|
||||
"exhaustivestruct",
|
||||
"exhaustruct",
|
||||
"gas",
|
||||
"gochecknoglobals",
|
||||
"goerr113",
|
||||
"ireturn",
|
||||
"thelper",
|
||||
"varnamelen",
|
||||
]
|
||||
# [linters]
|
||||
# enable-all = true
|
||||
# disable = [
|
||||
# "containedctx",
|
||||
# "exhaustivestruct",
|
||||
# "exhaustruct",
|
||||
# "gas",
|
||||
# "gochecknoglobals",
|
||||
# "goerr113",
|
||||
# "ireturn",
|
||||
# "thelper",
|
||||
# "varnamelen",
|
||||
# ]
|
||||
|
||||
Reference in New Issue
Block a user