diff options
author | Rutger Broekhoff | 2023-12-29 21:31:53 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2023-12-29 21:31:53 +0100 |
commit | 404aeae4545d2426c089a5f8d5e82dae56f5212b (patch) | |
tree | 2d84e00af272b39fc04f3795ae06bc48970e57b5 /vendor/github.com/minio/minio-go/v7/.golangci.yml | |
parent | 209d8b0187ed025dec9ac149ebcced3462877bff (diff) | |
download | gitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.tar.gz gitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.zip |
Make Nix builds work
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" | ||