Enforce lowercase jsdoc types

Follow up to I6cbac15940e4501aee7ede8f421b77ffd027170d

Change-Id: I22bcbf1f083451a0f68b692b9a0acc716d11c62c
This commit is contained in:
jdlrobson 2018-07-10 15:47:31 -07:00 committed by Stephen Niedzielski
parent cedaa3a22c
commit 99bc9d8c55
4 changed files with 15 additions and 4 deletions

View File

@ -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,

View File

@ -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 ) {

View File

@ -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 ) {

View File

@ -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}