npm.devtool.tech
👏 You can access eslint-plugin-flow-vars package with using eslintPluginFlowVars variable in browser devtools!
Solves the problem of false positives with `no-undef` and `no-unused-vars` when using babel-eslint

code/package/bundle size

0B
publish
0B
install
0B
bundle minified
0B
bundle gzipped

eslint-plugin-flow-vars

Build Status

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 when using babel-eslint.

Usage

npm install eslint babel-eslint eslint-plugin-flow-vars

In your .eslintrc:

{
  "parser": "babel-eslint",
  "plugins": [
    "flow-vars"
  ],
  "rules": {
    "flow-vars/define-flow-type": 1,
    "flow-vars/use-flow-type": 1
  }
}
🔎Explore Package🔎CDN Script

Score

Popularity13/100
Quality62/100
Maintenance42/100