Skip to content

Commit

Permalink
add .editorconfig matching CONTRIBUTING.md specs
Browse files Browse the repository at this point in the history
  • Loading branch information
leobauza authored and nhunzaker committed Mar 6, 2017
1 parent 93f558a commit d0083b0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
@@ -0,0 +1,24 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
max_line_length = 80

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Indentation override for all JS under lib directory
[src/**.js]
indent_style = space
indent_size = 2

# Matches the exact files either package.json or .circle.yml
[{package.json,.circle.yml}]
indent_style = space
indent_size = 2

0 comments on commit d0083b0

Please sign in to comment.