Skip to content

v0.3.0

Choose a tag to compare

@efrecon efrecon released this 18 Dec 12:50
· 52 commits to main since this release

This release provides some control over the behaviour of the hook through environment variables. The goal is to be able to better adapt to local installations, and to provide some insights of how it delegates work to be done to the underlying tools. A series of environment variables starting with PRE_COMMIT_HOOK_CSHARPIER are recognised and their use is described in the documentation.

The default behaviour is also slightly changed: the hook will first attempt to find and run dotnet-csharpier, will then attempt the same through dotnet csharpier and resort to using the Docker image last.

Full Changelog: v0.2.0...v0.3.0