tests/test-check-jshint.t
author Denis Laxalde <denis@laxalde.org>
Mon, 21 Oct 2019 09:52:31 +0200
branchstable
changeset 43311 88928063addb
parent 35605 45a816361926
permissions -rw-r--r--
packaging: let Debian package depends on sensible-utils This fixes the following Lintian error: E: mercurial-common: missing-depends-on-sensible-utils etc/mercurial/hgrc.d/default-tools.rc

#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