Skip to content
Prettier config for my projects
Branch: master
Clone or download
Permalink
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
README.md docs: extend REAMDE Jan 13, 2020
package-lock.json
package.json chore: update to version 1.0.2 Jan 17, 2020

README.md

@magnal/prettier-config

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.