tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 14 Apr 2021 22:50:41 -0400
changeset 46928 93c224dc099b
parent 35605 45a816361926
permissions -rw-r--r--
urlutil: use bytes for Abort messages Caught by pytype. Also fix a minor grammar issue in the second message. Differential Revision: https://phab.mercurial-scm.org/D10433

#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