Skip to content

Commit b58e013

Browse files
committed
chore: force '\n' (lf) as end of line character
1 parent 93860ad commit b58e013

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
"typescript.tsdk": "node_modules/typescript/lib",
1111
"[typescript]": {
1212
"editor.defaultFormatter": "esbenp.prettier-vscode"
13-
}
13+
},
14+
"files.eol": "\n"
1415
}

prettier.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
module.exports = {
4+
endOfLine: 'lf',
45
useTabs: true,
56
singleQuote: true,
67
trailingComma: 'none',

0 commit comments

Comments
 (0)