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.
This commit is contained in:
Yago González 2018-08-08 01:58:47 +02:00 committed by Tim Abbott
parent a8d0fdce64
commit c7a97e34fb
1 changed files with 6 additions and 0 deletions

View File

@ -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