1.3.1 • Published 2 years ago
@dre1080/prettier-config v1.3.1
dre1080 Prettier Config
A sharable prettier config object.
Install
Install prettier and @dre1080/prettier-config
:
With Yarn
$ yarn add --dev prettier @dre1080/prettier-config
With npm
$ npm install prettier @dre1080/prettier-config --save-dev
Usage
Add the prettier
key to your package.json
:
"prettier": "@dre1080/prettier-config"
or create a .prettierrc.js
with the following contents:
module.exports = {
...require("@dre1080/prettier-config"),
};
Check out the prettier
documentation for more info on sharing configurations.