0.0.1 • Published 2 years ago

@solar_fe/eslint-config v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@solar_fe/eslint-config

个人使用的 eslint 配置

快速开始

安装

npm install @solar_fe/eslint-config -D

使用

创建 .eslintrc.js 并加入以下配置:

module.exports = {
  extends: [
    '@solar_fe/eslint-config'                      // JS 项目
    // '@solar_fe/eslint-config/typescript'        // TS 项目
    // '@solar_fe/eslint-config/react'             // React 项目
    // '@solar_fe/eslint-config/typescript/react'  // React-Ts
  ],
};