Account confirmers, Confirmed users
126
edits
(Add code coverage docs) |
No edit summary |
||
| Line 81: | Line 81: | ||
# Replace "~/src/mozilla-central/" with the full path to your mozilla-central repository. | # Replace "~/src/mozilla-central/" with the full path to your mozilla-central repository. | ||
mozeslint = ~/src/mozilla-central/tools/mercurial/eslintvalidate.py | mozeslint = ~/src/mozilla-central/tools/mercurial/eslintvalidate.py | ||
On non-Windows systems, this can be achieved with: | |||
printf '[extensions]\nmozeslint = %s/tools/mercurial/eslintvalidate.py' "$(pwd)" >>.hg/hgrc | |||
Now Mercurial will check your code for you, and show any warnings or errors, every time you commit. | Now Mercurial will check your code for you, and show any warnings or errors, every time you commit. | ||