tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 23 Feb 2023 19:06:24 +0100
changeset 50198 a6a8946d5173
parent 35605 45a816361926
permissions -rw-r--r--
bundlerepo: move most attribute declaration earlier in __init__ The expected attribute are clearer this way. The bundle handling code is responsible for setting most of it.

#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