view tests/test-check-jshint.t @ 49903:d2e80d27c524

tests: aborting on unknown revision emits exit code 10 even with hgext/git
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 06 Jan 2023 17:51:55 +0400
parents 45a816361926
children
line wrap: on
line source

#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