.editorconfig 1.2 KB
Newer Older
Harry Glatz's avatar
Harry Glatz committed
1 2 3 4 5 6 7
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
Boris Schauer's avatar
Boris Schauer committed
8
charset = utf-8
Harry Glatz's avatar
Harry Glatz committed
9 10
end_of_line = lf
insert_final_newline = true
Boris Schauer's avatar
Boris Schauer committed
11
trim_trailing_whitespace = true
Harry Glatz's avatar
Harry Glatz committed
12 13 14

# CSS-Files
[*.css]
Boris Schauer's avatar
Boris Schauer committed
15
indent_style = tab
Harry Glatz's avatar
Harry Glatz committed
16 17 18 19
indent_size = 4

# HTML-Files
[*.html]
Boris Schauer's avatar
Boris Schauer committed
20 21
indent_style = tab
indent_size = 2
Harry Glatz's avatar
Harry Glatz committed
22 23 24

# TMPL-Files
[*.tmpl]
Boris Schauer's avatar
Boris Schauer committed
25
indent_style = tab
Harry Glatz's avatar
Harry Glatz committed
26 27
indent_size = 4

Boris Schauer's avatar
Boris Schauer committed
28 29
# SCSS-Files
[*.scss]
Harry Glatz's avatar
Harry Glatz committed
30 31 32 33 34 35
indent_style = space
indent_size = 4

# JS-Files
[*.js]
indent_style = space
Boris Schauer's avatar
Boris Schauer committed
36 37 38 39 40
indent_size = 2

# JSON-Files
[*.json]
indent_style = tab
Harry Glatz's avatar
Harry Glatz committed
41 42 43 44 45 46 47
indent_size = 4

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

Boris Schauer's avatar
Boris Schauer committed
48 49 50 51 52
# ReST-Files
[*.rst]
indent_style = space
indent_size = 3

Harry Glatz's avatar
Harry Glatz committed
53 54 55 56 57
# MD-Files
[*.md]
indent_style = space
indent_size = 4

Boris Schauer's avatar
Boris Schauer committed
58 59
# YAML-Files
[{*.yaml,*.yml}]
Harry Glatz's avatar
Harry Glatz committed
60
indent_style = space
Boris Schauer's avatar
Boris Schauer committed
61
indent_size = 2
Harry Glatz's avatar
Harry Glatz committed
62

Boris Schauer's avatar
Boris Schauer committed
63 64 65 66
# package.json
# .travis.yml
# bower.json
[{package.json,.travis.yml,bower.json}]
Harry Glatz's avatar
Harry Glatz committed
67 68
indent_style = space
indent_size = 2
Boris Schauer's avatar
Boris Schauer committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89

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

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

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