tests/test-check-jshint.t
author Anton Shestakov <av6@dwimlabs.net>
Thu, 22 Feb 2018 15:18:44 +0800
branchstable
changeset 35828 eedc69d2776d
parent 35605 45a816361926
permissions -rw-r--r--
graphlog: document what "_" and "*" mean Documenting "*" should've been a part of 9b3f95d9783d, but I somehow didn't notice that the symbols are explained in the command's help text.

#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