From 785fb3ffe9c2065d2d630ddb10c401d63a49452e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 11 Dec 2018 10:25:43 -0500 Subject: [PATCH] $ edx_lint write .editorconfig --- .editorconfig | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 84c59df1a6..84b955c018 100644 --- a/.editorconfig +++ b/.editorconfig @@ -58,11 +58,26 @@ insert_final_newline = true charset = utf-8 indent_style = space indent_size = 4 +max_line_length = 120 +trim_trailing_whitespace = true [{Makefile, *.mk}] indent_style = tab +indent_size = 8 -[{*.yml, *.yaml, *.json}] +[*.{yml,yaml,json}] indent_size = 2 -# e2776282f95423f221b17c09c4888883be77b437 +[*.js] +indent_size = 2 + +[*.diff] +trim_trailing_whitespace = false + +[.git/*] +trim_trailing_whitespace = false + +[*.rst] +max_line_length = 79 + +# a699cc442902ab24adc720ac080c00e9ee72f728