From f53a32b369588aee5b3b1450592b5c2ec028e80c Mon Sep 17 00:00:00 2001 From: Marvin Wendt Date: Sat, 20 Jul 2024 10:20:09 +0200 Subject: [PATCH] ci: disable `ireturn` linting rule --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 63c3309..6a68b00 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -53,7 +53,6 @@ linters: - inamedparam # reports interfaces with unnamed method parameters - interfacebloat # check for large interfaces - intrange # find places where for loops could make use of an integer range - - ireturn # Accept Interfaces, Return Concrete Types. - lll # check for long lines - maintidx # measures the maintainability index of each function - mirror # reports wrong mirror patterns of bytes/strings usage @@ -123,6 +122,7 @@ linters: - mnd # too many detections - cyclop # covered by gocyclo - gochecknoglobals # there are many valid reasons for global variables, depending on the project + - ireturn # there are too many exceptions linters-settings: wsl: