Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@magnal/prettier-config

My personal shared prettier config.

How to use in a project

  • install
    • with npm: npm i @magnal/prettier-config prettier pretty-quick husky --save-dev
    • with yarn: yarn add @magnal/prettier-config prettier pretty-quick husky --dev
  • create .prettierrc in project root with content "@magnal/prettier-config"
  • add to package.json:
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
    }
  },
  • done

About

Prettier config for my projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages