Skip to content

Commit

Permalink
chore: add lint:fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 28, 2023
1 parent 2289288 commit 32915a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"scripts": {
"build": "unbuild",
"dev": "pnpm mkdist test/fixture -d",
"lint": "eslint --ext .ts . && prettier --check src test",
"lint": "eslint --ext .ts,.mjs,.cjs . && prettier --check src test",
"lint:fix": "eslint --fix --ext .ts,.mjs,.cjs . && prettier --write -c src test",
"mkdist": "jiti src/cli",
"release": "pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage"
Expand Down

0 comments on commit 32915a9

Please sign in to comment.