aegis41 / image-viewer

A javascript solution to displaying images in a list
0 stars 0 forks source link

Add .editorconfig file for consistent coding styles #10

Open frekyll opened 8 years ago

frekyll commented 8 years ago

This will help define and maintain consistent coding styles between us. If you think this is a good idea, you'll need to download a plugin for Sublime here: https://github.com/sindresorhus/editorconfig-sublime

Here's the EditorConfig documentation: http://editorconfig.org/

frekyll commented 8 years ago

Here's my suggestion for our configuration. Real basic and would help keep things tidy between our editors.

# editorconfig.org

root = true

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

[*.md]
trim_trailing_whitespace = false
aegis41 commented 8 years ago

I'll have to sort out how to manage projects in my Sublimetext. . .but this looks good for me. It may be a minute before I can completely implement it