diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f628c61 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +# +# Exclude these files from release archives. +# +# This will also make the files unavailable when using Composer with `--prefer-dist`. +# +# Via WPCS. +# +/.github export-ignore +/phpunit.xml export-ignore +/tests export-ignore + +# +# Auto detect text files and perform LF normalization. +# +# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ +# +* text=auto + +# +# The above will handle all files not found below. +# +*.md text +*.php text +*.inc text