Skip to content

Commit

Permalink
chore: update outdated prettier script
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Jan 22, 2024
1 parent d41bb69 commit 1281b93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preview": "astro preview",
"sync": "astro sync",
"astro": "astro",
"format:check": "prettier --plugin-search-dir=. --check .",
"format": "prettier --plugin-search-dir=. --write .",
"format:check": "prettier --check . --plugin=prettier-plugin-astro",
"format": "prettier --write . --plugin=prettier-plugin-astro",
"cz": "cz",
"prepare": "husky install",
"lint": "eslint ."
Expand Down Expand Up @@ -57,7 +57,7 @@
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,mdx,json,astro}": [
"prettier --plugin-search-dir=. --write"
"prettier --write --plugin=prettier-plugin-astro"
]
}
}

0 comments on commit 1281b93

Please sign in to comment.