mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
a8d0fdce64
commit
c7a97e34fb
@@ -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
|
||||
|
Reference in New Issue
Block a user