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
- has been marked as being related by
-
CONTRIB-8122 Undue error report in codechecher (processing JS files)
-
- Closed
-
- will help resolve
-
CONTRIB-5862 Problems looking for space around some operators
-
- Closed
-