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

refactor(lint): explorer app #132

Merged
merged 22 commits into from Sep 19, 2018
Merged

refactor(lint): explorer app #132

merged 22 commits into from Sep 19, 2018

Conversation

artyorsh
Copy link
Collaborator

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Fix of eslint warnings in explorer app

<View style={[UtilStyles.section, UtilStyles.bordered]}>
<RkText rkType='header'>Base avatar</RkText>
<View style={UtilStyles.columnContainer}>
<Avatar source={require('../img/avatars/image3.png')} name='Elena Zhukova' />
Copy link
Member

Choose a reason for hiding this comment

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

Let's keep abstract names

<RkText>Button</RkText>
<RkText rkType='danger'>{"</RkButton>"}</RkText>
</View>
render = () => (
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need to define render method as property?
We never call it directly.

<RkChoice
style={{ backgroundColor: 'transparent', borderWidth: 0 }}
renderContentFunction={this.renderCustomChoiceContent}
selected
Copy link
Member

Choose a reason for hiding this comment

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

Is there a chance to add a rule which will stand that value is mandatory for all attributes?

renderSeparator={this.renderSeparator}
automaticallyAdjustContentInsets
keyboardDismissMode="on-drag"
keyboardShouldPersistTaps='always'
Copy link
Member

Choose a reason for hiding this comment

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

what about quotes here?

style={UtilStyles.container}
automaticallyAdjustContentInsets={true}>
onChoiceGroupValueChange = (index) => {
// const { params } = this.props.navigation.state;
Copy link
Member

Choose a reason for hiding this comment

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

remove comment

@malashkevich malashkevich merged commit 837d372 into akveo:master Sep 19, 2018
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

2 participants