@stickyjs/prettier
v1.3.10
Published
`@stickyjs/prettier`
Downloads
174
Readme
Prettier
@stickyjs/prettier
This module also installs prettier
, husky
and lint-staged
.
Within your package.json
:
{
"prettier": "@stickyjs/prettier",
"lint-staged": {
"*": "prettier --write --ignore-unknown"
}
}
Configuring ling-staged via .husky/pre-commit
:
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged