tests/test-check-jshint.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 03 Oct 2019 13:18:15 -0700
changeset 43045 8c4f32b907e6
parent 35605 45a816361926
permissions -rw-r--r--
unfinishedstate: suggested `hg update .` (including `.`) to complete update `hg update` can update to a different and undesired commit. For users who have commands.update.requiredest=yes, it's even an error to run just `hg update. Differential Revision: https://phab.mercurial-scm.org/D6956

#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