diff --git a/.custom-gcl.yml b/.custom-gcl.yml deleted file mode 100644 index a58014e7..00000000 --- a/.custom-gcl.yml +++ /dev/null @@ -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. \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index e1718765..cfa7984c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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: