tests/test-check-jshint.t
author Gregory Szorc <gregory.szorc@gmail.com>
Wed, 31 Jan 2018 10:19:08 -0800
changeset 35866 d747cf39cf70
parent 35605 45a816361926
permissions -rw-r--r--
wireprotoserver: make attributes private These aren't part of the protocol interface. So they should be _ prefixed. Differential Revision: https://phab.mercurial-scm.org/D1984

#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