@xdbfoundation/prettier-config

1.0.3 • Public • Published

@digitalbits/prettier-config

Usage

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

yarn add --dev @digitalbits/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": "@digitalbits/really-pretty-app",
  "prettier": "@digitalbits/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("@digitalbits/prettier-config"),
  semi: false,
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2

Package Sidebar

Install

npm i @xdbfoundation/prettier-config

Weekly Downloads

2

Version

1.0.3

License

Apache-2.0

Unpacked Size

2.06 kB

Total Files

4

Last publish

Collaborators

  • xdbfoundation