FM-17 / poglink

A bot that integrates the ARK Web API with Discord.
MIT License
12 stars 4 forks source link

Add a custom pre-commit hook which checks for formatting #64

Closed travipross closed 2 years ago

travipross commented 2 years ago

Set up pre-commit to help prevent commits that wouldn't pass formatting guidelines.

This would be optional to use as CI is already checking for formatting. But having this check performed as a pre-commit hook would prevent the need for those commits whose only contribution is "formatting", as it would tell the developer something is wrong before it ever makes it into the git tree.

The hook should run:

Here is a blog post that demonstrates how this could be done.

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 0.8.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: