Improve automatic formatting
This commit is contained in:
parent
62ed33c82c
commit
a45c032180
1 changed files with 14 additions and 0 deletions
|
@ -19,7 +19,21 @@
|
||||||
flakeCheck = true;
|
flakeCheck = true;
|
||||||
programs = {
|
programs = {
|
||||||
nixfmt.enable = true;
|
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 = {
|
pre-commit.settings = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue