tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 02 Dec 2023 02:12:21 +0100
branchstable
changeset 51139 e9eac01c57f3
parent 35605 45a816361926
permissions -rw-r--r--
revlog: add a `may_inline` argument to revlog This allow for a clean skipping of the inline feature when needed, for example by censor.

#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