Skip to content

Commit

Permalink
Add editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblum committed Mar 28, 2016
1 parent 9f948a0 commit e09c361
Show file tree
Hide file tree
Showing 2 changed files with 32 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

[*]
indent_style = space
indent_size = 2

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8

[*.py]
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

[**.html]
max_char = 78
brace_style = expand
8 changes: 8 additions & 0 deletions docs/source/contributing.rst
Expand Up @@ -23,6 +23,14 @@ If you've written code that fixes an issue, `create a pull request
<https://help.github.com/articles/creating-a-pull-request/>`_ (PR) so it's easy
for us to incorporate your changes.

Setting up for Development
####################

We have a `.editorconfig` specified in the top level providing editor defaults
for our code style. We recommend to install an `EditorConfig
plugin<http://editorconfig.org/#download>`_ so your editor automatically adheres to our
style :).

Development Workflow
####################

Expand Down

0 comments on commit e09c361

Please sign in to comment.