Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
eslint-plugin-flowtype-errors
Advanced tools
Get Flowtype errors as ESLint errors!
NOTE: This demo is using Atom and the packages linter
, linter-eslint
, language-babel
This guide assumes that you have installed eslint, babel, babel-plugin-transform-flow-strip-types and configured flow. Check out the from-scratch guide for the full guide on getting started.
Step 1. Install
npm install --save-dev eslint-plugin-flowtype-errors
Step 2. Configure
Add this line to the 'rules' section of your .eslintrc
"flowtype-errors/show-errors": 2
Add this line to the 'plugins' section of your .eslintrc
"flowtype-errors"
Add the @flow
pragma to files that you want to lint
/**
* @flow
*/
Run eslint
and and you're all set!
apm install linter linter-eslint language-babel
http://eslint.org/docs/user-guide/integrations#editors
FAQs
Retrieve Flow errors as ESLint errors.
The npm package eslint-plugin-flowtype-errors receives a total of 13,035 weekly downloads. As such, eslint-plugin-flowtype-errors popularity was classified as popular.
We found that eslint-plugin-flowtype-errors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.