tests/test-check-jshint.t
author Manuel Jacob <me@manueljacob.de>
Sun, 29 May 2022 15:43:21 +0200
changeset 49296 b6b6ae9ea91e
parent 35605 45a816361926
permissions -rw-r--r--
py3: remove dead code to make file descriptors non-inheritable On Python 3, file descriptors are already non-inheritable by default.

#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