tests/test-check-jshint.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 15 Oct 2020 21:44:03 -0700
changeset 45739 693da1b928af
parent 35605 45a816361926
permissions -rw-r--r--
backout: leverage cmdutil.check_incompatible_arguments() Differential Revision: https://phab.mercurial-scm.org/D9216

#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