Skip to content

Commit b46082c

Browse files
Add .editorconfig
1 parent fc969df commit b46082c

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

.editorconfig

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
# Change these settings to your own preference
9+
indent_style = space
10+
indent_size = 4
11+
12+
# We recommend you to keep these unchanged
13+
end_of_line = lf
14+
charset = utf-8
15+
trim_trailing_whitespace = true
16+
insert_final_newline = true
17+
18+
[*.feature]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[*.js]
23+
indent_style = space
24+
indent_size = 4
25+
26+
[*.json]
27+
indent_style = space
28+
indent_size = 4
29+
30+
[*.md]
31+
trim_trailing_whitespace = false
32+
33+
[*.php]
34+
indent_style = space
35+
indent_size = 4
36+
37+
[*.scss]
38+
indent_style = space
39+
indent_size = 2
40+
41+
[*.sh]
42+
indent_style = tab
43+
indent_size = 4
44+
45+
[*.vcl]
46+
indent_style = space
47+
indent_size = 2
48+
49+
[*.xml]
50+
indent_style = space
51+
indent_size = 4
52+
53+
[*.{yaml,yml}]
54+
indent_style = space
55+
indent_size = 2
56+
trim_trailing_whitespace = false
57+
58+
[.github/workflows/*.yml]
59+
indent_style = space
60+
indent_size = 2
61+
62+
[.gitmodules]
63+
indent_style = tab
64+
indent_size = 4
65+
66+
[*.neon{,.dist}]
67+
indent_style = tab
68+
indent_size = 4
69+
70+
[.php_cs{,.dist}]
71+
indent_style = space
72+
indent_size = 4
73+
74+
[composer.json]
75+
indent_style = space
76+
indent_size = 4
77+
78+
[docker-compose{,.*}.{yaml,yml}]
79+
indent_style = space
80+
indent_size = 2
81+
82+
[Dockerfile]
83+
indent_style = tab
84+
indent_size = 4
85+
86+
[Makefile]
87+
indent_style = tab
88+
indent_size = 4
89+
90+
[package.json]
91+
indent_style = space
92+
indent_size = 2
93+
94+
[phpunit.xml{,.dist}]
95+
indent_style = space
96+
indent_size = 4

0 commit comments

Comments
 (0)