1.2.0 • Published 2 years ago

@web-at-berkeley/prettier-config v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

prettier-config

The default prettier configuration for all WDB projects.

Submodule within mono

How To Use

Start by installing Prettier and this configuration into your app:

yarn add -D prettier @web-at-berkeley/prettier-config

Create a .prettierrc.js file (your prettier config file)

touch .prettierrc.js

Add the following:

module.exports = {
  ...require('@web-at-berkeley/prettier-config'),
}

Make sure you install your IDE specific Prettier plugin (like this one for VSCode) and you're good to go!

If using yarn PnP, make sure you run yarn sdks <your editor>!