Skip to content

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

Merged
merged 4 commits into from
Sep 1, 2021

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

prop-deprecation - required prop - support method and member

Changelog

prop-deprecation - required prop - support method and member

@M-i-k-e-l M-i-k-e-l requested a review from Inbal-Tish August 29, 2021 13:01
@M-i-k-e-l M-i-k-e-l assigned Inbal-Tish and lidord-wix and unassigned Inbal-Tish Aug 29, 2021
@M-i-k-e-l M-i-k-e-l requested review from lidord-wix and removed request for Inbal-Tish August 30, 2021 08:07
Copy link
Contributor

@lidord-wix lidord-wix left a 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 :)

Comment on lines 103 to 114
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}/>
`
Copy link
Contributor

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 :)

Copy link
Collaborator Author

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 :/

Copy link
Contributor

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

Copy link
Collaborator Author

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.

@M-i-k-e-l M-i-k-e-l requested a review from lidord-wix September 1, 2021 09:13
@lidord-wix lidord-wix merged commit d3576c7 into master Sep 1, 2021
@M-i-k-e-l M-i-k-e-l deleted the lint/require-prop-support-method-and-member branch October 4, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants