tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Tue, 17 Dec 2019 14:04:02 -0500
changeset 43921 b78795c2a294
parent 35605 45a816361926
permissions -rw-r--r--
examples: add an example configuration for go source files Tested by timeless. Differential Revision: https://phab.mercurial-scm.org/D7683

#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