view tests/test-check-jshint.t @ 50769:67faf1bd8acd

rust-config: add devel warning when using undeclared config items This mirrors the Python implementation now that we're done catching up.
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 06 Jul 2023 11:44:30 +0200
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