@abouthugo/eslint-config-cra 中文文档教程
Fast & sweet eslint config
这是我用于项目的 eslint 配置。
安装 - 确保你已经启动了一个项目 (npm init
)
npx install-peerdeps --dev @abouthugo/eslint-config-cra
然后,你需要将配置添加到你的 .eslintrc
文件中:
.eslintrc.json
{
"extends": "@abouthugo/eslint-config-cra"
}
Fast & sweet eslint config
This is the eslint config I use for my projects.
Installation - Make sure you have a project started (npm init
)
npx install-peerdeps --dev @abouthugo/eslint-config-cra
Then, you will need to add the config to your .eslintrc
file:
.eslintrc.json
{
"extends": "@abouthugo/eslint-config-cra"
}