
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@chancedigital/eslint-config
Advanced tools
Shareable configuration for ESLint following Chance Digital Coding Standards.
Shareable configuration for ESLint following Chance Digital Coding Standards.
You should install this configuration along with its peerDependencies as devDependencies in your project:
npm i -D @chancedigital/eslint-config eslint@7 eslint-plugin-import@2 @babel/eslint-parser@7
Extend the configuration from your project's ESLint configuration:
// .eslintrc
{
"extends": ["@chancedigital"]
}
In addition to the base ruleset, you may wish to install supersets of rules based on the project you are working on. Supersets are not mutually exclusive and can be combined (for example, if you are working on a WordPress project that uses React components, you can use both the react and wp supersets).
You can extend any superset in .eslintrc by adding the standard into an extends array.
// .eslintrc
{
"extends": [
"@chancedigital/eslint-config/[SUPERSET_NAME]"
]
}
The following is a table of available supersets along with their required devDependencies:
| Superset | devDependencies |
|---|---|
jest | eslint-plugin-jest@24 eslint-plugin-testing-library@4 |
mocha | eslint-plugin-mocha@8 |
node | eslint-plugin-node@11 |
react | eslint-plugin-react@7 eslint-plugin-react-hooks@4 eslint-plugin-jsx-a11y eslint-plugin-jest@24 eslint-plugin-testing-library@4 @babel/preset-react @7 |
typescript | @typescript-eslint/parser@4 @typescript-eslint/eslint-plugin@4 typescript@4 |
wp | eslint-plugin-wpcalypso@5 @wordpress/eslint-plugin@7 |
As of v5.0, we have removed the Jest rules from the standard config. This is because some projects may use other tools such as Mocha. To use rules for Jest or Mocha, install the corresponding plugin and extend the superset as follows:
# For Jest
npm i -D eslint-plugin-jest@23
# For Mocha
npm i -D eslint-plugin-mocha@7
// .eslintrc
"extends": [
// For Jest
"@chancedigital/eslint-config/jest"
// For Mocha
"@chancedigital/eslint-config/mocha"
]
Refer to the ESLint documentation on Shareable Configs for more information.
FAQs
Shareable configuration for ESLint following Chance Digital Coding Standards.
The npm package @chancedigital/eslint-config receives a total of 24 weekly downloads. As such, @chancedigital/eslint-config popularity was classified as not popular.
We found that @chancedigital/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.