Sfoglia il codice sorgente

ci: mirror lint config from `main`

Joe Chen 3 anni fa
parent
commit
d06ba7e527
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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