Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
eslint-config-cheminfo
Advanced tools
Shared ESLint config for cheminfo and ml.js projects.
npx install-peerdeps --dev eslint-config-cheminfo
Create a .eslintrc.yml
with the following contents:
extends: cheminfo
You can then customize the config for your project by changing rules in this file.
Create ESLint scripts in your package.json
:
{
"scripts": {
"eslint": "eslint src --cache",
"eslint-fix": "npm run eslint -- --fix"
}
}
https://github.com/cheminfo/eslint-config-cheminfo-typescript
https://github.com/cheminfo/eslint-config-cheminfo-react
You can extend both of the above configurations as they are compatible between each other:
extends:
- cheminfo-typescript
- cheminfo-react
jest/expect-expect
is flagging my test but I assert in an external functionYou can override this by adding a comment like this at the top of your test file:
/* eslint jest/expect-expect: ["error", { "assertFunctionNames": ["expect", "functionThatCallsExpect"] }] */
FAQs
Shared ESLint config for cheminfo and ml.js projects
We found that eslint-config-cheminfo 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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.