NotOnTheHighStreet code style.
Install package:
npm install @noths/code-style --save-dev
Install peer dependencies:
npm install prettier --save-dev
Add a .prettierrc.js
file to the root of your project:
module.exports = require('@noths/code-style/prettier');
Add a npm task for formatting:
"format": "prettier --write './src/**/*.js'"