tests/test-check-jshint.t
author Raphaël Gomès <rgomes@octobus.net>
Fri, 08 Apr 2022 16:04:17 +0200
changeset 49128 464747faef14
parent 35605 45a816361926
permissions -rw-r--r--
rust-dirstatemap: add `set_cached_mtime` helper method This will help remove the `get_or_insert` method, which is dangerous because it does not take the `DirstateMap` counters into account Differential Revision: https://phab.mercurial-scm.org/D12526

#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