view tests/test-check-jshint.t @ 50035:e356e8b65d70

dirstate: use `dirstate.change_files` to scope the change in `rename` This is the way, unless we are not actually touching the working copy. In such cases we don't need to do something.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 31 Jan 2023 00:05:12 +0100
parents 45a816361926
children
line wrap: on
line source

#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