Skip to content
Prettier config for my projects
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore chore: add rules and modules Jan 12, 2020
.prettierrc.json chore: rename .prettierrc to .prettierrc.json to make shared config work Jan 13, 2020
LICENSE docs: extend REAMDE Jan 13, 2020
package.json chore: update to version 1.0.2 Jan 17, 2020


My personal shared prettier config.

How to use in a project

  • install: npm i @magnal/prettier-config prettier pretty-quick husky --save-dev
  • create .prettierrc in project root with content "@magnal/prettier-config"
  • add to package.json:
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
  • done
You can’t perform that action at this time.