
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@aivenio/eslint-config-aiven
Advanced tools
ESLint configuration, following the styleguide of aiven.io
Our internal ESLint and prettier configuration. We want to autoformat code like prettier does, but also do more static checks that eslint does. To do both, we use eslint-plugin-prettier and eslint acts as the frontend to check and autofix style and other issues.
The configuration is split into:
@aivenio/eslint-config-aiven
@aivenio/eslint-config-aiven/react
@aivenio/eslint-config-aiven/typescript-type-checked
npm install @aivenio/eslint-config-aiven
Create an .eslintrc file to your repository root and select which configuration to use:
{
"extends": ["@aivenio/eslint-config-aiven"]
// "extends": ["@aivenio/eslint-config-aiven/react", "@aivenio/eslint-config-aiven/typescript-type-checked"]
}
When using eslint-config-aiven/react
, install the required peer dependencies: eslint-plugin-react
, eslint-plugin-react-hooks
and eslint-plugin-jsx-a11y
.
"eslint:fix": "eslint --config .eslintrc --fix \"src/**/*.{ts,tsx}\"",
"eslint:check": "eslint --config .eslintrc \"src/**/*.{ts,tsx}\"",
Follow all steps in "Install recommended base" first
Install additional peer dependencies
npm i --save-dev eslint-plugin-jsx-a11y
npm i --save-dev eslint-plugin-react
{
"extends": ["@aivenio/eslint-config-aiven/react"]
}
FAQs
ESLint configuration, following the styleguide of aiven.io
We found that @aivenio/eslint-config-aiven demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.