From c7a97e34fb0797efcdd32409f2801c0e073e024a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Wed, 8 Aug 2018 01:58:47 +0200 Subject: [PATCH] editorconfig: Declare max line lengths for JS/Python code. 110 is what we enforce in Python code via our existing lint rules, and 120 is what we'd most realistically move the JS codebase to next. Make supported IDEs and text editors keep a maximum line length of 110 characters for most code files. --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.editorconfig b/.editorconfig index 66cf320f95..057417bb4e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,12 @@ insert_final_newline = true indent_style = space indent_size = 4 +[*.{py}] +max_line_length = 110 + +[*.{js}] +max_line_length = 120 + [*.{svg,rb,pp,pl}] indent_style = space indent_size = 2