A sharable Prettier config with personal preferences.
Install this Prettier config together with its peer dependencies:
# npm
npm install @tammergard/prettier-config prettier --save-dev
# yarn
yarn add @tammergard/prettier-config prettier --dev
# pnpm
pnpm add @tammergard/prettier-config prettier --save-dev
Add the config to your Prettier config file:
import tammergardPrettierConfig from "@tammergard/prettier-config"
export default {
...tammergardPrettierConfig,
}
MIT