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
Allow "any" to rules with contexts
#325
Comments
Setting context to "all" means that As for |
Yes, I agree And as we previously discussed, I do think there ought to remain separate levels of control for |
That sounds reasonable, I am good with this. |
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
* any-contexts: feat(match-description, require-description, require-example): allow "any" for contexts; fixes gajus#325 # Conflicts: # src/iterateJsdoc.js
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
…"any" for contexts; fixes gajus#325
🎉 This issue has been resolved in version 18.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
For rules with a
contexts
option (match-description
,require-example
,require-description
, andrequire-jsdoc
), though one may not wish these applied to all contexts, there are nevertheless cases for doing so, particularly for the first, and less so for the second, but even potentially for the others.I'd like to see us allow an "any" option or allowing
contexts
to be set totrue
to indicate all contexts.Update: In my PR, I decided against adding for
require-jsdoc
, as it would require separate refactoring, and probably not worth the effort for that particular rule.The text was updated successfully, but these errors were encountered: