Shared Prettier configuration for FloydSpace projects. Compatible with FloydSpace eslint configs.
- 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
- angular
{
// ...
"prettier": "@floydspace/prettier-config/angular"
}
- react
{
// ...
"prettier": "@floydspace/prettier-config/react"
}