tests/test-check-jshint.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 05 Oct 2019 10:21:34 -0400
changeset 43288 434d7a3e92e3
parent 35605 45a816361926
permissions -rw-r--r--
rust-cpython: make inner functions and structs of ref_sharing private Most of these methods were public because they had to be accessible from macro-generated functions. Some "unsafe" can be removed since we can guarantee the data consistency across non-public operations.

#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