Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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
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 0 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.