Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Prettier configuration according to Flywire' preference

Notifications You must be signed in to change notification settings

flywirecorp/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-config

npm version

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.

  1. 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.
  2. 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.
  3. npm publish

About

Prettier configuration according to Flywire' preference

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published