
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
@uni-helper/eslint-config
Advanced tools
基于 Anthony's ESLint Config、适用于 uni-app 项目的 ESLint Config。
eslint | @antfu/eslint-config | @uni-helper/eslint-config | Node 要求(总是建议使用最新的 LTS 版本) | 备注 |
---|---|---|---|---|
^8.40.0 | ^2.25.0 | ^0.1.0 | ^12.22.0 || ^14.17.0 || >=16.0.0 | |
^9.5.0 | ^3.0.0 | ^0.2.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 | |
^9.10.0 | ^3.4.0 | ^0.2.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 | |
^9.10.0 | ^3.13.0 | ^0.3.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 | |
^9.10.0 | ^4.0.1 | ^0.4.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 | 没有 CJS 支持 |
^9.10.0 | ^5.0.0 | ^0.5.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 | 没有 CJS 支持 |
pnpm i -D eslint @antfu/eslint-config @uni-helper/eslint-config
在项目根目录创建 eslint.config.mjs
:
// eslint.config.mjs
import uniHelper from '@uni-helper/eslint-config'
export default uniHelper()
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
更多配置及选项请查看 @antfu/eslint-config 的文档,如:
FAQs
Uni Helper's ESLint config
We found that @uni-helper/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.