ci: add prettier to pre-commit

This commit is contained in:
barredterra
2024-02-29 17:08:25 +01:00
committed by Ankush Menat
parent b0fcb014c1
commit 2c16036ef3
3 changed files with 27 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