Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35020

Fix JSHint errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      Recently, some JSHint errors were introduced:

      [INFO] src/main/js/pluginSetupWizardGui.js: line 528, col 53, Expected '===' and instead saw '=='.
      [INFO] src/main/js/pluginSetupWizardGui.js: line 430, col 40, 'state' is defined but never used.
      [INFO] src/main/js/pluginSetupWizardGui.js: line 798, col 42, Expected '===' and instead saw '=='.
      [INFO] src/main/js/pluginSetupWizardGui.js: line 953, col 23, Expected '!==' and instead saw '!='.
      [INFO] src/main/js/pluginSetupWizardGui.js: line 954, col 16, 'setupWizardExtensions' is not defined.
      [INFO] 
      [INFO] 5 errors
      [INFO] src/main/js/upgradeWizard.js: line 2, col 9, '$' is defined but never used.
      [INFO] src/main/js/upgradeWizard.js: line 1, col 1, 'onSetupWizardInitialized' is not defined.
      [INFO] 
      [INFO] 2 errors
      [INFO] src/main/js/util/jenkins.js: line 201, col 49, 'receiver' is defined but never used.
      [INFO] src/main/js/util/jenkins.js: line 200, col 32, 'Proxy' is not defined.
      [INFO] 
      [INFO] 2 errors
      

      It seems this JENKINS-34438 is not working very well.

            recena Manuel Recena Soto
            recena Manuel Recena Soto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: