mirror of https://github.com/jetkvm/kvm.git
chore: remove nilaway as golangci-lint github action doesn't support GCL
This commit is contained in:
parent
82c5e6b38f
commit
66504163d5
|
@ -1,6 +0,0 @@
|
|||
# This has to be >= v1.57.0 for module plugin system support.
|
||||
version: v2.4.0
|
||||
plugins:
|
||||
- module: "go.uber.org/nilaway"
|
||||
import: "go.uber.org/nilaway/cmd/gclplugin"
|
||||
version: latest # Or a fixed version for reproducible builds.
|
|
@ -5,8 +5,6 @@ linters:
|
|||
- misspell
|
||||
- whitespace
|
||||
- gochecknoinits
|
||||
# Static analysis tool to detect potential nil panics in Go code.
|
||||
- nilaway
|
||||
# Checks function and package cyclomatic complexity.
|
||||
- cyclop
|
||||
# Check whether the function uses a non-inherited context.
|
||||
|
@ -20,12 +18,6 @@ linters:
|
|||
msg: Do not commit print statements. Use logger package.
|
||||
- pattern: ^log\.(Fatal|Panic|Print)(f|ln)?.*$
|
||||
msg: Do not commit log statements. Use logger package.
|
||||
custom:
|
||||
nilaway:
|
||||
type: module
|
||||
description: 'Static analysis tool to detect potential nil panics in Go code.'
|
||||
settings:
|
||||
exclude-pkgs: vendor
|
||||
exclusions:
|
||||
generated: lax
|
||||
presets:
|
||||
|
|
Loading…
Reference in New Issue