You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ For questions and support please visit the [`#linting`](https://babeljs.slack.co
17
17
## Known Issues
18
18
19
19
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`.
21
21
-`no-undef` for global flow types: `ReactElement`, `ReactClass`[#130](https://github.com/babel/babel-eslint/issues/130#issuecomment-111215076)
22
22
- Workaround: define types as globals in `.eslintrc` or define types and import them `import type ReactElement from './types'`
23
23
-`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