加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
staticcheck.conf 438 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Copyright IBM Corp All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
# Using default configuration and adding U1000 and ST1005
checks = [
# defaults
"all",
"-ST1000",
"-ST1003",
"-ST1016",
"-ST1020",
"-ST1021",
"-ST1022",
# Fabric specific
"-SA1019", # Deprecations
"-ST1005", # Incorrectly formatted error string
"-U1000", # Type is unused
]
dot_import_whitelist = [
"github.com/onsi/gomega"
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化