New issue
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
With 46.4.2 match-description reports error when require-description is off #1126
Comments
…ted for non-empty descriptions by `nonemptyTags` default; gajus#1126
…ted for non-empty descriptions by `nonemptyTags` default; #1126
Thanks for the report. First a point of clarification. With the exception of the marking of unused variables, ESLint rules should not influence one another, so despite appearances, However, there were indeed some recent changes to I submitted #1127 to stop reporting missing descriptions for Note that the
For no. 2, this new functionality could admittedly have been placed in Feedback is welcome on whether the changes are still felt to be somehow too aggressive even with |
ok @brettz9 thanks for the clarification. |
As with ESLint itself, we don't and haven't followed semver in exactly such a manner. New features, as this was, will possibly cause new breakage in some cases if by "breakage" is understood new linting failures. We tend to use major version changes for changes where existing behavior has changed, e.g., an existing option or rule is removed. If you want to minimize the chances of new linting failures, you can pin to the minor version (or if you really want to be cautious, the patch version, though I wouldn't expect that normally to be necessary).
Have you tried the new version? By "more aggressive", I just mean capable of catching more errors, not that the changes are unreasonable (besides the issue before the fix in v46.4.3). I don't think the aggressive changes are likely to cause a problem for you, but if they are, only the second type of change I mentioned can be undone, namely by setting |
Oh yeah I didn't get it straight but yeah it's working fine with 46.4.3 👍 |
Expected behavior
"jsdoc/require-description" : "off"
should overrule"jsdoc/match-description"
This works with v46.2.6 👍
And does not work anymore with v46.4.2 👎
Actual behavior
I've juste updated my eslint-plugin-jsdoc dependency from v46.2.6 to v46.4.2 and now i have this error popping everywhere:
ESLint Config
ESLint sample
but also 🤔
Environment
eslint-plugin-jsdoc
version: 46.4.2The text was updated successfully, but these errors were encountered: