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

How to use it with flow type annotations #507

Closed
giacomorebonato opened this issue May 2, 2016 · 4 comments

Comments

@giacomorebonato
Copy link

commented May 2, 2016

Is there any recommended way to use standard linting together with Flow Type annotations?

@feross feross added the question label May 2, 2016

@feross

This comment has been minimized.

Copy link
Member

commented May 2, 2016

Try using https://www.npmjs.com/package/eslint-plugin-flowtype

npm install eslint-plugin-flowtype

And add this to package.json:

{
  "standard": {
    "plugins": [
      "flowtype"
    ]
  }
}

@feross feross closed this May 2, 2016

@giacomorebonato

This comment has been minimized.

Copy link
Author

commented May 2, 2016

Did you mean .eslintrc right? Thanks.

@feross

This comment has been minimized.

Copy link
Member

commented May 2, 2016

No. standard does not use .eslintrc.

@giacomorebonato

This comment has been minimized.

Copy link
Author

commented May 2, 2016

ok, thank you for pointing me in the right direction

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.