Skip to content

Instantly share code, notes, and snippets.

@jakecobley
Last active April 29, 2020 15:53
Show Gist options
  • Save jakecobley/238ecf8c144f4401c8464d3b886b2e30 to your computer and use it in GitHub Desktop.
Save jakecobley/238ecf8c144f4401c8464d3b886b2e30 to your computer and use it in GitHub Desktop.
# Handle line endings automatically for files detected as text and leave all
# files detected as binary untouched. This will handle all files NOT defined
# below.
* text eol=lf
################################################################################
# Source Code
################################################################################
*.css text
*.html text
*.js text
*.json text
*.php text
*.scss text
*.sh text
*.vue text
*.yml text
################################################################################
# Configs
################################################################################
.browserlistrc text
.dockerignore text export-ignore
.editorconfig text export-ignore
.eslintignore text
.gitattributes text export-ignore
.gitignore text export-ignore
.keep text export-ignore
.npmignore text export-ignore
.npmrc text
.stylelintignore text
Dockerfile text
package-lock.json text -diff export-ignore
################################################################################
# Documentation
################################################################################
*.md text
LICENCE text
################################################################################
# Audio
################################################################################
*.mp3 binary
################################################################################
# Fonts
################################################################################
*.woff binary
*.woff2 binary
################################################################################
# Graphics
################################################################################
*.gif binary
*.ico binary
*.jpeg binary
*.png binary
*.svg text
*.webp binary
################################################################################
# Video
################################################################################
*.mp4 binary
*.webm binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment