Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
eslint-plugin-flowtype-errors
Advanced tools
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
Also make sure that your .flowconfig
is in the root of your project directory
/**
* @flow
*/
Run eslint
and and you're all set!
Flow is supported on all OS's except Windows 32bit. Add this line to appveyor to make tests run properly.
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 7,662 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.