view tests/test-check-jshint.t @ 50878:bbaac3a222bb

gpg: use a context manager to write `.hgsigs`
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 16:20:56 -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