view tests/test-check-jshint.t @ 38638:740f7d447222

revlog: add a doctest to _trimchunk
author Boris Feld <boris.feld@octobus.net>
date Tue, 10 Jul 2018 10:04:44 +0200
parents 45a816361926
children
line wrap: on
line source

#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