Corsali prettier config.
- Add the package to dev dependencies:
$ npm i -D @corsali/prettier-config
- Add a
prettier
entry topackage.json
# package.json
{
...
"prettier": "@corsali/prettier-config"
...
}
-
In this repository:
npm link
(may need to be run as root).- Update version in
package.json
.
-
In another project where the rule is used:
npm link @corsali/prettier-config
.- Update the installed version in
package.json
.