Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@hjkcai/eslint-config-halo
Advanced tools
eslint-config-halo 支持几种不同类型的项目,通过在 .eslintrc.js 中声明继承不同的规则,即可在不同的项目中得到不同的效果。
下面列举了不同项目类型应该使用的配置,配置中的代码分别是 .eslintrc.js 的内容,和 package.json 中要添加的内容。
module.exports = {
extends: '@hjkcai/eslint-config-halo/js'
};
{
"scripts": {
"lint": "eslint ."
}
}
module.exports = {
extends: '@hjkcai/eslint-config-halo/js/react'
};
{
"scripts": {
"lint": "eslint . --ext .js,.jsx"
}
}
module.exports = {
extends: '@hjkcai/eslint-config-halo/js/vue'
};
{
"scripts": {
"lint": "eslint . --ext .js,.jsx,.vue"
}
}
module.exports = {
extends: '@hjkcai/eslint-config-halo/ts'
};
{
"scripts": {
"lint": "eslint . --ext .js,.ts"
}
}
module.exports = {
extends: '@hjkcai/eslint-config-halo/ts/react'
};
{
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
}
}
module.exports = {
extends: '@hjkcai/eslint-config-halo/ts/vue'
};
{
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue"
}
}
MIT
FAQs
The eslint config for halo team
The npm package @hjkcai/eslint-config-halo receives a total of 2 weekly downloads. As such, @hjkcai/eslint-config-halo popularity was classified as not popular.
We found that @hjkcai/eslint-config-halo demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.