tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 10 Apr 2021 15:30:32 +0200
changeset 46905 95a5ed7db9ca
parent 35605 45a816361926
permissions -rw-r--r--
help: document the `path://` url scheme If we want people to use it, we need to document it. Differential Revision: https://phab.mercurial-scm.org/D10372

#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