-
Notifications
You must be signed in to change notification settings - Fork 13
/
.gitattributes
57 lines (52 loc) · 2.45 KB
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
## GITATTRIBUTES
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Reference: https://git-scm.com/docs/gitattributes
# GitHub Linguist: https://github.com/github-linguist/linguist/blob/master/docs/overrides.md
######################################################################
# Auto detect text files and perform LF normalization
* text=auto
# Always perform LF normalization
*.dart text
*.gradle text
*.go text
*.html text
*.java text
*.js text
*.json text linguist-language=JSON-with-Comments
*.md text
*.sh text
*.ts text
*.txt text
*.xml text
*.yaml text
# Make sure that these Windows files always have CRLF line endings at checkout
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.rc text eol=crlf
*.sln text eol=crlf
*.props text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
# Including templates
*.sln.tmpl text eol=crlf
*.props.tmpl text eol=crlf
*.vcxproj.tmpl text eol=crlf
## Platform files generated by Flutter during `flutter create`
**/example/android/** linguist-generated
**/example/ios/** linguist-generated
**/example/linux/** linguist-generated
**/example/macos/** linguist-generated
**/example/windows/** linguist-generated
## Exclude flutter generated web files without excluding web files from
## non-flutter dart example apps
**/example/web/icons/** linguist-generated
**/example/web/*.json linguist-generated
**/example/web/*.png linguist-generated
## Generated Dart files
**/*.g.dart linguist-generated
**/*.ffi.dart linguist-generated