
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.