@stellar/prettier-config
v1.2.0
Published
Stellar Development Foundation's default prettier config
Downloads
1,235
Keywords
Readme
@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,
};