eslint-config-miyu
v0.0.4
Published
This package provides web JS .eslintrc (without React plugins) as an extensible shared config.
Downloads
6
Readme
项目说明
本项目提供了web项目基本JS .eslintrc作为可扩展的共享配置。
使用说明
注意eslint-congfig并不会帮安装开发依赖,所以需要手动安装一些依赖
- 检测所有依赖版本
npm info "eslint-config-bjj@latest" peerDependencies
- 使用install-peerdeps 安装相关依赖以及peerdeps
npx install-peerdeps --dev eslint-config-bjj
之后在.eslintrc
文件中加入配置"extends": "eslint-config-bjj"
,
// .eslintrc
{
"extends": [
"eslint-config-bjj"
]
}