@redguy12/prettier-config
v3.0.2
Published
My Prettier style guide
Downloads
865
Maintainers
Readme
@redguy12/prettier-config
My Prettier style guide
Adding To A Project
Install the config by running:
npm install @redguy12/prettier-config prettier --save-dev --save-exact
Add the following to your
package.json
:"prettier": "@redguy12/prettier-config", "scripts": { "format": "prettier --write \"**\" --ignore-unknown --cache" }
Create a
.prettierignore
file with the following content:node_modules .eslintcache dist/**
To format your code, simply run
npm run format
Congrats! You've successfully integrated ESLint into your project with @redguy12/prettier-config
!