prettier: also format json

This commit is contained in:
Jörg Thalheim
2024-12-10 13:45:46 +01:00
committed by Mic92
parent 96773c3ccc
commit 012969cb68
4 changed files with 10 additions and 5 deletions

View File

@@ -13,6 +13,8 @@
treefmt.programs.deadnix.enable = true;
treefmt.settings.global.excludes = [
"*.png"
"*.svg"
"package-lock.json"
"*.jpeg"
"*.gitignore"
".vscode/*"
@@ -24,6 +26,10 @@
"*.age"
"*.list"
"*.desktop"
# ignore symlink
"docs/site/manual/contribute.md"
"*_test_cert"
"*_test_key"
];
treefmt.programs.prettier = {
enable = true;
@@ -32,6 +38,7 @@
"*.css"
"*.html"
"*.js"
"*.json"
"*.json5"
"*.jsx"
"*.mdx"