Skip to content

Commit

Permalink
Add quotes around * in package.json
Browse files Browse the repository at this point in the history
To prevent shell expansion and ensure that Prettier is run on all
matching files.
  • Loading branch information
psvenk committed Jan 31, 2025
1 parent 52c2e51 commit 0667e67
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 @@ -30,8 +30,8 @@
"start": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"format": "prettier --write **/*.{ts,tsx}",
"ci-prettier": "prettier --check **/*.{ts,tsx}",
"format": "prettier --write '**/*.{ts,tsx}'",
"ci-prettier": "prettier --check '**/*.{ts,tsx}'",
"ci-eslint": "eslint ."
},
"engines": {
Expand Down Expand Up @@ -60,4 +60,4 @@
"vite-plugin-node-polyfills": "^0.23.0",
"vite-tsconfig-paths": "^5.1.4"
}
}
}

0 comments on commit 0667e67

Please sign in to comment.