Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I was looking into this as well. I've successfully used rusty-hook for wiring up pre-commit/pre-push hooks. But I need help finding a tool allowing me to run conventional commits locally while limiting the toolset within reach of crates.io.
Anyone who already uses Nix and Flakes can use this integration. Anyone who doesn't use Nix can just ignore me, because I'm not here to try converting unconvinced folks.
It doesn't do commit message checking but if you want to do linting on commit I wrote a tool called precious. It lets you configure any number of tidiers and linters for your project in a single file. It's written in Rust, but it can be used for projects in any language.
I'm surprised no one has mentioned yet cargo-husky unless this the husky to which an alternative is being looked for. Thinking about it once more, the post could be interpreted either way.
I use https://github.com/crate-ci/committed and pre-commit (the python app)
It is not wild at all. Check out husky, the most popular tool for git hooks. The recommended way to use it is by running npx husky-init, which registers a pre-commit hook that by default runs npm test whenever you commit.