Skip to content

Build your personal knowledge base with Trilium Notes

chore(prettier): add override for json tabwitdth

Panagiotis Papadopoulos13feeb062640
diff --git a/.prettierrc b/.prettierrc
index da3a4a8e2e..32a5836632 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -10,5 +10,13 @@
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
- "endOfLine": "lf"
+ "endOfLine": "lf",
+ "overrides": [
+ {
+ "files": ["*.json"],
+ "options": {
+ "tabWidth": 2
+ }
+ }
+ ]
}