@floydspace/prettier-config
v1.37.0
Published
Shared prettier config
Downloads
1,061
Readme
@floydspace/prettier-config
Shared Prettier configuration for FloydSpace projects. Compatible with FloydSpace eslint configs.
Usage
- Install from npm
npm i --save-dev @floydspace/prettier-config
- Create
.prettierrc.js
at project root
module.exports = require('@floydspace/prettier-config');
More information about available at prettier documentation
Available presets
- angular
{
// ...
"prettier": "@floydspace/prettier-config/angular"
}
- react
{
// ...
"prettier": "@floydspace/prettier-config/react"
}