Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIssues working with Standard + Flow/ Flowtype (question/ asking for help!) #1139
Comments
This comment has been minimized.
This comment has been minimized.
|
According to this comment #984 (comment), the best workaround is to pin As far as I'm aware, this is a bug in |
feross
closed this
May 23, 2018
feross
added
the
question
label
May 23, 2018
This comment has been minimized.
This comment has been minimized.
|
thanks @feross that has sorted it |
lock
bot
locked as resolved and limited conversation to collaborators
Aug 21, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
frednomoon commentedMay 21, 2018
What version of standard?
standard@10.0.3
eslint@4.19.1
eslint-plugin-flowtype@2.46.3
What operating system, Node.js, and npm version?
npm 5.6.9
node 10.1.0
macos 10.12.6
What did you expect to happen?
I'm trying to use flow to enforce some interface types in my code, but struggling to get standard to recognise valid flow syntax.
Currently I have written:
Which should return no errors
What actually happened?
Standard is underlining
Responsejust after the keywordinterfacewith the message:[standard] Response is not defined. (no-undef).In my package.json I have added the following as instructed by the docs
I expect I am lacking some config somewhere, but have had no luck getting to the bottom of this! Any help / suggestions much appreciated