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

Proposal: Integrate eslint-plugin-flow-vars #35

Closed
zpao opened this issue Jul 19, 2016 · 8 comments
Closed

Proposal: Integrate eslint-plugin-flow-vars #35

zpao opened this issue Jul 19, 2016 · 8 comments

Comments

@zpao
Copy link
Contributor

zpao commented Jul 19, 2016

@zertosh wrote https://github.com/zertosh/eslint-plugin-flow-vars in order to make sure type imports and definitions are marked as used (helpful when used in conjunction with no-unused-vars & no-undef). It would be great to integrate the rules from that plugin here so we can consolidate the disparate Flow-related rules into a single plugin for Flow usage. Or maybe there's a different way to achieve the same thing (not sure if we can do it via a config now or something, I'm not familiar with how that works).

@zertosh
Copy link
Contributor

zertosh commented Jul 20, 2016

I'd be more than happy to make a PR that moves the rules here. Then do one more release of eslint-plugin-flow-vars marking it as deprecated in favor of eslint-plugin-flowtype.

@gajus
Copy link
Owner

gajus commented Jul 20, 2016

@zertosh Your PR is very welcome.

@gajus
Copy link
Owner

gajus commented Jul 21, 2016

@zertosh, Just in case, if you need any help, please don't hesitate to contact me.

@zertosh
Copy link
Contributor

zertosh commented Jul 25, 2016

PR is up

@zertosh
Copy link
Contributor

zertosh commented Jul 25, 2016

@gajus gajus closed this as completed in #36 Jul 27, 2016
@hzoo
Copy link

hzoo commented Aug 3, 2016

In babel/babel-eslint#357, was planning on removing the logic to mark flow types as actually used (instead of marking everything as global) since it's difficult to maintain and can be wrong like mentioned and was going to recommend https://github.com/zertosh/eslint-plugin-flow-vars but now it seems this project instead?

@gajus
Copy link
Owner

gajus commented Aug 3, 2016

was going to recommend https://github.com/zertosh/eslint-plugin-flow-vars but now it seems this project instead?

Thats correct. Thanks to @zertosh

@zertosh
Copy link
Contributor

zertosh commented Aug 3, 2016

@hzoo yup. I'm deprecating eslint-plugin-flow-vars in favor of eslint-plugin-flowtype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants