Skip to content

Commit 4791b59

Browse files
committed
Add LF to prettier
1 parent cc34f29 commit 4791b59

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.prettierrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"arrowParens": "always",
33
"bracketSameLine": false,
44
"bracketSpacing": true,
5+
"endOfLine": "lf",
56
"jsxSingleQuote": true,
67
"printWidth": 80,
78
"quoteProps": "as-needed",

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"clock.format": "isoUtcDateTime",
1818
"jest.autoRevealOutput": "on-exec-error",
1919
"jest.autoRun": "off",
20+
"editor.defaultFormatter": "esbenp.prettier-vscode",
21+
"editor.formatOnSave": true,
22+
"files.eol": "\n",
2023
"terminal.integrated.confirmOnExit": "always",
2124
"workbench.colorCustomizations": {
2225
"editorIndentGuide.background1": "#8CA58B8F",

0 commit comments

Comments
 (0)