-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add rule to enforce error codes on flow suppressions #453
Labels
Comments
Flow can enforce this with their configs, Thoughts @christianvuerings ? |
@Brianzchen We already have
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flow version 0.121.0 allows for more specific error suppressions:
https://medium.com/flow-type/making-flow-error-suppressions-more-specific-280aa4e3c95c
It would be wonderful if we could have a rule which requires these specific error suppressions:
// $FlowFixMe
would fail since it has no valid error code specified// $FlowFixMe[incompatible-type]
would pass since it does have a valid error codeThe text was updated successfully, but these errors were encountered: