Skip to content

Commit

Permalink
make npm lint:fix to also format
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvelici committed Feb 6, 2025
1 parent fe13e60 commit ecbe927
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"lint": "eslint . && npm run cspell",
"lint:fix": "eslint --fix .",
"lint:fix": "eslint --fix .; npm run format",
"format": "prettier --write src test __mocks__ demo/src",
"format:check": "prettier --check src test __mocks__ demo/src",
"test": "vitest run",
Expand Down

0 comments on commit ecbe927

Please sign in to comment.