From 431f9aca40b52b4e92eeb3da70b5f33b89702c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rique=20Mittelstaedt?= Date: Sat, 19 Oct 2019 23:47:22 +0100 Subject: [PATCH] update .editorconfig --- .editorconfig | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.editorconfig b/.editorconfig index de40696..212faac 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,31 +7,23 @@ end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +printWidth = 80 -[*.{ts,tsx,js,jsx,json}] -indent_size = 4 +[*.{ts,tsx,js,jsx,json,json5}] curly_bracket_next_line = true spaces_around_operators = true spaces_around_brackets = outside indent_brace_style = K&R -max_line_length = 120 -[{package.json,.travis.yml}] -indent_size = 2 +[*.{ts,js}] +max_line_length = 80 -# XML Project Files -[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}] -indent_size = 2 +[*.{tsx,jsx}] +max_line_length = 120 + +[*.{json,json5}] +max_line_length = 120 # Markdown Files [*.md] trim_trailing_whitespace = false - -# Web Files -[*.{htm,html,css,scss,less}] -indent_size = 2 -insert_final_newline = true - -# Bash Files -[*.sh] -end_of_line = lf