view tests/test-check-jshint.t @ 41123:b153a4aa06f8

amend: refactor commit date handling There's no need to parse a date tuple. Just do it for user option.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 07 Jan 2019 21:29:58 +0900
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