tests/test-check-jshint.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 16 Jun 2018 17:04:03 +0900
changeset 38336 62376d7b8859
parent 35605 45a816361926
permissions -rw-r--r--
py3: glob out some error messages in test-fileset.t Python3 provides more detailed messages, which is fine.

#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