Skip to content

Commit 0db2e67

Browse files
authored
Merge pull request #395 from andrew-scott-fischer/fix-default-prettier-defaults
Changing files is consistent with other formatting pre-commit hooks (prettier)
2 parents 7c54e08 + d8430c2 commit 0db2e67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/hooks.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,13 +744,13 @@ in
744744
mkOption {
745745
description = lib.mdDoc "Output a human-friendly message and a list of unformatted files, if any.";
746746
type = types.bool;
747-
default = true;
747+
default = false;
748748
};
749749
list-different =
750750
mkOption {
751751
description = lib.mdDoc "Print the filenames of files that are different from Prettier formatting.";
752752
type = types.bool;
753-
default = false;
753+
default = true;
754754
};
755755
color =
756756
mkOption {
@@ -800,7 +800,7 @@ in
800800
mkOption {
801801
description = lib.mdDoc "Ignore unknown files.";
802802
type = types.bool;
803-
default = false;
803+
default = true;
804804
};
805805
insert-pragma =
806806
mkOption {
@@ -933,7 +933,7 @@ in
933933
mkOption {
934934
description = lib.mdDoc "Edit files in-place.";
935935
type = types.bool;
936-
default = false;
936+
default = true;
937937
};
938938
};
939939
psalm =

0 commit comments

Comments
 (0)