/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/staticcheck.sh
18 строк
668 B
Radek Simko
make copyrightfix
17 фев 2026, 16:56
17 фев 2026, 16:56
0fe906f
Код
Авторство
О чём код?
#!/usr/bin/env bash # Copyright IBM Corp. 2014, 2026 # SPDX-License-Identifier: BUSL-1.1 echo "==> Checking that code complies with static analysis requirements..." # Skip legacy code which is frozen, and can be removed once we can refactor the # remote backends to no longer require it. skip="internal/legacy|backend/remote-state/" # Skip generated code for protobufs. skip=$skip"|internal/planproto|internal/tfplugin5|internal/tfplugin6" packages=$(go list ./... | egrep -v ${skip}) # Note that we globally disable some checks. The list is controlled by the # top-level staticcheck.conf file in this repo. go tool honnef.co/go/tools/cmd/staticcheck ${packages}