Wondering what’s next for npm?Check out our public roadmap! »

    @bokub/prettier-config

    2.1.0 • Public • Published

    @bokub / prettier-config

    Code style Downloads

    My personal Prettier config / workflow

    Install

    npm i -D prettier @bokub/prettier-config

    Add the following to your package.json:

    {
      "prettier": "@bokub/prettier-config"
    }

    Optional: Setup pre-commit hook

    npx husky-init
    npm i -D pretty-quick
    npx husky set .husky/pre-commit 'pretty-quick --staged'

    Optional: Run prettier on old code

    npx prettier --write .

    Install

    npm i @bokub/prettier-config

    DownloadsWeekly Downloads

    29

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    1.53 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar