Downport "Replace deprecated require-jsdoc, valid-jsdoc with jsdoc plugin for eslint"

Enabled and fixed for `check-alignment`, `implements-on-classes`,
`newline-after-description`, `require-param-name`, `require-param-type`,
`require-returns-type` and `valid-types`.

Change-Id: I493b498d81d5f8d908bb45de37de9c9ef956f7d8
This commit is contained in:
Tao Zhou
2019-12-17 09:59:28 +01:00
committed by Thomas Draebing
parent 3445b3d2c4
commit 25673abbae
75 changed files with 278 additions and 26 deletions

View File

@@ -157,6 +157,7 @@
* The basePatchNum should always be <= patchNum -- because sortedRevisions
* is sorted in reverse order (higher patchset nums first), invalid base
* patch nums have an index greater than the index of patchNum.
*
* @param {number|string} basePatchNum The possible base patch num.
* @param {number|string} patchNum The current selected patch num.
* @param {!Array} sortedRevisions