htoooth / eslint-config-htoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htoo eslint config

Usage

使用之前必须安装:

npm install --save-dev eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

使用方法:

  1. 在项目根目录下新建文件: .eslintrc
  2. 写入以下文件:
{
  "extends": "htoo"
}

参考文章

  1. 代码重构之道
  2. 利用 ESLint 检查代码质量

About


Languages

Language:JavaScript 100.0%