tests/test-check-jshint.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 19 Apr 2021 11:22:21 +0200
changeset 47097 81eb7091c494
parent 35605 45a816361926
permissions -rw-r--r--
sidedata: add a way of replacing an existing sidedata computer This will be useful in a future patch to replace a sequential computer with a parallel computer. We only allow for explicit replacement, to force the users to think about overriding computers. Differential Revision: https://phab.mercurial-scm.org/D10358

#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