0.3.0 • Published 1 year ago

@singlestone/prettier-config-sugar v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

prettier-config-sugar

Prettier config for Sugar.

Installation

Inside the Sugar monorepo, install it with a dev dependency like so:

{
  "devDependencies": {
    "@singlestone/prettier-config-sugar": "workspace:^"
  }
}

Outside the monorepo, install it with an actual version instead of workspace:^.

Usage

Set up your .prettierrc.js like so:

module.exports = require("@singlestone/prettier-config-sugar");

You can make any changes or overrides you might want to make by destructuring the results.