add editorconfig (#36)

This commit is contained in:
Smirnov Oleksandr 2023-07-17 18:32:24 +03:00 committed by GitHub
parent 9d6bc761d4
commit 94250bb08a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.editorconfig Normal file
View file

@ -0,0 +1,17 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace=true
charset = utf-8
max_line_length = 120
[*.{lua,vim}]
max_line_length = 100
indent_size = 2
[*.{md,yml,yaml,toml}]
indent_size = 2