view tests/test-check-jshint.t @ 49454:34dddc5d2e2f

shelve: in test for trailing whitespace, strip commit (issue6735)
author Jason R. Coombs <jaraco@jaraco.com>
date Wed, 17 Aug 2022 10:17:15 -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