Skip to content

Commit

Permalink
npm run format will run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Sep 19, 2024
1 parent 17f1cf0 commit b59c2ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"description": "A live RGBDS programming environment in the browser",
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build",
"format": "prettier --write ."
},
"repository": {
"type": "git",
Expand Down

1 comment on commit b59c2ec

@SelvinPL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rangi42 please use prettier . --write --end-of-line auto - I'm on windows and without it prettier changing all files

Please sign in to comment.