tests/test-check-jshint.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 02 Mar 2019 05:01:00 +0530
changeset 41827 faa04f45b5fe
parent 35605 45a816361926
permissions -rw-r--r--
py3: make sure return value of posix.groupname() is bytes Differential Revision: https://phab.mercurial-scm.org/D6039

#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