Skip to content

Commit

Permalink
Addition of .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Dec 15, 2016
1 parent 44e6903 commit 217e322
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .editorconfig
@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-

root = true

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

# Python files
[*.py]
indent_size = 4
# isort plugin configuration
known_first_party = flask_security
multi_line_output = 2
default_section = THIRDPARTY

# RST files (used by sphinx)
[*.rst]
indent_size = 4

# CSS, HTML, JS, JSON, YML
[*.{css,html,js,json,yml}]
indent_size = 2

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

# Dockerfile
[Dockerfile]
indent_size = 4

0 comments on commit 217e322

Please sign in to comment.