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-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.
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.