@noths/code-style

0.2.0 • Public • Published

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'"

Readme

Keywords

none

Package Sidebar

Install

npm i @noths/code-style

Weekly Downloads

195

Version

0.2.0

License

none

Unpacked Size

11.9 kB

Total Files

7

Last publish

Collaborators

  • sskrzek-noths
  • matt-noths
  • chenboyi
  • froogle
  • marksalvin
  • danielc-noths
  • codingiam
  • stoikerty
  • sangeethar
  • noths-tech
  • dansearle-noths
  • camsoft
  • emanuelaianc