Skip to content

Commit

Permalink
Run eslint --fix
Browse files Browse the repository at this point in the history
Summary:
CI is currently failing because of a lint issue, this fixes it and a bunch of other warnings that are auto-fixable.

**Test plan**
Quick manual test, cosmetic changes only.
Closes facebook/react-native#16229

Differential Revision: D6009748

Pulled By: TheSavior

fbshipit-source-id: cabd44fed99dd90bd0b35626492719c139c89f34
  • Loading branch information
janicduplessis authored and facebook-github-bot committed Oct 10, 2017
1 parent f5856a9 commit 93dc4f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 1 addition & 3 deletions js/SwipeableFlatListExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ const SwipeableFlatListExample = createReactClass({
<View style={styles.row}>
<Image style={styles.rowIcon} source={item.icon} />
<View style={styles.rowData}>
<Text style={styles.rowDataText}>
{item.data}
</Text>
<Text style={styles.rowDataText}>{item.data}</Text>
</View>
</View>
);
Expand Down
2 changes: 1 addition & 1 deletion js/TVEventHandlerExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class TVEventHandlerView extends React.Component<$FlowFixMeProps, {
this._tvEventHandler.enable(this, function(cmp, evt) {
cmp.setState({
lastEventType: evt.eventType
})
});
});
}

Expand Down
5 changes: 2 additions & 3 deletions js/TextInputExample.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ exports.examples = [
<TextInput
defaultValue="Highlight Color is red"
selectionColor={'red'}
style={styles.singleLine}>
</TextInput>
style={styles.singleLine} />
</View>
);
}
Expand Down Expand Up @@ -746,7 +745,7 @@ exports.examples = [
<SelectionExample
multiline
style={styles.multiline}
value={"multiline text selection\ncan also be changed"}
value={'multiline text selection\ncan also be changed'}
/>
</View>
);
Expand Down
6 changes: 3 additions & 3 deletions js/TextInputExample.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,12 @@ exports.examples = [
<View>
<TextInput
style={styles.default}
selectionColor={"green"}
selectionColor={'green'}
defaultValue="Highlight me"
/>
<TextInput
style={styles.default}
selectionColor={"rgba(86, 76, 205, 1)"}
selectionColor={'rgba(86, 76, 205, 1)'}
defaultValue="Highlight me"
/>
</View>
Expand Down Expand Up @@ -872,7 +872,7 @@ exports.examples = [
<SelectionExample
multiline
style={styles.multiline}
value={"multiline text selection\ncan also be changed"}
value={'multiline text selection\ncan also be changed'}
/>
</View>
);
Expand Down

0 comments on commit 93dc4f2

Please sign in to comment.