Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6175

Make codechecker to ignore JS files completely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2, 3.1
    • Fix Version/s: None
    • Component/s: Local: Code checker
    • Labels:
      None
    • Plugin Version:
      master (2.5.1 (20160214))
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE

      Description

      Take localstorage amd for instance:

      define(['core/config'], function(config) {
       
          // Private functions and variables.
          /** @var {boolean} supported - Is localstorage supported in this browser? */
          var supported = false;
      

      The property docblock will cause codechecker error:

      lib/amd/src/localstorage.js
      #29: ····/**·@var·{boolean}·supported·-·Is·localstorage·supported·in·this·browser?·*/
      Inline doc block comments are not allowed; use "// Comment." instead
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              kabalin Ruslan Kabalin
              Participants:
              Component watchers:
              moodle.com, Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: