[Pkg-javascript-commits] [node-mocks-http] 113/296: removed jshint

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

alteholz pushed a commit to branch master
in repository node-mocks-http.

commit 9307579d5b857dfb28cc1bb42a8cdae1920aed6e
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date:   Wed Mar 11 15:21:08 2015 +0800

    removed jshint
---
 .jshintrc | 20 --------------------
 run-tests | 57 ---------------------------------------------------------
 2 files changed, 77 deletions(-)

diff --git a/.jshintrc b/.jshintrc
deleted file mode 100644
index a6027e4..0000000
--- a/.jshintrc
+++ /dev/null
@@ -1,20 +0,0 @@
-{
-  "node": true,
-  "esnext": true,
-  "bitwise": true,
-  "camelcase": true,
-  "curly": true,
-  "eqeqeq": true,
-  "immed": true,
-  "indent": 2,
-  "latedef": true,
-  "newcap": true,
-  "noarg": true,
-  "quotmark": "single",
-  "regexp": true,
-  "undef": true,
-  "unused": false,
-  "strict": true,
-  "trailing": true,
-  "smarttabs": true
-}
diff --git a/run-tests b/run-tests
index ebb81b9..3f51eed 100755
--- a/run-tests
+++ b/run-tests
@@ -1,63 +1,6 @@
 #!/bin/sh
-#
-#  This will run the NodeUnit tests. If `nodeunit` isn't installed, type:
-#
-#      sudo npm install nodeunit
-#      sudo npm install jshint
-
-# if type jshint >/dev/null 2>&1
-# then
-#     FILES="`find examples lib -name '*.js'`"
-#     TMPHINT=/tmp/jshint-results
-
-#     for FILE in $FILES
-#     do
-#         echo "Analyzing: $FILE"
-#         HIDDEN_EXP="`dirname $FILE`/.`basename $FILE`-exp"
-#         jshint $FILE > $TMPHINT
-#         if [ $? -gt 0 ]
-#         then
-#             if [ -f "$HIDDEN_EXP" ]
-#             then
-#                 diff $TMPHINT "$HIDDEN_EXP"
-#             else
-#                 cat $TMPHINT
-#                 echo
-#                 echo "Note: If this is an expected (and accepted) warning, then:"
-#                 echo "cp '$TMPHINT' '$HIDDEN_EXP'"
-#                 echo
-#                 exit 1
-#             fi
-#         fi
-#     done
-# fi
-
-# Usage: nodeunit [options] testmodule1.js testfolder [...]
-# Options:
-#
-#   --config FILE     the path to a JSON file with options
-#   --reporter FILE   optional path to a reporter file to customize the output
-#   --list-reporters  list available build-in reporters
-#   -t name,          specify a test to run
-#   -h, --help        display this help and exit
-#   -v, --version     output version information and exit
-
-# Build-in reporters:
-#   * browser: Browser-based test reporter
-#   * default: Default tests reporter
-#   * eclipse: Reporter for eclipse plugin
-#   * html: Report tests result as HTML
-#   * junit: jUnit XML test reports
-#   * machineout: Tests reporter for machinally analysis
-#   * minimal: Pretty minimal output
-#   * nested: Nested test reporter
-#   * skip_passed: Skip passed tests output
-#   * tap: TAP output
-#   * verbose: Verbose tests reporter
-
 echo 
 echo "Executing tests..."
-echo
 
 # OPTS="--reporter junit --output test/results"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git



More information about the Pkg-javascript-commits mailing list