tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 28 Jan 2022 14:24:30 +0100
changeset 48715 85c69b0dfa8f
parent 35605 45a816361926
permissions -rw-r--r--
merge: break up a not-so-one-liner for readability (even if not fully satisfied this time) Differential Revision: https://phab.mercurial-scm.org/D12104

#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