Glowing Blue's configuration for the Prettier code formatter (for Flarum Projects).
For more info about shared Prettier configurations, check out the Prettier documentation.
- Install
@glowingblue-dev/prettier-config
as a dev dependency:
yarn add -D @glowingblue-dev/prettier-config
- Add the
prettier
key to yourpackage.json
:
// package.json
{
"name": "my-cool-package",
"version": "1.0.0",
"prettier": "@glowingblue-dev/prettier-config"
// ...
}