More granular editorconfig, fixes trailing whitespace for mail

main
Steffen Rademacker 7 years ago
parent 0744a2b8d0
commit 177b92dc7c

@ -4,10 +4,12 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.{php,css,scss,sass,js,json,jsx,tmpl,html,haml,twig,yml,svg}]
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true
[*.{md,rst,txt,csv}] [*.{md,markdown,rst,txt,csv,snip,mail}]
trim_trailing_whitespace = false trim_trailing_whitespace = false

Loading…
Cancel
Save