Skip to content

Commit 5ac0419

Browse files
authored
fix: ESlint 检测代码失效(#164) (#165)
* 升级依赖版本 * fix: android 虚拟机不能使用http请求(#151) * fix: eslint 检测代码失效(#164)
1 parent b7e6eac commit 5ac0419

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

HelloWorld/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@
3030
"react-native-safe-area-context": "3.3.2",
3131
"react-native-screens": "3.7.2",
3232
"react-native-svg": "12.1.1",
33-
"redux": "4.1.1",
34-
"react-redux": "7.2.5"
33+
"react-redux": "7.2.5",
34+
"redux": "4.1.1"
3535
},
3636
"devDependencies": {
3737
"@babel/core": "7.15.5",
3838
"@babel/runtime": "7.15.4",
3939
"@react-native-community/eslint-config": "3.0.1",
4040
"babel-jest": "27.2.0",
4141
"eslint": "7.32.0",
42+
"eslint-plugin-prettier": "4.0.0",
4243
"jest": "27.2.0",
4344
"metro-react-native-babel-preset": "0.66.2",
4445
"mocker-api": "2.9.1",

template/template/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"jest": "27.2.0",
4343
"metro-react-native-babel-preset": "0.66.2",
4444
"mocker-api": "2.9.1",
45+
"eslint-plugin-prettier": "4.0.0",
4546
"prettier": "2.4.0",
4647
"react-native-codegen": "0.0.7",
4748
"react-test-renderer": "17.0.2"

0 commit comments

Comments
 (0)