view tests/test-check-jshint.t @ 51125:4224b1aa7ad8 stable

branching: merge default into stable for 6.6rc0
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 07 Nov 2023 15:21:11 +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