0.1.0 • Published 2 years ago

@makeheadway/prettier-config v0.1.0

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

@makeheadway/prettier-config

Custom Headway Prettier configuration.

Installing

Using NPM

npm install --save-dev prettier @makeheadway/prettier-config;

Using Yarn

yarn add --dev prettier @makeheadway/prettier-config;

Setting config

By hands

Add the following in .prettierrc.js:

module.exports = {
  ...require('@makeheadway/prettier-config'),
  ...
};

Or use the following command, if you does not have Prettier yet:

By command

echo "module.exports = { ...require('@makeheadway/prettier-config'), };" > .prettierrc.js;