1.1.1 • Published 5 years ago

laf-hg v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Lint and Format HG Commits

npm

Precommit mercurial hook. Make your build stable and code reviews readable.

Description

EsLint + Prettier before HG commit on .js and .jsx files.

Always us hg commands from directory where you have .hg.

It will first format your added and modified files, and then eslint it. In case something failed, you will get a error message. For more information about eslint issues, better would be to execute commit from console.

Usage

Add following script to package.json scripts:

{
  "precommit": "laf-hg"
}
1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago