cisagov / skeleton-generic

A generic skeleton project for quickly getting a new cisagov project started.
Creative Commons Zero v1.0 Universal
13 stars 11 forks source link

Update `pre-commit` hooks #161

Closed mcdonnnj closed 3 months ago

mcdonnnj commented 5 months ago

πŸ—£ Description

This pull requests updates the pre-commit hooks in our configuration.

[!NOTE] The prettier hook has a manual configuration because I had errors with the alpha releases of v4 and wanted to make sure we were using the latest available release of v3. This is working around a limitation of how the pre-commit auto-generated mirrors-<tool> hooks are updated.

[!NOTE] The large jump in versions for the ansible-lint hook is a result of them switching to CalVer for versioning.

πŸ’­ Motivation and context

Regular updates are important!

πŸ§ͺ Testing

Automated tests pass. I tested these updated hooks in a number of repositories and saw no issues.

βœ… Pre-approval checklist