diff --git a/.golangci.yml b/.golangci.yml index 6d835909f..c55a08bba 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -33,6 +33,8 @@ run: output: sort-results: true + sort-order: [file] + show-stats: true linters-settings: stylecheck: @@ -44,11 +46,7 @@ linters-settings: - ifElseChain - singleCaseSwitch # Every time this occurred in the code, there was no other way. revive: - ignore-generated-header: false - severity: warning - confidence: 0.8 - errorCode: 1 - warningCode: 1 + severity: error rules: - name: atomic - name: bare-return