-
Notifications
You must be signed in to change notification settings - Fork 734
prop-deprecation - required prop - support method and member #1510
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
prop-deprecation - required prop - support method and member #1510
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.
Cool!
Just a small indentation issue :)
import {Picker} from 'module-with-deprecations'; | ||
const getPickerProps = () => ({t: "title", s:"subtitle", migrate: true}); | ||
<Picker {...getPickerProps()}/> | ||
` | ||
}, | ||
{ | ||
options: ruleOptions, | ||
code: ` | ||
import {Picker} from 'module-with-deprecations'; | ||
pickerProps = {t: "title", s:"subtitle", migrate: true}; | ||
<Picker {...this.pickerProps}/> | ||
` |
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.
Please fix the indentation here :)
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.
Updated automatically, don't think it fixed what you meant, but I'm not really sure which line you wanted me to fix :/
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.
lines 103-106 and 111-114
each line should have an indentation of 8 spaces but have 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.
I don't see any errors...
I'll assume you meant 6 spaces, I've indented the same as the rest of the file.
Description
prop-deprecation - required prop - support method and member
Changelog
prop-deprecation - required prop - support method and member