.editorconfig 1.16 KB
Newer Older
Jens Jacobsen's avatar
Jens Jacobsen 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
[*]
8
charset = utf-8
Jens Jacobsen's avatar
Jens Jacobsen committed
9 10
end_of_line = lf
insert_final_newline = true
11
trim_trailing_whitespace = true
Jens Jacobsen's avatar
Jens Jacobsen committed
12 13 14

# CSS-Files
[*.css]
15
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
16 17 18 19
indent_size = 4

# HTML-Files
[*.html]
20 21
indent_style = space
indent_size = 4
Jens Jacobsen's avatar
Jens Jacobsen committed
22 23 24

# TMPL-Files
[*.tmpl]
25
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
26 27
indent_size = 4

28 29 30
# SCSS-Files
[*.scss]
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
31 32 33 34
indent_size = 4

# JS-Files
[*.js]
35
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
36 37 38 39
indent_size = 4

# JSON-Files
[*.json]
40
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
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

63 64 65 66
# package.json
# .travis.yml
# bower.json
[{package.json,.travis.yml,bower.json}]
Jens Jacobsen's avatar
Jens Jacobsen committed
67
indent_style = space
68
indent_size = 4
Jens Jacobsen's avatar
Jens Jacobsen committed
69 70 71 72

# TypoScript
[*.ts]
indent_style = space
73 74 75 76
indent_size = 4
[*.typoscript]
indent_style = space
indent_size = 4
Jens Jacobsen's avatar
Jens Jacobsen committed
77 78 79

# XLF-Files
[*.xlf]
80
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
81 82 83 84
indent_size = 4

# SQL-Files
[*.sql]
85
indent_style = space
Jens Jacobsen's avatar
Jens Jacobsen committed
86
indent_size = 2