Skip to content

"unavailable tag return" #82

@necolas

Description

@necolas

Since updating to 0.3.x, I get a lot of linting errors where there previously were none.

Config:

  jsDoc: {
    checkAnnotations: 'closurecompiler',
    checkParamNames: true,
    checkRedundantParams: true,
    checkRedundantReturns: true,
    requireParamTypes: true,
    requireReturnTypes: true
  }

Example that produces the error:

/**
 * Pad the given string so that it is at least `len` length.
 * @param  {String} str
 * @param  {Number} len
 * @return {String}
 */
function padUntil(str, len) {
  return str + Array(len - str.length).join(' ');
}

It's not clear to me what the problem is now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions