Skip to content

Commit 3cc925f

Browse files
committed
Move all prettier config to .prettierrc.json
Signed-off-by: Sora Morimoto <[email protected]>
1 parent fe2ddfa commit 3cc925f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"proseWrap": "always"
2+
"proseWrap": "always",
3+
"endOfLine": "auto"
34
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"private": true,
33
"scripts": {
4-
"fmt": "prettier --end-of-line auto --write .",
5-
"fmt:check": "prettier --end-of-line auto --check .",
4+
"fmt": "prettier --write .",
5+
"fmt:check": "prettier --check .",
66
"lint": "eslint \"**/*.ts\" --cache",
77
"test": "jest",
88
"build:copy": "mkdir -p lib && shx cp src/*.{bat,cmd,sh} lib/",

0 commit comments

Comments
 (0)