Closed MortalHappiness closed 1 month ago
Add pre-commit hooks supports so that developers can know format errors without running the CI.
Reference: https://github.com/nginxinc/nginx-gateway-fabric/blob/0b0f7111364cd6f06883e414f7ef118207ee7677/.pre-commit-config.yaml
N/A
I tried it locally by adding trailing whitespaces in a YAML file. It works. Niceeeeee!
Why are these changes needed?
Add pre-commit hooks supports so that developers can know format errors without running the CI.
Reference: https://github.com/nginxinc/nginx-gateway-fabric/blob/0b0f7111364cd6f06883e414f7ef118207ee7677/.pre-commit-config.yaml
Related issue number
N/A
Checks