add djlint and editor config and assoc. settings

This commit is contained in:
jalensailin
2025-07-18 22:47:29 -04:00
parent 0480a7ac6c
commit 161158d9f6
4 changed files with 32 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
{
"profile": "handlebars",
"format_attribute_template_tags": true,
"max_line_length": "100",
"max_blank_lines": 1,
"use_gitignore": true,
"custom_blocks": "unless,if,else,if_eq,if_not_eq"
}
+8
View File
@@ -0,0 +1,8 @@
# Two spaces:
root = true
indent_style = space
indent_size = 2
# four spaces for html files
[*.{html}]
indent_size = 4
+7 -1
View File
@@ -1,4 +1,10 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"],
// eslint, prettier, djlint, editorconfig
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"monosans.djlint",
"EditorConfig.EditorConfig"
],
"unwantedRecommendations": []
}
+9 -1
View File
@@ -1,5 +1,13 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"cSpell.words": ["deltagreen", "Hypergeometry"]
"cSpell.words": ["deltagreen", "Hypergeometry"],
"files.associations": {
"*.html": "handlebars"
},
"[handlebars]": {
"editor.defaultFormatter": "monosans.djlint"
}
}