
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.
eslint-plugin-electron
Advanced tools
安装node:http://nodejs.cn/
安装脚手架:npm install -g yo generator-eslint
进入根目录安装依赖:npm install
+ docs
+ rules # 规则说明,由yo:rules自动生成
- 规则1.md
- 规则2.md
- ...
+ examples # eslint-plugin-electron 使用的例子
+ lib # 源文件目录
- const # 常量
- utils # 公共方法
+ rules # 规则文件,目录结构由yo:rules生成,开发者自己填充内容
- 规则1.js
- 规则2.js
- ...
+ tests # 单测用例,目录结构由yo:rules生成,开发者自己填充内容
- 规则1.js
- 规则2.js
- ...
使用 yo eslint:rule 自动生成规则,生成之后会自动创建三个文件:
// 创建一条名为“no-console”的规则
docs/rules/no-console.md // 规则说明文档
lib/rules/no-console.js // 规则源码
tests/lib/rules/no-console.js // 规则单测用例
npm test
https://www.electronjs.org/docs/breaking-changes#removed-marked-property-on-getblinkmemoryinfo
FAQs
eslint-plugin-electron
The npm package eslint-plugin-electron receives a total of 341 weekly downloads. As such, eslint-plugin-electron popularity was classified as not popular.
We found that eslint-plugin-electron 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.
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.