Changes

Jump to: navigation, search

WebExtensions/Hacking

146 bytes added, 07:23, 6 January 2016
no edit summary
# Replace "~/src/mozilla-central/" with the full path to your mozilla-central repository.
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.
Accountapprovers, confirm
126
edits

Navigation menu