ci: add prettier to pre-commit

(cherry picked from commit 2c16036ef3)
This commit is contained in:
barredterra
2024-02-29 17:08:25 +01:00
committed by Ankush Menat
parent 2e45a3f491
commit c46be27e9e
3 changed files with 55 additions and 2 deletions

View File

@@ -9,6 +9,13 @@ trim_trailing_whitespace = true
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