mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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.
26 lines
381 B
INI
26 lines
381 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{sh,py,pyi,js,json,yml,xml,css,md,markdown,handlebars,html}]
|
|
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
|
|
|
|
[*.{cfg}]
|
|
indent_style = space
|
|
indent_size = 8
|