Skip to content

Commit

Permalink
Move all prettier config to .prettierrc.json
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Aug 19, 2020
1 parent fe2ddfa commit 3cc925f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"proseWrap": "always"
"proseWrap": "always",
"endOfLine": "auto"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"private": true,
"scripts": {
"fmt": "prettier --end-of-line auto --write .",
"fmt:check": "prettier --end-of-line auto --check .",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"lint": "eslint \"**/*.ts\" --cache",
"test": "jest",
"build:copy": "mkdir -p lib && shx cp src/*.{bat,cmd,sh} lib/",
Expand Down

0 comments on commit 3cc925f

Please sign in to comment.