Skip to content

Commit

Permalink
build(editorconfig): set max_line_length to 120 only for lua files
Browse files Browse the repository at this point in the history
Setting it for all filetypes is usually not correct. For example, git
commits are also affected by this option which makes 120 columns too
long.
  • Loading branch information
dundargoc committed Dec 1, 2024
1 parent 7b0a2f6 commit 883bd79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
root = true

[*]
max_line_length = 120
indent_style = space
indent_size = 2
tab_width = 8
end_of_line = lf
insert_final_newline = true
charset = utf-8

[*.lua]
max_line_length = 120

[{Makefile,**/Makefile,runtime/doc/*.txt}]
indent_style = tab
Expand Down

0 comments on commit 883bd79

Please sign in to comment.