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

Make codechecker to ignore JS files completely

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.4, 3.0.2, 3.1
    • None
    • Local: Code checker
    • None
    • master (2.5.1 (20160214))
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: