tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 13 Mar 2021 00:40:46 -0500
branchstable
changeset 46786 52528570312e
parent 35605 45a816361926
permissions -rw-r--r--
typing: disable module attribute warnings for properly conditionalized code Differential Revision: https://phab.mercurial-scm.org/D10208

#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