Skip to content

Conversation

@gabedos
Copy link
Collaborator

@gabedos gabedos commented Jun 25, 2025

What does this PR do?

Creates a pre-commit configuration to run additional linting checks. Both local development and the CI use the same pre-commit hooks to verify the quality of the code.

Motivation

Adds pre-commit configuration to ease verifying the quality of committed code and maintain quality via CI.

Describe how you validated your changes

Verify the CI does not attempt to run the make fmt pre-commit step because it requires a different set of dependencies and thus a different workflow executes that.

Additional Notes

Attempted using other standard tools like prettier but that package is limited on the files it's able to read, parse, and evaluate it's rules on. For instance, I could not find any support in prettier to do linting on terraform "*.tf" files.

@gabedos gabedos force-pushed the gabedos/extra-linting branch from f453ca1 to 0edbe4c Compare June 25, 2025 20:12
@gabedos gabedos force-pushed the gabedos/extra-linting branch 2 times, most recently from 39f9b69 to 3713a72 Compare June 26, 2025 14:07
@gabedos gabedos force-pushed the gabedos/extra-linting branch from 3713a72 to 03ea337 Compare June 26, 2025 14:16
@gabedos gabedos marked this pull request as ready for review June 26, 2025 18:02
@gabedos gabedos requested a review from a team as a code owner June 26, 2025 18:02
@gabedos gabedos merged commit da3f877 into main Jun 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants