Shared Prettier config with an opinionated .editorconfig.
yarn add --dev @abinnovision/prettier-config prettierReference the config in your package.json:
{
"prettier": "@abinnovision/prettier-config"
}Sync the bundled .editorconfig into your project:
yarn sync-editorconfigOptionally add it to your postinstall hook to keep it in sync automatically:
{
scripts: {
postinstall: "sync-editorconfig",
},
}Apache-2.0