1.0.2 • Published 4 years ago
@hhp-tools/eslint-config v1.0.2
@hhp-tools/eslint-config
简介
统一 eslint 配置,支持 vue,js,ts 文件的检查
注意:会读取
prettier的设置,建议配合prettier一起食用
使用
安装依赖
npm i -D @hhp-tools/eslint-config在 package.json 中配置
{
"eslintConfig": {
"extends": ["@hhp-tools/eslint-config"]
}
}或者在 .eslintrc.* 中配置
{
"extends": "@hhp-tools/eslint-config"
}