eslint-config-fir

0.0.4 • Public • Published

ESLint config for fir-ui

本规则继承自 eslint-config-xo ,并做了一些个性化设置。

🌟 个性化规则

  • 使用两个空格缩进
  • 字符串使用单引号
  • 行末无逗号
  • 花括号之间有空格
  • 允许: if (false) return
  • 允许: fn && fn()

📥 安装

yarn add eslint-config-fir -D

🔧 使用

package.json:

{
  "eslintConfig": {
    "extends": "fir"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-fir

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

1.21 kB

Total Files

4

Last publish

Collaborators

  • funch