tests/test-check-jshint.t
author Kyle Lippincott <spectral@google.com>
Tue, 25 Jun 2019 14:23:02 -0700
changeset 42526 0c0e54bcea9b
parent 35605 45a816361926
permissions -rw-r--r--
zsh: enable completion support for chg as well When verifying this change, you may need to clear/rebuild the completion cache; I did this by deleting the ~/.zcompdump file and then starting a new shell. Differential Revision: https://phab.mercurial-scm.org/D6574

#require test-repo jshint hg10

  $ . "$TESTDIR/helpers-testrepo.sh"

run jshint on all tracked files ending in .js except vendored dependencies

  $ cd "`dirname "$TESTDIR"`"

  $ testrepohg locate 'set:**.js' \
  > 2>/dev/null \
  > | xargs jshint