0.0.6 • Published 1 year ago

@raipiot-infra/eslint-config v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@raipiot-infra/eslint-config

npm

raipiot infra 通用 ESLint 配置。

我们使用 ESLint 来进行代码风格校验。

从 VSCode 插件中搜索并安装插件 ESLint

安装

pnpm add -D eslint @raipiot-infra/eslint-config

配置

在根目录下添加 .eslintrc.json 文件,内容如下:

{
  "extends": ["@raipiot-infra"]
}

注意:该包为 @raipiot-infra/eslint-config-react 的别名,根据 ESLint 的配置用于简写引用的包名,可将 /eslint-config-react 后缀省略。

0.0.3

1 year ago

0.0.2

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.1

1 year ago