Shared Prettier configuration.
npm install --save-dev @ferfalk/prettier-config
Add the prettier property on package.json:
{
"prettier": "@ferfalk/prettier-config"
}
Create a .prettierrc file with a string:
"@ferfalk/prettier-config"
To extend the configuration, create a .prettierrc.js file:
import config from '@ferfalk/prettier-config';
export default {
...config,
singleQuote: false,
};