
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
eslint-config-hypothesis
Advanced tools
A shareable ESLint configuration for Hypothesis frontend projects.
To use it:
eslint-config-hypothesis
as a dependency to your projectpeerDependencies
in package.json
)
to your project's dependencies. Some of them are required only for some
entry points.eslint.config.js
file with the
following content:
import hypothesisBase from 'eslint-config-hypothesis/base';
import hypothesisTS from 'eslint-config-hypothesis/ts';
import hypothesisJSX from 'eslint-config-hypothesis/jsx';
export default [
...hypothesisBase,
...hypothesisTS, // Optionally add this if the project uses TypeScript
...hypothesisJSX, // Optionally add this if the project uses JSX
{
// Other project config
},
];
/base
entry point, all recommended
rules from @eslint/js
are enabled
and the config assumes that you are using mocha for tests/jsx
entry point, all react.recommended
, react.jsx-runtime
,
react-hooks
and jsx-a11y.recommended
rules are enabled, assuming
React/Preact is used for any interactive UI/ts
entry point, all typescript-eslint.recommended
rules are enabledFAQs
A base ESLint configuration for Hypothesis projects
The npm package eslint-config-hypothesis receives a total of 329 weekly downloads. As such, eslint-config-hypothesis popularity was classified as not popular.
We found that eslint-config-hypothesis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.