Skip to content

Commit cd73c95

Browse files
committed
removing linebreak-style rule from eslint and adding .gitattributes file to ensure files in the repo have the right line endings
1 parent 3553a1f commit cd73c95

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

.gitattributes

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.css text
7+
*.html text
8+
*.js text
9+
*.json text
10+
*.md text
11+
*.toml text
12+
*.txt text
13+
*.yaml text
14+
*.yml text
15+
16+
# Declare files that will always have LF line endings on checkout.
17+
*.sh text eol=lf
18+
19+
# Denote all files that are truly binary and should not be modified.
20+
*.eot binary
21+
*.gif binary
22+
*.ico binary
23+
*.jpg binary
24+
*.mp3 binary
25+
*.mp4 binary
26+
*.pdf binary
27+
*.png binary
28+
*.svg binary
29+
*.ttf binary
30+
*.woff binary
31+
*.woff2 binary

electron/.eslintrc.json

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
"SwitchCase": 1
1717
}
1818
],
19-
"linebreak-style": [
20-
"error",
21-
"unix"
22-
],
2319
"quotes": [
2420
"error",
2521
"single"

webui/.eslintrc.json

-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
"SwitchCase": 1
1919
}
2020
],
21-
"linebreak-style": [
22-
"error",
23-
"unix"
24-
],
2521
"quotes": [
2622
"error",
2723
"single"

0 commit comments

Comments
 (0)