tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Tue, 06 Nov 2018 10:41:00 -0500
changeset 40596 d6ec45b79277
parent 35605 45a816361926
permissions -rw-r--r--
tests: fix config knob in test-narrow-clone-stream.t Two patches landed in parallel and had a semantic conflict. This resolves the mess and leaves us with passing tests. Differential Revision: https://phab.mercurial-scm.org/D5231

#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