tests/test-check-jshint.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 24 Jan 2020 14:11:43 -0800
changeset 44277 3245cdea2c63
parent 35605 45a816361926
permissions -rw-r--r--
clean: delete obsolete unlinking of .hg/graftstate The responsibility for clearing it is now in `cmdutil.clearunfinished()`, so we shouldn't have to unlink it in `hg.clean()`. Differential Revision: https://phab.mercurial-scm.org/D7992

#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