add djlint and editor config and assoc. settings
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# Two spaces:
|
||||
root = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# four spaces for html files
|
||||
[*.{html}]
|
||||
indent_size = 4
|
||||
Vendored
+7
-1
@@ -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": []
|
||||
}
|
||||
|
||||
Vendored
+9
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user