@stellar/prettier-config

1.0.1 • Public • Published

@stellar/prettier-config

Usage

First, install the package, and make sure you've upgraded Prettier to >= 1.17.0:

yarn add --dev @stellar/prettier-config prettier

If you don't plan on changing the config at all, the easiest way to install is to use the prettier parameter in package.json:

{
  "name": "@stellar/really-pretty-app",
  "prettier": "@stellar/prettier-config"
}

If you need to extend or change the config, you can mix it in with your own:

// Your project's prettier.config.js
module.exports = {
  ...require("@stellar/prettier-config"),
  semi: false,
};

Keywords

none

Install

npm i @stellar/prettier-config

DownloadsWeekly Downloads

229

Version

1.0.1

License

Apache-2.0

Unpacked Size

1.53 kB

Total Files

3

Last publish

Collaborators

  • piyalbasu
  • cassiomg
  • stellar-npm-ci
  • stellar-npm
  • bartekn
  • quietbits
  • jacekn
  • fnando_sdf