0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/.editorconfig

32 lines
530 B
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
[Makefile]
indent_style = tab
[*.py]
charset = utf-8
indent_size = 4
max_line_length = 88
[*.js]
charset = utf-8
[*.{html,rst,md}]
indent_size = 4
[*.{js,ts,tsx,json,yml,yaml,css,scss}]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
# Make sure this file _doesnt_ end with a final newline. It breaks rendering.
[wagtail/admin/templates/wagtailadmin/shared/icon.html]
insert_final_newline = false