tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 30 Aug 2023 00:49:52 +0200
changeset 50931 ceac1bd816f7
parent 35605 45a816361926
permissions -rw-r--r--
path-suboption: use str for "_pushloc" suboptions That second argument refer to an attribute and do not needs to be bytes.

#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