Skip to content

Commit

Permalink
Merge pull request #220 from Nielsvanpach/cleanup
Browse files Browse the repository at this point in the history
Add .gitattributes & .editorconfig
  • Loading branch information
mr-feek authored Feb 17, 2022
2 parents 7c700c1 + 209a65d commit 7123b78
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html

# Ignore all test and documentation with "export-ignore".
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.php_cs.xml export-ignore
/codeception.yml export-ignore
/psalm.xml export-ignore
/psalm-baseline.xml export-ignore
/UPGRADING.md export-ignore

0 comments on commit 7123b78

Please sign in to comment.