tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Jan 2021 14:05:32 +0100
changeset 46264 7149fb17ff72
parent 35605 45a816361926
permissions -rw-r--r--
hghave: clarify `sqlite` requirements We need more than the python module, we also need the sqlite3 command line. Differential Revision: https://phab.mercurial-scm.org/D9787

#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