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

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages