1.3.1 • Published 4 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-configWith npm
$ npm install prettier @dre1080/prettier-config --save-devUsage
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.