@abovo/prettier-config
v0.0.2
Published
Prettier config for Ab Ovo frontend projects
Downloads
167
Readme
@abovo/prettier-config
Prettier config for Ab Ovo frontend projects
Using the config in your project
- If you haven't already, install prettier in your project:
npm i prettier
(or the equivalent of your chosen package manager) - Install the @abovo/prettier-config:
npm i @abovo/prettier-config
- Add
"prettier": "@abovo/prettier-config"
to your package.json on the root level (same asname
,version
etc.)
Want to make changes?
- Run
npm install
- Update
prettier.config.js
with desired settings - If you haven't done so, copy .env file:
$ cp .env.dist .env
- OPTIONAL: Create a personal access token in Github / Gitlab / ... and paste token in
TOKEN_VARIABLE
variable in.env
file - Release your version:
$ npm run release
and follow prompt