1.1.0 • Published 9 days ago

prettier-husky-lint-staged-installer v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 days ago

prettier-husky-lint-staged-installer

Setup prettier fortmat staged files at precommit.
After installation you'll got following setting automatically and run prettier staged file when you git commit.

  • package.json
  "lint-staged": {
    "*": "prettier --ignore-unknown --write"
  }
  • .huskey/precommit
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

installation

Run script at your project root directory.

  • npm
npx prettier-husky-lint-staged-installer
  • pnpm
pnpm dlx prettier-husky-lint-staged-installer
  • yarn
npx prettier-husky-lint-staged-installer
  • bun
bunx prettier-husky-lint-staged-installer

LICENSE

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):

1.1.0

9 days ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago