Skip to content

Commit

Permalink
Trying gitattributes web file
Browse files Browse the repository at this point in the history
As suggested here: https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes

This should help us be more specific about which files to handle which way so our lint rules don't blow up.
  • Loading branch information
Kevin Brown committed Jan 11, 2018
1 parent 839ed90 commit 36e9187
Showing 1 changed file with 139 additions and 1 deletion.
140 changes: 139 additions & 1 deletion .gitattributes
@@ -1 +1,139 @@
*.coffee,*.conf,*.css,*.html,*.js,*.markdown,*.md,*.mdown,*.py,*.sh,*.txt,*.xml,*.yml,*.yaml text eol=lf
## AUTO-DETECT
## 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=auto

## CODE
*.coffee text eol=lf
*.conf text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.py text eol=lf
*.sh text eol=lf
*.xml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf

## DOCUMENTATION
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

## LINTERS
.csslintrc text
.eslintrc text
.htmlhintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## CONFIGS
*.bowerrc text
*.cnf text
*.conf text
*.config text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.gitignore text
.htaccess text
*.npmignore text

## GRAPHICS
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

## AUDIO
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## VIDEO
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

## ARCHIVES
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## FONTS
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

## EXECUTABLES
*.exe binary
*.pyc binary
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

0 comments on commit 36e9187

Please sign in to comment.