Skip to content

UNIwise/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-config

WISEflow's base Prettier config.

Installation

yarn add --dev prettier @uniwise/prettier-config

Usage

After installing, update your project's .prettierrc.js file to import the rule sets you want:

module.exports = {
  ...require('@uniwise/prettier-config'),
  // your overrides here
};

To run a prettier style check:

yarn prettier --check src/

And to fix style errors:

yarn prettier --write src/

Read the Prettier config docs for more information.