tests/test-check-jshint.t
author Pulkit Goyal <7895pulkit@gmail.com>
Sat, 14 Apr 2018 02:03:02 +0530
changeset 37666 46e705b79323
parent 35605 45a816361926
permissions -rw-r--r--
py3: add b'' prefixes to make values bytes # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3327

#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