Skip to content

Commit

Permalink
[FEATURE] Add EditorConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkln committed May 18, 2017
1 parent a149050 commit e9da06f
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions .editorconfig
@@ -0,0 +1,92 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# CSS-Files
[*.css]
indent_style = tab
indent_size = 4

# HTML-Files
[*.html]
indent_style = tab
indent_size = 2

# TMPL-Files
[*.tmpl]
indent_style = tab
indent_size = 4

# SCSS-Files
[*.scss]
indent_style = space
indent_size = 4

# JS-Files
[*.js]
indent_style = tab
indent_size = 4

# JSON-Files
[*.json]
indent_style = tab
indent_size = 4

# PHP-Files
[*.php]
indent_style = space
indent_size = 4

# ReST-Files
[*.rst]
indent_style = space
indent_size = 3

# MD-Files
[*.md]
indent_style = space
indent_size = 4

# YAML-Files
[{*.yaml,*.yml}]
indent_style = space
indent_size = 2

# package.json
# .travis.yml
# bower.json
[{package.json,.travis.yml,bower.json}]
indent_style = space
indent_size = 2

# TypoScript
[*.ts]
indent_style = space
indent_size = 4
[*.t3s]
indent_style = space
indent_size = 4
[*.typoscript]
indent_style = space
indent_size = 4
[*.tsconfig]
indent_style = space
indent_size = 4

# XLF-Files
[*.xlf]
indent_style = tab
indent_size = 4

# SQL-Files
[*.sql]
indent_style = tab
indent_size = 2

0 comments on commit e9da06f

Please sign in to comment.