tests/test-check-jshint.t
author Boris Feld <boris.feld@octobus.net>
Tue, 22 May 2018 18:10:37 +0200
changeset 38191 4e790f0966fc
parent 35605 45a816361926
permissions -rw-r--r--
phases: define an official tuple of phases we do not share Same motivation as for `mutablephases`, having a single definition helps with updating phases logic.

#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