WordPress-Coding-Standards/.gitattributes
jrfnl b8777606dd
GH Actions: add Yamllint to QA basics
... to loosely safeguard valid and consistent yaml files.

Includes adding a configuration file which loosens up the default ruleset to a degree I'm comfortable with.

Includes minor tweaks to fix the existing yml files.

Ref: https://yamllint.readthedocs.io/
2023-08-21 22:23:55 +02:00

32 lines
934 B
Text

#
# Exclude these files from release archives.
# This will also make them unavailable when using Composer with `--prefer-dist`.
# If you develop for WordPressCS using Composer, use `--prefer-source`.
# https://blog.madewithlove.be/post/gitattributes/
#
/.gitattributes export-ignore
/.gitignore export-ignore
/.codecov.yml export-ignore
/.phpcs.xml.dist export-ignore
/.remarkignore export-ignore
/.remarkrc export-ignore
/.yamllint.yml export-ignore
/CODE_OF_CONDUCT.md export-ignore
/phpstan.neon.dist 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