Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 549 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 549 Bytes

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.