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

Make codechecker to ignore JS files completely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.9.4, 3.0.2, 3.1
    • Local: Code checker
    • None
    • master (2.5.1 (20160214))
    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE

      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
      

            stronk7 Eloy Lafuente (stronk7)
            kabalin Ruslan Kabalin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.