UNPKG

1.45 kBPlain TextView Raw
1# From https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
2
3# Handle line endings automatically for files detected as text
4# and leave all files detected as binary untouched.
5* text=auto
6
7#
8# The above will handle all files NOT found below
9#
10
11#
12## These files are text and should be normalized (Convert crlf => lf)
13#
14
15# source code
16*.php text
17*.css text
18*.sass text
19*.scss text
20*.less text
21*.styl text
22*.js text eol=lf
23*.coffee text
24*.json text
25*.htm text
26*.html text
27*.xml text
28*.svg text
29*.txt text
30*.ini text
31*.inc text
32*.pl text
33*.rb text
34*.py text
35*.scm text
36*.sql text
37*.sh text
38*.bat text
39
40# templates
41*.ejs text
42*.hbt text
43*.jade text
44*.haml text
45*.hbs text
46*.dot text
47*.tmpl text
48*.phtml text
49
50# server config
51.htaccess text
52
53# git config
54.gitattributes text
55.gitignore text
56.gitconfig text
57
58# code analysis config
59.jshintrc text
60.jscsrc text
61.jshintignore text
62.csslintrc text
63
64# misc config
65*.yaml text
66*.yml text
67.editorconfig text
68
69# build config
70*.npmignore text
71*.bowerrc text
72
73# Heroku
74Procfile text
75.slugignore text
76
77# Documentation
78*.md text
79LICENSE text
80AUTHORS text
81
82
83#
84## These files are binary and should be left untouched
85#
86
87# (binary is a macro for -text -diff)
88*.png binary
89*.jpg binary
90*.jpeg binary
91*.gif binary
92*.ico binary
93*.mov binary
94*.mp4 binary
95*.mp3 binary
96*.flv binary
97*.fla binary
98*.swf binary
99*.gz binary
100*.zip binary
101*.7z binary
102*.ttf binary
103*.eot binary
104*.woff binary
105*.pyc binary
106*.pdf binary