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.
@substantial/eslint-config
Advanced tools
A base, hopefully non-controversial eslint config for our projects.
$ yarn add --dev @substantial/eslint-config eslint-config-prettier eslint-plugin-prettier
For jest also run:
$ yarn add --dev eslint-plugin-jest
For react also run:
$ yarn add --dev eslint-config-react-app @typescript-eslint/eslint-plugin @typescript-eslint/parser babel-eslint eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
Add this to your eslint config, leaving out any configs that do not apply to your project:
{
"extends": [
"@substantial/eslint-config",
"@substantial/eslint-config/react",
],
"overrides": [
{
"files": ["**/*.test.[jt]s?(x)"],
"extends": [
"@substantial/eslint-config/jest"
]
}
]
}
Uses eslint:recommended
as well as some of the TypeScript overrides from eslint-config-react-app
The usage guide assumes tests are in files ending in .test.js
(or jsx
, ts
,
tsx
), but you may change the files override to anything you like.
FAQs
Substantial's minimal eslint config
The npm package @substantial/eslint-config receives a total of 1 weekly downloads. As such, @substantial/eslint-config popularity was classified as not popular.
We found that @substantial/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.