Skip to content

Commit 0cb6154

Browse files
authored
feat(powershell): add gitattributes to prevent lint issues for powershell users (#1661)
1 parent 74576ec commit 0cb6154

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.gitattributes

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Set default behavior to automatically normalize line endings
2+
* text=auto eol=lf
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout
6+
*.ts text eol=lf
7+
*.tsx text eol=lf
8+
*.js text eol=lf
9+
*.jsx text eol=lf
10+
*.json text eol=lf
11+
*.md text eol=lf
12+
*.yml text eol=lf
13+
*.yaml text eol=lf
14+
*.toml text eol=lf
15+
*.css text eol=lf
16+
*.scss text eol=lf
17+
*.sh text eol=lf
18+
*.bash text eol=lf
19+
Dockerfile* text eol=lf
20+
.dockerignore text eol=lf
21+
.gitignore text eol=lf
22+
.gitattributes text eol=lf
23+
24+
# Denote all files that are truly binary and should not be modified
25+
*.png binary
26+
*.jpg binary
27+
*.jpeg binary
28+
*.gif binary
29+
*.ico binary
30+
*.woff binary
31+
*.woff2 binary
32+
*.ttf binary
33+
*.eot binary
34+
*.pdf binary

0 commit comments

Comments
 (0)