Skip to content

Commit

Permalink
Introduce .editorconfig (#149)
Browse files Browse the repository at this point in the history
.editorconfig will allow maintaining consistent coding style across
various text editors and IDEs
  • Loading branch information
Akshay Birajdar authored and pranavrajs committed Oct 16, 2019
1 parent 4bb6842 commit 59e9fbd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
@@ -0,0 +1,14 @@
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# @see http://editorconfig.org
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = spaces
tab_width = 2

[{*.{rb,erb,js,coffee,json,yml,css,scss,sh,markdown,md,html}]
indent_size = 2

0 comments on commit 59e9fbd

Please sign in to comment.