tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 29 Sep 2018 23:52:00 -0400
changeset 39911 d1bc6cf2be69
parent 35605 45a816361926
permissions -rw-r--r--
py3: use util.forcebytestr() to convert push lock error to bytes

#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