1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-TiDB-Operator

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.golangci.yml 1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Xuecheng Zhang Отправлено 26.09.2024 06:13 776b9fb
run:
timeout: 20m
linters:
enable:
- typecheck
- goimports
- gosimple
- staticcheck
- gosec
disable:
- errcheck
linters-settings:
gosec:
excludes:
- G107 # Rule: Url provided to HTTP request as taint input
- G108 # Rule: Profiling endpoint automatically exposed on /debug/pprof
- G306 # Rule: Poor file permissions used when writing to a new file
- G402 # Rule: Look for bad TLS connection settings
- G404 # Rule: Insecure random number source (rand)
- G201 # Rule: SQL query construction using format string
- G114 # Rule: Use of net/http serve function that has no support for setting timeouts
- G112 # Rule: Potential slowloris attack
- G115 # Rule: integer overflow conversion
govet:
disable:
- printf # non-constant format string in call
issues:
exclude-rules:
- path: tests
linters:
- gosec
- linters:
- staticcheck
text: "SA1019:" # Rule: Using a deprecated function, variable, constant or field

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-TiDB-Operator.git
git@api.gitlife.ru:oschina-mirror/mirrors-TiDB-Operator.git
oschina-mirror
mirrors-TiDB-Operator
mirrors-TiDB-Operator
master