From 87a419d2a790814f698c86c5960863a6fa76e9f5 Mon Sep 17 00:00:00 2001 From: davidlion Date: Fri, 26 Jul 2024 12:25:22 -0400 Subject: [PATCH] Revert mistaken golangci.yml update. --- .golangci.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index c8c330a..a353528 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,19 +34,10 @@ linters-settings: # Completely disallow naked returns max-func-lines: 0 revive: - enable-all-rules: true - severity: "error" rules: - - name: "add-constant" - arguments: - - maxLitCount: "4" - allowStrs: '""' - allowInts: "0" - allowFloats: "0.0" - - name: "comment-spacings" - arguments: - - "export" - name: "line-length-limit" + severity: "warning" + disabled: false arguments: [100] staticcheck: checks: