@stellar/prettier-config

1.2.0 • Public • Published

@stellar/prettier-config

Usage

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

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,
};

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @stellar/prettier-config

      Weekly Downloads

      268

      Version

      1.2.0

      License

      Apache-2.0

      Unpacked Size

      1.52 kB

      Total Files

      3

      Last publish

      Collaborators

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