Skip to content
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

Parse docblock more robustly for onlyFilesWithFlowAnnotation usage #404

Merged
merged 1 commit into from May 8, 2019

Conversation

zpao
Copy link
Contributor

@zpao zpao commented May 7, 2019

Instead of looking for a very specfic string in a part of the docblock,
and then checking the entire docblock for "no" (which can show up in
copyrights, or just general comments that may be documenting a file),
actually see if there's a @noflow comment.

Instead of looking for a very specfic string in a part of the docblock,
and then checking the entire docblock for "no" (which can show up in
copyrights, or just general comments that may be documenting a file),
actually see if there's a @noflow comment.
@gajus gajus merged commit 397b7a1 into gajus:master May 8, 2019
@gajus
Copy link
Owner

gajus commented May 8, 2019

🎉 This PR is included in version 3.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label May 8, 2019
kangax pushed a commit to kangax/eslint-plugin-flowtype that referenced this pull request May 17, 2019
…age (gajus#404)

Instead of looking for a very specfic string in a part of the docblock,
and then checking the entire docblock for "no" (which can show up in
copyrights, or just general comments that may be documenting a file),
actually see if there's a @noflow comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants