-
-
Notifications
You must be signed in to change notification settings - Fork 51k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: 🆙 upgrade react-slick and eslint-config-airbnb #18209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests to make sure this change works as expected?
Deploy preview for ant-design ready! Built with commit 9095189 |
@@ -56,6 +56,8 @@ const eslintrc = { | |||
'jsx-a11y/anchor-is-valid': 0, | |||
'comma-dangle': ['error', 'always-multiline'], | |||
'react/jsx-filename-extension': 0, | |||
'react/state-in-constructor': 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个感觉是应该要改掉的,contructor 里面通过 props 取 state 初始值的逻辑都可以合并到 getDerivedStateFromProps 里。
package.json
Outdated
@@ -90,7 +90,7 @@ | |||
"rc-util": "^4.6.0", | |||
"react-lazy-load": "^3.0.13", | |||
"react-lifecycles-compat": "^3.0.4", | |||
"react-slick": "~0.24.0", | |||
"react-slick": "~0.25.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5006c01
to
ce89fb6
Compare
Codecov Report
@@ Coverage Diff @@
## master #18209 +/- ##
==========================================
- Coverage 96.32% 96.28% -0.04%
==========================================
Files 276 276
Lines 7520 7520
Branches 2048 2048
==========================================
- Hits 7244 7241 -3
- Misses 274 277 +3
Partials 2 2
Continue to review full report at Codecov.
|
akiran/react-slick@97988e8#diff-84b66437c6b7a9ed244642c3423bee13R130 broken React 15 test case. |
30ff7c3
to
d37af41
Compare
d37af41
to
9095189
Compare
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge