* ci: add prettier to pre-commit
(cherry picked from commit 2c16036ef3)
* style: format js files
---------
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
22 lines
407 B
INI
22 lines
407 B
INI
# Root editor config file
|
|
root = true
|
|
|
|
# Common settings
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
|
|
# python, js indentation settings
|
|
[{*.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
|