tests/test-check-jshint.t
author Aay Jay Chan <aayjaychan@itopia.com.hk>
Wed, 07 Oct 2020 00:39:52 +0800
changeset 45675 59ab71498bee
parent 35605 45a816361926
permissions -rw-r--r--
tests: test output of {predecessors}, {successorssets} for non-obsolete csets Differential Revision: https://phab.mercurial-scm.org/D9157

#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