eslint-config-base
Project setup
yarn add @ztjy/eslint-config-base -D
Compiles and hot-reloads for development
1、项目根目录爱下 新建 .eslint.js 文件,添加以下代码
module.exports = {
extends: ['@ztjy/eslint-config-base'],
}
Customize configuration
See Eslint Rules.