MaGnaL / prettier-config

Prettier config for my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@magnal/prettier-config

My personal shared prettier config.

How to use in a project

  • install
    • with npm: npm i @magnal/prettier-config prettier --save-dev
    • with yarn: yarn add @magnal/prettier-config prettier --dev
  • create .prettierrc in project root with content "@magnal/prettier-config"
  • done

Can also be used together with husky to format files. To do so, see husky docs.

About

Prettier config for my projects

License:MIT License


Languages

Language:Shell 100.0%