cachix / git-hooks.nix

Seamless integration of https://pre-commit.com git hooks with Nix.
Apache License 2.0
533 stars 155 forks source link

hook(shfmt): add `simplify` toggle to settings #481

Closed sandydoo closed 3 months ago

sandydoo commented 3 months ago

Adapted from https://github.com/cachix/git-hooks.nix/pull/414#pullrequestreview-1971374622.

Adds hooks.shfmt.settings.simplify to toggle the -s flag. Set to true by default for backwards-compatibility.