
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@huyafed/eslint-config-huya-vue
Advanced tools
扩展了 eslint-config-huya, 使其支持 vue 语法, 同时添加了一些 vue 文件的规则, 规则详情.
npm install -D eslint
npm install -D @huyafed/eslint-config-huya-vue --registry=http://npm.huya.com
module.exports = {
extends: [
'@huyafed/eslint-config-huya-vue',
],
}
如果你通过 cdn 引入了一些全局依赖(比如 TT ), 又不想通过 window.TT 来访问, 那么可以加入 global 属性
module.exports = {
globals: {
TT: 'readonly',
},
extends: [
'@huyafed/eslint-config-huya-vue',
],
// 如果代码中引入了测试框架, 那么会带来大量的全局变量
// 可以设置 env 属性, 避免写大量的 globals
/*
* env: {
* mocha: true,
* jest: true,
* jquery: true,
* },
*/
}
可参考 eslint-config-huya
的设置, 链接
可参考 eslint-config-huya
的设置, 链接
可参考 eslint-config-huya
的设置, 链接
git commit
时, 自动对代码进行检查, 防止不小心将错误的代码引入代码库可参考 eslint-config-huya
的设置, 链接
可参考 eslint-config-huya
的设置, 链接
FAQs
eslint rules
The npm package @huyafed/eslint-config-huya-vue receives a total of 0 weekly downloads. As such, @huyafed/eslint-config-huya-vue popularity was classified as not popular.
We found that @huyafed/eslint-config-huya-vue 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.
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.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.