Skip to content

Commit

Permalink
feat: use --check for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hugginsio committed Nov 12, 2023
1 parent d2a7260 commit 8c2eb23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion external-landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"build": "tailwindcss -i ./src/base.css -o ./src/tailwind.css",
"clean": "node ./scripts/clean.js",
"deploy": "wrangler pages deploy ./dist/ --project-name=external-landing",
"lint": "prettier ./src/ --write --print-width=120",
"lint": "npm run prettier -- --check",
"lint:write": "npm run prettier -- --write",
"prebuild": "npm run clean",
"predeploy": "npm run build && node ./scripts/predeploy.js",
"prettier": "prettier ./src/ --print-width=120",
"start": "npm run build -- --watch"
},
"devDependencies": {
Expand Down

0 comments on commit 8c2eb23

Please sign in to comment.