prettier-config
![npm version](https://badge.fury.io/js/%40flywire%2Fprettier-config.svg)
Flywire's base prettier configuration.
Installation
npm install --save-dev @flywire/prettier-config
If you don't have it installed already, also install prettier
as a devDependency.
npm install --save-dev prettier
Usage
Create a .prettierrc.js
or prettier.config.js
file at the root of your project that contains:
module.exports = require('@flywire/prettier-config');
How to publish to npm
Read npm's docs on How to Update a Package.
-
npm login
- Make sure you're logged into Flywire's npm account with the credentials.
npm whoami
will tell you if you're already logged in.
-
npm version <update_type>
update_type
can be patch
, minor
, or major
. If you don't know which one to use, go read about semantic versioning.
-
npm publish