chore: add .gitattributes for line endings and export-ignore rules
This file sets default behavior for line endings and specifies files to exclude from Composer package archives.
This commit is contained in:
parent
92b8a7b7f1
commit
839b092b24
1 changed files with 22 additions and 0 deletions
22
.gitattributes
vendored
Normal file
22
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Set default behavior for line endings and diffs
|
||||
* text=auto eol=lf
|
||||
*.php text diff=php
|
||||
|
||||
# Exclude dev, test, and CI files from Composer package archives (git archive)
|
||||
/.editorconfig export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/.gitlab-ci.yml export-ignore
|
||||
/.github export-ignore
|
||||
/.vscode export-ignore
|
||||
|
||||
/build export-ignore
|
||||
/tests export-ignore
|
||||
|
||||
/phpcs.xml export-ignore
|
||||
/phpcs.xml.dist export-ignore
|
||||
/phpstan.neon export-ignore
|
||||
/phpstan.neon.dist export-ignore
|
||||
/phpunit.xml export-ignore
|
||||
/phpunit.xml.dist export-ignore
|
||||
/pint.json export-ignore
|
||||
Loading…
Add table
Reference in a new issue