commit | 2c16036ef3f2ebf6a707b5ae8fa486fa102bc1dc | [log] [tgz] |
---|---|---|
author | barredterra <14891507+barredterra@users.noreply.github.com> | Thu Feb 29 17:08:25 2024 +0100 |
committer | Ankush Menat <ankush@frappe.io> | Sun Mar 10 19:45:18 2024 +0530 |
tree | 3b7e4034e21550eb9cb55a42199ca876a76b83fd | |
parent | b0fcb014c16d9a38aef1c40bbd41f7f0ff0c56bf [diff] [blame] |
ci: add prettier to pre-commit
diff --git a/.editorconfig b/.editorconfig index 24f122a..e7d5cfe 100644 --- a/.editorconfig +++ b/.editorconfig
@@ -9,6 +9,13 @@ charset = utf-8 # python, js indentation settings -[{*.py,*.js}] +[{*.py,*.js,*.vue,*.css,*.scss,*.html}] indent_style = tab indent_size = 4 +max_line_length = 110 + +# JSON files - mostly doctype schema files +[{*.json}] +insert_final_newline = false +indent_style = space +indent_size = 2