Skip to content

Commit

Permalink
Add max line length setting to .editorconfig (apache#22540)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alexott authored Mar 27, 2022
1 parent 352d7f7 commit c0736de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ charset = utf-8

[*.py]
indent_size = 4
max_line_length = 110

[*.sh]
indent_size = 4
Expand All @@ -44,6 +45,7 @@ indent_size = 2

[*.{yml,yaml}]
indent_size = 2
max_line_length = 110

[*.{htm,html}]
indent_size = 2
Expand Down

0 comments on commit c0736de

Please sign in to comment.