tests/test-check-jshint.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 28 Mar 2022 13:00:57 +0200
changeset 49042 524819ab6fde
parent 35605 45a816361926
permissions -rw-r--r--
test-issue660: add dirstate-v2 variant It's basically a dirstate test, so it makes sense to test out the new version. Differential Revision: https://phab.mercurial-scm.org/D12445

#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