Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8872

jshint 2.7.0 breaks on current code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Master
    • None
    • None

    Description

      /var/jenkins/workspace/cordova-blackberry$ node_modules/grunt-cli/bin/grunt
      Running "jshint:all" (jshint) task

      framework/lib/utils.js
      53 | if (!arg instanceof Array) {
      ^ Confusing use of '!'.
      58 | if (!arg instanceof Date) {
      ^ Confusing use of '!'.

      >> 2 errors in 90 files
      Warning: Task "jshint:all" failed. Use --force to continue.

      This doesn't break on jshint@2.6.0

      Attachments

        Activity

          People

            jsoref Josh Soref
            jgee Jenny Gee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: