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

Flow Type Annotations #2157

Closed
balupton opened this issue Mar 27, 2015 · 1 comment
Closed

Flow Type Annotations #2157

balupton opened this issue Mar 27, 2015 · 1 comment
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion

Comments

@balupton
Copy link

There is #1486 which was closed as it was not possible at the time.

It is now possible with the babel-eslint parser as babel supports flow type.

So how do we make this happen?

@nzakas
Copy link
Member

nzakas commented Mar 27, 2015

We aren't going to natively support Flow type annotations in the foreseeable future. You can still use babel-eslint or esprima-fb as a parser for ESLint, and it will parse the files okay. You can also then create your own rules that look at the type annotations and do whatever you want.

@nzakas nzakas closed this as completed Mar 27, 2015
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 7, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

No branches or pull requests

2 participants