mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Resolve Outstanding ESLint Warnings
Summary: Resolves outstanding ESLint warnings in React Native. Changelog: [Internal] Reviewed By: lunaleaps Differential Revision: D32291912 fbshipit-source-id: 61337d5a5a0e6ed55f732675e029f4b76d850af9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9fc3fc83ac
commit
148c98ec80
@@ -105,7 +105,7 @@ class ScrollViewTestApp extends React.Component<Props, State> {
|
||||
}
|
||||
|
||||
render(): React.Node {
|
||||
scrollViewApp = this;
|
||||
scrollViewApp = this; // eslint-disable-line consistent-this
|
||||
const children = this.state.data.map((item, index) => (
|
||||
<Item
|
||||
key={index}
|
||||
@@ -139,7 +139,7 @@ class HorizontalScrollViewTestApp extends React.Component<Props, State> {
|
||||
}
|
||||
|
||||
render(): React.Node {
|
||||
scrollViewApp = this;
|
||||
scrollViewApp = this; // eslint-disable-line consistent-this
|
||||
const children = this.state.data.map((item, index) => (
|
||||
<Item
|
||||
key={index}
|
||||
|
||||
Reference in New Issue
Block a user