Skip to content

Commit c0736de

Browse files
authoredMar 27, 2022
Add max line length setting to .editorconfig (apache#22540)
Right now, there is no explicit settings for max line width, so often error is only detected when pre-commit hook is executed. Adding explicit setting helps to mitigate this issue earlier
1 parent 352d7f7 commit c0736de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ charset = utf-8
2626

2727
[*.py]
2828
indent_size = 4
29+
max_line_length = 110
2930

3031
[*.sh]
3132
indent_size = 4
@@ -44,6 +45,7 @@ indent_size = 2
4445

4546
[*.{yml,yaml}]
4647
indent_size = 2
48+
max_line_length = 110
4749

4850
[*.{htm,html}]
4951
indent_size = 2

0 commit comments

Comments
 (0)