vault/scripts
Alexander Scheel b0fb3b1420
pre-commit hook for formatting backend code (#21682)
* Add backend format linting to pre-commit hook

By taking a slight penalty with each commit, we can ensure that
contributors follow the format behavior by default (if they run hooks),
making accidental PRs without proper formatting less likely.
Additionally, fix gofmtcheck to align with the Makefile, fixing the
corresponding fmtcheck target for use with the hook.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Fix formatting errors

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-07-10 16:49:47 +00:00
..
cross Address Critical Vulnerabilities from Dependencies (#19901) 2023-04-03 15:24:38 -06:00
docker Address Critical Vulnerabilities from Dependencies (#19901) 2023-04-03 15:24:38 -06:00
windows Move version out of SDK. (#14229) 2022-12-07 13:29:51 -05:00
assetcheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
build.sh build: try creating the go bin directory (#19862) 2023-04-17 22:57:17 +00:00
ci-helper.sh Prevent breakage when merging OSS changes to ENT due to missing funcs (#21564) 2023-07-06 12:35:06 -04:00
coverage.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
deprecations-checker.sh VAULT-17734, VAULT-17735: Combine linters (#21611) 2023-07-06 15:18:42 +02:00
deps_upgrade.py adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
dist.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
gen_openapi.sh Minor improvements to gen_openapi.sh (#21568) 2023-07-05 15:31:46 -04:00
gofmtcheck.sh pre-commit hook for formatting backend code (#21682) 2023-07-10 16:49:47 +00:00
goversioncheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
protocversioncheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
semgrep_plugin_repos.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testciphers.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
update_deps.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
update_plugin_modules.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00