@noths/code-style
v0.2.0
Published
NotOnTheHighStreet code style settings
Downloads
1,121
Maintainers
Keywords
Readme
code-style
NotOnTheHighStreet code style.
Installation
Install package:
npm install @noths/code-style --save-dev
Install peer dependencies:
npm install prettier --save-dev
Prettier
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'"