Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-508

JSLint filters do not properly ignore errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 1.0.1
    • Fix Version/s: Titanium Studio 1.0.4
    • Component/s: None
    • Labels:

      Description

      After creating a JSLint filter to ignore warnings (e.g. `.'Ti(tanium)?' is not defined.`) they are properly filtered; however, they are not ignored. JSLint stops processing files after a certain number of warnings have been reached, and because the warnings are filtered but not ignored they still count against that number. This creates the issue of seeing no warnings but still having JSLint stop processing the file because the limit has been reached.

      Customer requests that either the warnings are completely ignored and do not count against the JSLint limit, or that the limit can be modified in the Studio preferences.

      In order to test:

      1. It appears JSLint has a 50 warning limit.
      2. Create a javascript file with 50 errors such that JSLint would report on them.
      3. The problems view should show all 50 errors, and not a smaller number. A shorter number would indicate that it has issues displaying the full list.

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              matthewcongrove Matthew Congrove
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: