Open
Description
Describe the bug
If I enable the hooks:
git-hooks.hooks = {
pretty-format-json.enable = true;
check-json.enable = true;
};
It will detect unformatted json but the file is not formatted after run.
To reproduce
Do what is in the description with any unformatted json.
If you change settings.autofix = true
then it will behave as the original pre-commit hook.
In my opinion this should should not exist and be always true
, it is false
by default but a formatter is useless if it is not autofixing.
Version
devenv 1.6.1