npm.io
0.1.0 • Published 4 years ago

@makeheadway/prettier-config

Licence
MIT
Version
0.1.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

@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;

Keywords