← Каталог
Рекомендации по разработке на Ruby — EditorConfig
Фрагмент из «Рекомендации по разработке на Ruby»: EditorConfig.
# .editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.rb]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false # .editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.rb]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false