@web-at-berkeley/prettier-config
v1.2.0
Published
The default prettier configuration for all WDB projects.
Downloads
1
Readme
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>
!