1 Star 0 Fork 0

wheatj/nudex-voter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.golangci.yml 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
Clint 提交于 2024-11-05 21:53 . fix: removed unused linter
run:
timeout: 5m
# https://golangci-lint.run/usage/linters
linters:
enable:
- whitespace
- gosec
- misspell
# - gomnd
# - revive
- gofmt
# - gofumpt
- goimports
- gci
- unconvert
- gosimple
- ineffassign
- asciicheck
- bodyclose
- bidichk
- prealloc
- predeclared
- unconvert
disable:
- unused
linters-settings:
govet:
disable:
- printf
gosec:
# To specify a set of rules to explicitly exclude.
# Available rules: https://github.com/securego/gosec#available-rules
# Default: []
excludes:
- G115
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck
gci:
# Section configuration to compare against.
# Section names are case-insensitive and may contain parameters in ().
# Default: ["standard", "default"]
sections:
- standard # Captures all standard packages if they do not match another section.
- default # Contains all imports that could not be matched to another section type.
- prefix(periphery) # Groups all imports with the specified Prefix.
gofmt:
# simplify code: gofmt with `-s` option, true by default
simplify: true
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: periphery
predeclared:
# Comma-separated list of predeclared identifiers to not report on.
# Default: ""
ignore: "max,min,error"
# Include method names and field names (i.e., qualified names) in checks.
# Default: false
# q: false
issues:
include:
- EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
- EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments
exclude-dirs:
- test
- ci
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wheatj/nudex-voter.git
[email protected]:wheatj/nudex-voter.git
wheatj
nudex-voter
nudex-voter
chore/readme

搜索帮助