Skip to content

H:5. EditorConfig

Cody Brunner edited this page Mar 12, 2017 · 1 revision

It is also a wise idea to add a .editorconfig file so anyone forking or pulling off your project will not be dealing with the crisis affecting our great nation:

Tabs or spaces?

For more information: EditorConfig

Yellow-Stone:picnic-basket-generator yogibear$ touch .editorconfig

.editorconfig

root = true

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

[*.md]
trim_trailing_whitespace = true