Skip to content

Commit c198934

Browse files
authored
Init editor config (#219)
Copied from Sylius 2.0
2 parents fb523c0 + 9ddd01e commit c198934

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

.editorconfig

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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 = 4
21+
22+
[*.js]
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.json]
27+
indent_style = space
28+
indent_size = 2
29+
30+
[*.md]
31+
indent_style = space
32+
indent_size = 4
33+
trim_trailing_whitespace = false
34+
35+
[*.neon]
36+
indent_style = space
37+
indent_size = 4
38+
39+
[*.php]
40+
indent_style = space
41+
indent_size = 4
42+
43+
[*.sh]
44+
indent_style = space
45+
indent_size = 4
46+
47+
[*.{yaml,yml}]
48+
indent_style = space
49+
indent_size = 4
50+
trim_trailing_whitespace = false
51+
52+
[.babelrc]
53+
indent_style = space
54+
indent_size = 2
55+
56+
[.gitmodules]
57+
indent_style = tab
58+
indent_size = 4
59+
60+
[.php_cs{,.dist}]
61+
indent_style = space
62+
indent_size = 4
63+
64+
[composer.json]
65+
indent_style = space
66+
indent_size = 4
67+
68+
[package.json]
69+
indent_style = space
70+
indent_size = 2
71+
72+
[phpspec.yml{,.dist}]
73+
indent_style = space
74+
indent_size = 4
75+
76+
[phpstan.neon]
77+
indent_style = space
78+
indent_size = 4
79+
80+
[phpunit.xml{,.dist}]
81+
indent_style = space
82+
indent_size = 4

0 commit comments

Comments
 (0)