Enforce consistent coding styles across different IDEs

This commit is contained in:
Wilson Silva 2023-01-06 10:12:31 +07:00
parent b3306b7a9e
commit 829b751cf0
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8
1 changed files with 11 additions and 0 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
# 2 space indentation
[*.rb]
indent_style = space
indent_size = 2