@raipiot-infra/eslint-config-react-native

0.0.6 • Public • Published

@raipiot-infra/eslint-config-react-native

npm

raipiot infra 通用 ESLint 配置,适用于 React Native 项目。

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

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

安装

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

配置

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

{
  "extends": ["@raipiot-infra/eslint-config-react-native"]
}

Package Sidebar

Install

npm i @raipiot-infra/eslint-config-react-native

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

4.92 kB

Total Files

4

Last publish

Collaborators

  • youyiiiiiii
  • brucesong