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-config-xo-react
Advanced tools
ESLint shareable config for React to be used with eslint-config-xo
ESLint shareable config for React to be used with eslint-config-xo
npm install --save-dev eslint-config-xo eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks
Add some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": [
"xo",
"xo-react"
]
}
}
Or to .eslintrc:
{
"extends": [
"xo",
"xo-react"
]
}
Use the space
sub-config if you want 2 space indentation instead of tabs:
{
"extends": [
"xo",
"xo-react/space"
]
}
You can also mix it with a XO sub-config:
{
"extends": [
"xo/esnext",
"xo-react"
]
}
$ npm install --save-dev eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks
{
"name": "my-awesome-project",
"xo": {
"extends": "xo-react"
}
}
FAQs
ESLint shareable config for React to be used with eslint-config-xo
We found that eslint-config-xo-react 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.