tests/test-check-jshint.t
author Pulkit Goyal <pulkit@yandex-team.ru>
Thu, 02 Aug 2018 22:44:41 +0300
changeset 38879 794afa91f0a5
parent 35605 45a816361926
permissions -rw-r--r--
narrowspec: remove the unused _parsestoredpatterns() function Previous patch started using sparse.parseconfig() to read narrowspec and now we don't need this function. Differential Revision: https://phab.mercurial-scm.org/D4058

#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