Ver código fonte

ci: mirror lint config from `main`

Joe Chen 3 anos atrás
pai
commit
d06ba7e527
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      .golangci.yml

+ 5 - 0
.golangci.yml

@@ -1,4 +1,9 @@
 linters-settings:
+  staticcheck:
+    checks: [
+      "all",
+      "-SA1019" # There are valid use cases of strings.Title
+    ]
   nakedret:
     max-func-lines: 0 # Disallow any unnamed return statement