tests/test-check-jshint.t
author Simon Sapin <simon.sapin@octobus.net>
Tue, 08 Feb 2022 14:20:58 +0100
changeset 48734 3e2b4bb286e7
parent 35605 45a816361926
permissions -rw-r--r--
rhg: Colorize `rhg status` output when appropriate Differential Revision: https://phab.mercurial-scm.org/D12168

#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