Skip to content

Commit 078bacf

Browse files
committed
Bump react-scripts to v4.0.3
Due to a change in create-react-app in v4.0, eslint errors block React apps from building. See facebook/create-react-app#9887. To fix this, v4.0.3 of react-scripts introduces a new flag that disables eslint. See facebook/create-react-app#10170. This update allows the app to be built in spite of eslint errors.
1 parent 7e22c8e commit 078bacf

File tree

2 files changed

+299
-125
lines changed

2 files changed

+299
-125
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"react-draggable": "4.3.1",
2121
"react-motion": "^0.5.2",
2222
"react-redux": "^7.2.2",
23-
"react-scripts": "4.0.0",
23+
"react-scripts": "4.0.3",
2424
"redux": "^4.0.5",
2525
"web-vitals": "^0.2.4",
2626
"workbox-background-sync": "^5.1.3",
@@ -63,12 +63,12 @@
6363
]
6464
},
6565
"devDependencies": {
66-
"react-test-renderer": "^17.0.2",
6766
"eslint": "^7.23.0",
6867
"eslint-config-airbnb": "^18.2.1",
6968
"eslint-plugin-import": "^2.22.1",
7069
"eslint-plugin-jsx-a11y": "^6.4.1",
7170
"eslint-plugin-react": "^7.23.1",
72-
"eslint-plugin-react-hooks": "^4.2.0"
71+
"eslint-plugin-react-hooks": "^4.2.0",
72+
"react-test-renderer": "^17.0.2"
7373
}
7474
}

0 commit comments

Comments
 (0)