You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get (correct) error on type Props = { ... };, Extra semicolon. (flowtype/semi), but no errors on props: Props; or any of the other Flow annotations inside Button-class.
Is this intentional, or not part of what eslint-plugin-flowtype is supposed to cover?
The text was updated successfully, but these errors were encountered:
danharper
changed the title
Failing to detect components props, default props and state Flow annotation
semi rule doesn't check class properties
Mar 27, 2017
I seems like
eslint-plugin-flowtype
does not detectprops: <PropsObject>
or the state / defaultProps Flow annotations inside ES6 classes.Excerpt from React section in Flow-docs:
.eslintrc
I get (correct) error on
type Props = { ... };
, Extra semicolon. (flowtype/semi), but no errors onprops: Props;
or any of the other Flow annotations inside Button-class.Is this intentional, or not part of what
eslint-plugin-flowtype
is supposed to cover?The text was updated successfully, but these errors were encountered: