Skip to content

Commit b68b528

Browse files
committed
chore: Update .gitattributes and .gitignore; add .editorconfig
1 parent 099a049 commit b68b528

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.yaml]
12+
indent_size = 2
13+
14+
[*.yml]
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false
19+
20+
[Makefile]
21+
indent_style = tab

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text=auto
1+
* text=auto eol=lf
22

33
/.* export-ignore
44
/tests export-ignore

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/.*
22
!/.github/
33
!/.php-cs-fixer.dist.php
4+
!/.editorconfig
45
/runtime/
56
/vendor/
67
/.env

0 commit comments

Comments
 (0)