chore(package.json): update lint script to also run prettier for consistent code formatting

This commit is contained in:
Sped0n
2023-11-04 20:08:14 +08:00
parent 1e38be12bd
commit 2ebdebd86b

View File

@@ -6,7 +6,7 @@
"private": true,
"sideEffects": false,
"scripts": {
"lint": "eslint . --fix",
"lint": "eslint . --fix && prettier --write .",
"dev": "run-p rollup:dev hugo:dev",
"build": "rm -f ./static/bundled/js/* && run-s rollup:build hugo:build && yes | cp -rf ./exampleSite/public/css/* ./static/bundled/css",
"server": "run-p rollup:server hugo:server",