Enforce lowercase jsdoc types
Follow up to I6cbac15940e4501aee7ede8f421b77ffd027170d Change-Id: I22bcbf1f083451a0f68b692b9a0acc716d11c62c
This commit is contained in:
parent
cedaa3a22c
commit
99bc9d8c55
|
@ -12,6 +12,17 @@
|
|||
"require": false
|
||||
},
|
||||
"rules": {
|
||||
"valid-jsdoc": ["error", {
|
||||
"requireParamDescription": false,
|
||||
"requireReturnDescription": false,
|
||||
"requireReturn": false,
|
||||
"preferType": {
|
||||
"Boolean": "boolean",
|
||||
"Number": "number",
|
||||
"object": "Object",
|
||||
"String": "string"
|
||||
}
|
||||
}],
|
||||
"dot-notation": [ "error", { "allowKeywords": true } ],
|
||||
"object-property-newline": "error",
|
||||
"computed-property-spacing": 0,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @class MainMenu
|
||||
* @extends View
|
||||
* @constructor
|
||||
* @param {object} options Configuration options
|
||||
* @param {Object} options Configuration options
|
||||
* @module skins.minerva.mainMenu/MainMenu
|
||||
*/
|
||||
function MainMenu( options ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* @extends View
|
||||
*
|
||||
* @constructor
|
||||
* @param {object} options Configuration options
|
||||
* @param {Object} options Configuration options
|
||||
* @module skins.minerva.notifications/NotificationBadge
|
||||
*/
|
||||
function NotificationBadge( options ) {
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
/**
|
||||
* Extract a summary message from a cleanup template generated element that is
|
||||
* friendly for mobile display.
|
||||
* @param {object} $box element to extract the message from
|
||||
* @param {Object} $box element to extract the message from
|
||||
* @ignore
|
||||
* @typedef {object} IssueSummary
|
||||
* @typedef {Object} IssueSummary
|
||||
* @prop {string} icon HTML string.
|
||||
* @prop {string} text HTML string.
|
||||
* @return {IssueSummary}
|
||||
|
|
Loading…
Reference in New Issue