-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.editorconfig
72 lines (57 loc) · 1.07 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# EditorConfig is awesome: http://EditorConfig.org
# TYPO3 Standard: https://github.com/TYPO3/coding-standards
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
# TS/JS-Files
[*.{ts,js}]
indent_size = 2
# JSON-Files
[*.json]
indent_style = tab
# ReST-Files
[*.{rst,rst.txt}]
indent_size = 3
max_line_length = 80
# YAML-Files
[*.{yaml,yml}]
indent_size = 2
# NEON-Files
[*.neon]
indent_size = 2
indent_style = tab
# package.json
[package.json]
indent_size = 2
# composer.json (Reason: git history in composer.json)
[composer.json]
indent_size = 2
indent_style = space
# TypoScript
[*.{typoscript,tsconfig}]
indent_size = 2
# XLF/XML-Files
[*.{xlf,xml}]
indent_style = tab
# HTML-Files
[*.html]
indent_size = 2
indent_style = tab
# SQL-Files
[*.sql]
indent_style = tab
indent_size = 2
# .htaccess
[{_.htaccess,.htaccess}]
indent_style = tab
# Bash scripts
[*.sh]
indent_style = space
indent_size = 2