Skip to content

Commit 109a7a1

Browse files
committed
chore: add .editorconfig and .gitattributes [skip ci]
1 parent bc603c0 commit 109a7a1

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at https://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
17+
[*.{yml,yaml}]
18+
indent_size = 2

.gitattributes

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Path-based git attributes
2+
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+
# Ignore all test and documentation with "export-ignore".
5+
/.ddev export-ignore
6+
/.editorconfig export-ignore
7+
/.gitattributes export-ignore
8+
/.github export-ignore
9+
/.gitignore export-ignore
10+
/.scrutinizer.yml export-ignore
11+
/PULL_REQUEST_TEMPLATE.md export-ignore
12+
/ISSUE_TEMPLATE.md export-ignore
13+
/phpstan.types.neon.dist export-ignore
14+
/phpunit.xml export-ignore
15+
/phpunit.xml.dist export-ignore
16+
/tests export-ignore
17+
/types export-ignore
18+
/docs export-ignore

0 commit comments

Comments
 (0)