@mskelton/prettier-config
Standard JS style Prettier config.
Installation
# Yarn
yarn add --dev @mskelton/prettier-config
# npm
npm install --save-dev @mskelton/prettier-config
Usage
The easiest way to use this package is to add the following line to your package.json
file.
{
"prettier": "@mskelton/prettier-config"
}
If you would like to override some of the default rules, use a prettier.config.js
file instead of the package.json
key. The file should look something like this but with your own overrides.
module.exports = {
...require('@mskelton/prettier-config'),
// Overrides
semi: true,
}
✨
Contributors Thanks goes to these wonderful people (emoji key):
Mark Skelton |
This project follows the all-contributors specification. Contributions of any kind welcome!