diff --git a/.golangci.yml b/.golangci.yml index 4ceeb5dfaaf..02cda0353fb 100755 --- a/.golangci.yml +++ b/.golangci.yml @@ -21,6 +21,9 @@ issues: - linters: - stylecheck text: "ST1003:" + # From mage we are priting to the console to ourselves + - path: (.*magefile.go|.*dev-tools/mage/.*) + linters: forbidigo output: sort-results: true @@ -68,7 +71,6 @@ linters: - noctx # noctx finds sending http request without context.Context - unconvert # Remove unnecessary type conversions - wastedassign # wastedassign finds wasted assignment statements. - - godox # tool for detection of FIXME, TODO and other comment keywords - gomodguard # check for blocked dependencies # all available settings of specific linters diff --git a/dev-tools/templates/.golangci.yml b/dev-tools/templates/.golangci.yml index f2bae006662..ce7200589a5 100644 --- a/dev-tools/templates/.golangci.yml +++ b/dev-tools/templates/.golangci.yml @@ -18,6 +18,9 @@ issues: - text: "ST1003:" linters: - stylecheck + # From mage we are priting to the console to ourselves + - path: (.*magefile.go|.*dev-tools/mage/.*) + linters: forbidigo output: sort-results: true @@ -65,7 +68,6 @@ linters: - noctx # noctx finds sending http request without context.Context - unconvert # Remove unnecessary type conversions - wastedassign # wastedassign finds wasted assignment statements. - - godox # tool for detection of FIXME, TODO and other comment keywords - gomodguard # check for blocked dependencies # all available settings of specific linters