tests/test-check-jshint.t
author Simon Sapin <simon-commits@exyr.org>
Wed, 02 Dec 2020 08:23:31 +0100
changeset 46034 0c02c2a0badb
parent 35605 45a816361926
permissions -rw-r--r--
rhg: add a test with persistent-nodemap Differential Revision: https://phab.mercurial-scm.org/D9519

#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