-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
29 lines (24 loc) · 887 Bytes
/
.gitattributes
File metadata and controls
29 lines (24 loc) · 887 Bytes
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
# Default to native line endings for platform
* text=auto
# Force LF for files that need to run in bash
*.sh text eol=lf
*.bash text eol=lf
*.py text eol=lf
# Keep Solidity files consistent since they're primarily edited in cross-platform IDEs
# also slither is sensitive to CRLF line endings
*.sol text eol=lf
# we do hash of pyproject.toml file contents, so we need to keep them consistent across platform
*.toml text eol=lf
# the out-the-box vscode json formatter removes linefeeds at the end of file
*.json text eol=lf
# these are generated unix style and so need to keep formatting consistent
*.csv text eol=lf
# Force CRLF for Windows-specific files
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# yarn recommendations
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated