Skip to content

Commit

Permalink
update Prettier configuration: replace .prettierrc.cjs with .prettier…
Browse files Browse the repository at this point in the history
…rc and adjust package.json scripts
  • Loading branch information
killerwolf committed Jan 7, 2025
1 parent 0a198ee commit 55c330d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"trailingComma": "all",
"singleQuote": true
}
5 changes: 0 additions & 5 deletions .prettierrc.cjs

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"lint": "eslint .",
"format": "prettier --check .",
"format:fix": "prettier --write ."
"format": "prettier --config .prettierrc --check .",
"format:fix": "prettier --config .prettierrc --write ."
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 55c330d

Please sign in to comment.