-
Notifications
You must be signed in to change notification settings - Fork 249
/
.gitattributes
108 lines (93 loc) · 4.57 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
## 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
*.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
# Never perform LF normalization
*.ico binary
*.jar binary
*.png binary
*.zip binary
*.ttf binary
*.otf binary
## Platform files generated by Flutter during `flutter create`
**/example/android/** linguist-generated
**/example/ios/** linguist-generated
**/example/ios/unit_tests/** linguist-generated=false
**/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 by Pigeon
**/*Pigeon.java linguist-generated
**/*Messages.java linguist-generated
**/pigeons/*.kt linguist-generated
**/Pigeons/*.swift linguist-generated
**/pigeons/*.swift linguist-generated
**/pigeons/*.h linguist-generated
**/pigeons/*.m linguist-generated
## Generated by Drift
**/*.drift.dart
## Generated SDK files
packages/**/lib/src/sdk/src/** linguist-generated
packages/auth/amplify_auth_cognito_dart/lib/src/sdk/sdk_exception.dart linguist-generated
## Generated Swift Plugins
packages/amplify_datastore/ios/internal/** linguist-generated
## Smithy files
packages/smithy/goldens/lib/** linguist-generated
packages/smithy/goldens/lib2/** linguist-generated
packages/smithy/goldens/models/** linguist-vendored
packages/smithy/goldens/models/custom/** -linguist-vendored
## Genrated dart files
*.g.dart linguist-generated
## Genrated test files
**/snapshots/*.diff linguist-generated
**/repo_snapshot/** linguist-generated
## Lock files
package-lock.json linguist-generated
pnpm-lock.yaml linguist-generated
pubspec.lock linguist-generated
yarn.lock linguist-generated
## GitHub Actions bundles
**/dist/*.mjs linguist-generated
**/dist/*.cjs linguist-generated
**/dist/*.cjs.map linguist-generated
## Codegen Models
**/example/lib/models/** linguist-generated
**/example/lib/models/gen2/Gen2ModelProvider.dart linguist-generated=false