Skip to content
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

Wrap accessors passed in subLayerProps #3675

Merged
merged 1 commit into from Sep 23, 2019
Merged

Conversation

Pessimistress
Copy link
Collaborator

For #3671

Change List

  • Wrap overriding accessors
  • Tests

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 83.002% when pulling e42dae8 on x/sub-layer-accessor into 4d2b650 on master.

const propTypes = this.constructor._propTypes;
for (const key in overridingSublayerProps) {
const propType = propTypes[key];
// eslint-disable-next-line
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which rule needs to be ignored? eslint-disable-next-line ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max-depth

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use // eslint-disable-next-line max-depth

@Pessimistress Pessimistress merged commit 5a3a754 into master Sep 23, 2019
@Pessimistress Pessimistress deleted the x/sub-layer-accessor branch September 23, 2019 22:55
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.

None yet

4 participants