Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14720

Add global javascript variable 'phpbb' to jshint settings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.9
    • Fix Version/s: 3.1.10-RC1
    • Component/s: None
    • Labels:
      None

      Description

      phpbb is a global variable. Jshint doesn't always recognize it, considers it undefined, when evaluating script files that rely on it from the global score.

      We should add "phpbb" to .jshintrc as an allowed global variable.

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: