tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 20 Jan 2021 12:12:31 +0100
branchstable
changeset 46346 60e6bf3bf681
parent 35605 45a816361926
permissions -rw-r--r--
doc: improves the share-safe documentation The associated behavior is now clearer and we point to the other configuration that control the mismatching behavior. Differential Revision: https://phab.mercurial-scm.org/D9839

#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