Improve automatic formatting

This commit is contained in:
Andrea Ciceri 2024-12-18 14:58:20 +01:00
parent 62ed33c82c
commit a45c032180
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -19,7 +19,21 @@
flakeCheck = true;
programs = {
nixfmt.enable = true;
prettier.enable = true;
black.enable = true;
shfmt.enable = true;
};
settings.global.excludes = [
"*.age"
"*.svg"
"*.png"
"*.jpg"
"*.bin"
"*.el"
"*.org"
".envrc"
"*.conf"
];
};
pre-commit.settings = {