浏览代码

ci: mirror lint config from `main`

Joe Chen 3 年之前
父节点
当前提交
d06ba7e527
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      .golangci.yml

+ 5 - 0
.golangci.yml

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