
# auto detect text files and perform LF normalization
* text eol=lf

# text
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx   diff=astextplain
*.DOCX   diff=astextplain
*.dot    diff=astextplain
*.DOT    diff=astextplain
*.pdf    diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain
*.svg    diff=astextplain
*.SVG    diff=astextplain

# binary
*.z binary
*.xls binary
*.xlsx binary
*.png binary
*.jpg binary
*.ico binary
*.gif binary
*.gz binary
*.gzip binary
*.bz2 binary
*.pdf binary
*.jar binary

# fonts
*.eot binary
*.EOT binary
*.ttf binary
*.TTF binary
*.woff binary
*.WOFF binary
*.woff2 binary
*.WOFF2 binary

# Custom for Visual Studio
*.cs     diff=csharp


# Files excluded from git packages
tests/ export-ignore
.github/ export-ignore
.coveralls.yml export-ignore
.gitignore export-ignore
.gitattributes export-ignore
.gitmodules export-ignore
.git-blame-ignore-revs export-ignore
.phpstorm.meta.php export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
.stylelintrc.json export-ignore
PULL_REQUEST_TEMPLATE export-ignore

# Linguist: language statistics
# + test resources: exclude
plugins/*/tests/System/expected/** -linguist-detectable
plugins/*/tests/System/resources/** -linguist-detectable
plugins/*/tests/UI/expected-screenshots/** -linguist-detectable
tests/resources/** -linguist-detectable
tests/PHPUnit/System/expected/** -linguist-detectable
tests/UI/expected-screenshots/** -linguist-detectable
# + generated code: exclude and suppress in diffs
*.min.css linguist-generated
*.min.js linguist-generated
/matomo.js linguist-generated
/piwik.js linguist-generated
plugins/*/vue/dist/** linguist-generated
plugins/Intl/lang/* linguist-generated
# + vendor code: exclude
libs/** linguist-vendored
node_modules/** linguist-vendored
plugins/*/libs/** linguist-vendored
tests/lib/** linguist-vendored
tests/javascript/assets/** linguist-vendored
tests/javascript/frameworks/** linguist-vendored
tests/javascript/jash/** linguist-vendored
tests/javascript/jslint/** linguist-vendored
