Skip to content

Commit

Permalink
refactor: prettier script
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty committed Dec 15, 2023
1 parent 59d4cbf commit 1f01070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: installing yarn
run: yarn install
- name: prettier:check
run: yarn prettier:check
run: yarn prettier
stage:
name: Test linting...
needs: Format
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"start": "next start",
"test": "yarn contentlayer:build",
"lint": "next lint",
"prettier:check": "prettier -c .",
"prettier": "prettier -c .",
"prettier:fix": "prettier -cw ."
},
"dependencies": {
Expand Down

0 comments on commit 1f01070

Please sign in to comment.