@raipiot-infra/eslint-config-react-native
0.0.6 • Public • Published @raipiot-infra/eslint-config-react-native
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"]
}
/@raipiot-infra/eslint-config-react-native/
//
Package Sidebar
Install
npm i @raipiot-infra/eslint-config-react-native
Weekly Downloads