
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
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 619 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.