Shared Prettier config
npm install -D prettier @rambler-tech/prettier-config
or
yarn add -D prettier @rambler-tech/prettier-config
Create a .prettierrc and export a string
"@rambler-tech/prettier-config"
or add a key to your package.json file
"prettier": "@rambler-tech/prettier-config"
@rambler-tech/prettier-config
- base JavaScript and TypeScript@rambler-tech/prettier-config/semi
- base with semicolons and trailing commas