Skip to content

Commit

Permalink
Add: Prettier を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed May 1, 2022
1 parent 9f9c4e9 commit 5780c9d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.next
out
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build": "next build",
"export": "next export",
"static": "next build && next export",
"lint": "next lint"
"lint": "next lint",
"format": "prettier --write ."
},
"dependencies": {
"next": "12.1.5",
Expand All @@ -35,6 +36,7 @@
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^9.0.0",
"next-compose-plugins": "^2.2.1",
"prettier": "2.6.2",
"responsive-loader": "^2.3.0",
"sass": "^1.50.1",
"sharp": "^0.30.4",
Expand Down

0 comments on commit 5780c9d

Please sign in to comment.