Skip to content

Commit 8f9d765

Browse files
author
Sven Wappler
committed
add .editorconfig
1 parent 70145fe commit 8f9d765

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.editorconfig

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_style = space
11+
indent_size = 4
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
# TS/JS-Files
16+
[*.{ts,js}]
17+
indent_size = 2
18+
19+
# JSON-Files
20+
[*.json]
21+
indent_style = tab
22+
23+
# ReST-Files
24+
[*.rst]
25+
indent_size = 3
26+
max_line_length = 80
27+
28+
# YAML-Files
29+
[*.{yaml,yml}]
30+
indent_size = 2
31+
32+
# package.json
33+
[package.json]
34+
indent_size = 2
35+
36+
# TypoScript
37+
[*.{typoscript,tsconfig}]
38+
indent_size = 2
39+
40+
# XLF-Files
41+
[*.xlf]
42+
indent_style = tab
43+
44+
# SQL-Files
45+
[*.sql]
46+
indent_style = tab
47+
indent_size = 2
48+
49+
# .htaccess
50+
[{_.htaccess,.htaccess}]
51+
indent_style = tab

0 commit comments

Comments
 (0)