Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit 24855a4

Browse files
danharperhzoo
authored andcommitted
eslint-plugin-flow-vars -> eslint-plugin-flowtype (#374) [skip ci]
1 parent 43d6bad commit 24855a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For questions and support please visit the [`#linting`](https://babeljs.slack.co
1717
## Known Issues
1818

1919
Flow:
20-
> Check out [eslint-plugin-flow-vars](https://github.com/zertosh/eslint-plugin-flow-vars): An `eslint` plugin that makes flow type annotations global variables and marks declarations as used. Solves the problem of false positives with `no-undef` and `no-unused-vars`.
20+
> Check out [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype): An `eslint` plugin that makes flow type annotations global variables and marks declarations as used. Solves the problem of false positives with `no-undef` and `no-unused-vars`.
2121
- `no-undef` for global flow types: `ReactElement`, `ReactClass` [#130](https://github.com/babel/babel-eslint/issues/130#issuecomment-111215076)
2222
- Workaround: define types as globals in `.eslintrc` or define types and import them `import type ReactElement from './types'`
2323
- `no-unused-vars/no-undef` with Flow declarations (`declare module A {}`) [#132](https://github.com/babel/babel-eslint/issues/132#issuecomment-112815926)

0 commit comments

Comments
 (0)