diff options
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/.golangci.yml')
-rw-r--r-- | vendor/github.com/minio/minio-go/v7/.golangci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/.golangci.yml b/vendor/github.com/minio/minio-go/v7/.golangci.yml new file mode 100644 index 0000000..875b949 --- /dev/null +++ b/vendor/github.com/minio/minio-go/v7/.golangci.yml | |||
@@ -0,0 +1,27 @@ | |||
1 | linters-settings: | ||
2 | misspell: | ||
3 | locale: US | ||
4 | |||
5 | linters: | ||
6 | disable-all: true | ||
7 | enable: | ||
8 | - typecheck | ||
9 | - goimports | ||
10 | - misspell | ||
11 | - revive | ||
12 | - govet | ||
13 | - ineffassign | ||
14 | - gosimple | ||
15 | - unused | ||
16 | - gocritic | ||
17 | |||
18 | issues: | ||
19 | exclude-use-default: false | ||
20 | exclude: | ||
21 | # todo fix these when we get enough time. | ||
22 | - "singleCaseSwitch: should rewrite switch statement to if statement" | ||
23 | - "unlambda: replace" | ||
24 | - "captLocal:" | ||
25 | - "ifElseChain:" | ||
26 | - "elseif:" | ||
27 | - "should have a package comment" | ||