We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate if argument is required or not in JSDoc. For example:
/** * Return string based on error code * @param {number} id - error id * @param {string=} message - error message * @return {string} localized error string */ error(id, message) { ... }
Here, error() should be marked as invalid, as id is required, whereas error(5) would be valid.
error()
id
error(5)
The text was updated successfully, but these errors were encountered:
I agree that it should be cool if we have this feature which looks like #32 (comment)
I must study if tern can manage very well optional parameter to avoid having a lot of errors.
Sorry, something went wrong.
No branches or pull requests
Validate if argument is required or not in JSDoc.
For example:
Here,
error()
should be marked as invalid, asid
is required, whereaserror(5)
would be valid.The text was updated successfully, but these errors were encountered: