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.
[!IMPORTANT]
Configs now require to use the ESLint Flat Config format. See the migration guide for more information.
npm i -D eslint-config-cheminfo eslint@^8.57.0
Create a eslint.config.mjs
file with the following contents:
import cheminfo from 'eslint-config-cheminfo';
export default [...cheminfo];
You can then customize the config for your project.
Create ESLint scripts in your package.json
:
{
"scripts": {
"eslint": "eslint src",
"eslint-fix": "npm run eslint -- --fix"
}
}
This package exports three separate configurations:
eslint-config-cheminfo/base
: The base config with most rules. At least this config should be used in all projects.eslint-config-cheminfo/jsdoc
: Rules from the jsdoc plugin to help improve the documentation of our libraries.eslint-config-cheminfo/unicorn
: Additional opinionated rules selected from the unicorn plugin.The default export from eslint-config-cheminfo
combines all of them.
https://github.com/cheminfo/eslint-config-cheminfo-typescript
https://github.com/cheminfo/eslint-config-cheminfo-react
To extend both the TypeScript and React configs, use the following template:
import typescript from 'eslint-config-cheminfo-typescript';
import react from 'eslint-config-cheminfo-react/base';
export default [...typescript, ...react];
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.