From 45ade6b780af1c892ddb1128bfa0dd8b869c0156 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 28 Feb 2025 17:27:49 -0500 Subject: [PATCH] chore: enable golangci-lint performance checks Signed-off-by: Chris Gianelloni --- .golangci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index b2552e0..1982a98 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,12 +6,21 @@ issues: linters: enable: - errcheck - - gosec - gosimple - govet - ineffassign - staticcheck - unused + # Defaults above ours below + - bodyclose + - fatcontext + - gosec + - noctx + - perfsprint + - prealloc +#linters-settings: +# errcheck: +# check-type-assertions: true run: issues-exit-code: 1 tests: false