Skip to content

Commit

Permalink
chore: remove npm script alias to run prettier
Browse files Browse the repository at this point in the history
I don't see the value of having this npm script alias. Having this
script alias make it difficult to format our codebase. Instead of `yarn
prettier --write filename.js` we need to run
`./node_modules/.bin/prettier --write filename.js` which more verbose.
  • Loading branch information
zackad committed Aug 8, 2024
1 parent a794b9d commit a5b4136
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Internals
- Optimize test runner by defining where to look for test files
- NPM script alias to run `prettier` has been removed

---
## 0.7.0 (2024-08-01)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
],
"scripts": {
"lint": "DEBUG=eslint:cli-engine eslint .",
"prettier": "prettier --plugin=./src/index.js --parser=twig",
"test": "vitest --run"
},
"dependencies": {
Expand Down

0 comments on commit a5b4136

Please sign in to comment.