tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 11 Mar 2021 17:55:52 -0500
branchstable
changeset 46690 90a92f041fc6
parent 35605 45a816361926
permissions -rw-r--r--
typing: add an assertion instead of blacklisting mercurial/extensions.py Differential Revision: https://phab.mercurial-scm.org/D10175

#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