eslint-config-hyder

1.1.0 • Public • Published

使用说明

yarn add --dev eslint eslint-config-hyder

.eslintrc中配置

{
  extends: 'hyder',
  rules: {
    // custom rules
  }
}

package.json中配置

{
  "scripts": {
    "lint": "eslint src"
  }
}

然后就可以yarn lint来检测代码了。

使用 yarn lint --fix 自动修复一些格式不规范的点。

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-hyder

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

2.6 kB

Total Files

4

Last publish

Collaborators

  • bencode