We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Cross post of gajus/eslint-plugin-jsdoc#749 per gajus/eslint-plugin-jsdoc#747 (comment)
jsdoc/valid-types does not warn for {message: string|undefined}.
jsdoc/valid-types
{message: string|undefined}
index.js:2:0: Syntax error in type: {message: string|undefined} [Warning/jsdoc/valid-types]
{ "extends": [ "plugin:jsdoc/recommended" ] }
/** * @param {{message: string|undefined}} options Options. */ function MyError(options) { }
eslint-plugin-jsdoc
I confirmed the issue does not occur with [email protected] or earlier.
[email protected]
Thanks again, Kevin
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, it is likely an issue with the operator precedence.
Sorry, something went wrong.
ebde3ca
chore(release): 1.0.3 [skip ci]
5942611
## [1.0.3](v1.0.2...v1.0.3) (2021-06-01) ### Bug Fixes * Precedence for key value pairs in objects ([ebde3ca](ebde3ca)), closes [#63](#63)
🎉 This issue has been resolved in version 1.0.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Looks great. Thanks @simonseyock!
No branches or pull requests
Cross post of gajus/eslint-plugin-jsdoc#749 per gajus/eslint-plugin-jsdoc#747 (comment)
Expected behavior
jsdoc/valid-types
does not warn for{message: string|undefined}
.Actual behavior
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: v35.1.1 or v35.1.0Additional Info
I confirmed the issue does not occur with
[email protected]
or earlier.Thanks again,
Kevin
The text was updated successfully, but these errors were encountered: