WordPress-Coding-Standards/.gitattributes
jrfnl f04d9d6282
.gitattributes: minor update
Verified against the latest status of the repo (removed `bin` dir ref).

Includes improving readability.
2023-07-23 18:34:01 +02:00

27 lines
757 B
Text

#
# Exclude these files from release archives.
# This will also make them unavailable when using Composer with `--prefer-dist`.
# If you develop for WPCS using Composer, use `--prefer-source`.
# https://blog.madewithlove.be/post/gitattributes/
#
/.gitattributes export-ignore
/.gitignore export-ignore
/.phpcs.xml.dist export-ignore
/CODE_OF_CONDUCT.md export-ignore
/phpunit.xml.dist export-ignore
/.github export-ignore
/Tests export-ignore
/WordPress/Tests export-ignore
#
# Auto detect text files and perform LF normalization
# https://pablorsk.medium.com/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
#
* text=auto
#
# The above will handle all files NOT found below
#
*.md text
*.php text
*.inc text