tests/test-check-jshint.t
author Anton Shestakov <av6@dwimlabs.net>
Sun, 11 Dec 2022 16:44:50 +0400
branchstable
changeset 49782 cafe34655335
parent 35605 45a816361926
permissions -rw-r--r--
hghave: detect Python 3.10 and 3.11 as well Noticed because test-contrib-relnotes.t was skipped.

#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