# Set the default behavior, in case people don't have `core.autocrlf` set. * text=auto eol=lf # Windows bat files in mobile/android. *.bat -text # Denote all files that are truly binary and should not be modified. *.aar binary *.gif binary *.jar binary *.jpg binary *.png binary *.ttf binary # Directories with vendored code. packages/edit-site/lib/** linguist-vendored # The changelog.txt file is authored as markdown. changelog.txt linguist-language=Markdown # Flag docs directory as documentation for GitHub stats. docs/** linguist-documentation # TSConfig files use jsonc. tsconfig*.json linguist-language=jsonc # PHPStan stub files are PHP. *.stub linguist-language=PHP diff=php # Generated files. GitHub collapses their diffs in pull requests, and # tools/review-routing leaves their diffs out. GitHub already collapses # lockfiles, but other tools only see what this file lists. package-lock.json linguist-generated=true packages/theme/src/prebuilt/** linguist-generated=true **/__snapshots__/** linguist-generated=true