diff --git a/benchmarks/src/components/Box/aphrodite.js b/benchmarks/src/components/Box/aphrodite.js
index cbdab3d5..f7471b7e 100644
--- a/benchmarks/src/components/Box/aphrodite.js
+++ b/benchmarks/src/components/Box/aphrodite.js
@@ -3,7 +3,7 @@ import React from 'react';
import View from '../View/aphrodite';
import { StyleSheet } from 'aphrodite';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = StyleSheet.create({
outer: {
diff --git a/benchmarks/src/components/Box/css-modules.js b/benchmarks/src/components/Box/css-modules.js
index 0b0ec179..6c81bd0a 100644
--- a/benchmarks/src/components/Box/css-modules.js
+++ b/benchmarks/src/components/Box/css-modules.js
@@ -4,7 +4,7 @@ import React from 'react';
import View from '../View/css-modules';
import styles from './styles.css';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
module.exports = Box;
diff --git a/benchmarks/src/components/Box/glamor.js b/benchmarks/src/components/Box/glamor.js
index e293cc6e..a4fbf12e 100644
--- a/benchmarks/src/components/Box/glamor.js
+++ b/benchmarks/src/components/Box/glamor.js
@@ -2,7 +2,7 @@
import React from 'react';
import View from '../View/glamor';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = {
outer: {
diff --git a/benchmarks/src/components/Box/jss.js b/benchmarks/src/components/Box/jss.js
index d4b7dd74..221e6a80 100644
--- a/benchmarks/src/components/Box/jss.js
+++ b/benchmarks/src/components/Box/jss.js
@@ -4,7 +4,7 @@ import injectSheet from 'react-jss';
import React from 'react';
import View from '../View/jss';
-const Box = ({ classes, color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ classes, color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = {
outer: {
diff --git a/benchmarks/src/components/Box/react-native-stylesheet.js b/benchmarks/src/components/Box/react-native-stylesheet.js
index fafcf9a0..3a938c28 100644
--- a/benchmarks/src/components/Box/react-native-stylesheet.js
+++ b/benchmarks/src/components/Box/react-native-stylesheet.js
@@ -3,7 +3,7 @@ import React from 'react';
import StyleSheet from 'react-native/apis/StyleSheet';
import View from '../View/react-native-stylesheet';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = StyleSheet.create({
outer: {
diff --git a/benchmarks/src/components/Box/react-native.js b/benchmarks/src/components/Box/react-native.js
index d844e4fc..7abaac74 100644
--- a/benchmarks/src/components/Box/react-native.js
+++ b/benchmarks/src/components/Box/react-native.js
@@ -2,7 +2,7 @@
import React from 'react';
import { StyleSheet, View } from 'react-native';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = StyleSheet.create({
outer: {
diff --git a/benchmarks/src/components/Box/reactxp.js b/benchmarks/src/components/Box/reactxp.js
index 76a358e6..a58fecba 100644
--- a/benchmarks/src/components/Box/reactxp.js
+++ b/benchmarks/src/components/Box/reactxp.js
@@ -2,7 +2,7 @@
import React from 'react';
import { Styles, View } from 'reactxp';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = {
outer: Styles.createViewStyle({
diff --git a/benchmarks/src/components/Box/styletron.js b/benchmarks/src/components/Box/styletron.js
index dd465197..25365812 100644
--- a/benchmarks/src/components/Box/styletron.js
+++ b/benchmarks/src/components/Box/styletron.js
@@ -3,7 +3,7 @@ import { injectStylePrefixed } from 'styletron-utils';
import React from 'react';
import View, { styletron } from '../View/styletron';
-const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) => (
+const Box = ({ color, fixed = false, layout = 'column', outer = false, ...other }) =>
-);
+ />;
const styles = {
outer: injectStylePrefixed(styletron, {
diff --git a/benchmarks/src/components/NestedTree/index.js b/benchmarks/src/components/NestedTree/index.js
index e988bc0c..ace872d4 100644
--- a/benchmarks/src/components/NestedTree/index.js
+++ b/benchmarks/src/components/NestedTree/index.js
@@ -17,7 +17,7 @@ class DeepTree extends Component {
{depth === 0 && }
{depth !== 0 &&
- Array.from({ length: breadth }).map((el, i) => (
+ Array.from({ length: breadth }).map((el, i) =>
- ))}
+ )}
);
for (let i = 0; i < wrap; i++) {
diff --git a/benchmarks/src/components/TweetActionsBar/index.js b/benchmarks/src/components/TweetActionsBar/index.js
index 7ca164d3..72258a91 100644
--- a/benchmarks/src/components/TweetActionsBar/index.js
+++ b/benchmarks/src/components/TweetActionsBar/index.js
@@ -24,7 +24,7 @@ export default class TweetActionsBar extends PureComponent {
/* eslint-disable react/jsx-handler-names */
return (
- {actions.map((action, i) => (
+ {actions.map((action, i) =>
- ))}
+ )}
);
}
diff --git a/benchmarks/src/components/TweetText/index.js b/benchmarks/src/components/TweetText/index.js
index 741c233a..854ce4d9 100644
--- a/benchmarks/src/components/TweetText/index.js
+++ b/benchmarks/src/components/TweetText/index.js
@@ -17,9 +17,9 @@ class TweetText extends React.Component {
return (
- {textParts.map((part, i) => (
+ {textParts.map((part, i) =>
- ))}
+ )}
);
}
diff --git a/benchmarks/src/components/TweetTextPart/index.js b/benchmarks/src/components/TweetTextPart/index.js
index e12245d0..dc66671a 100644
--- a/benchmarks/src/components/TweetTextPart/index.js
+++ b/benchmarks/src/components/TweetTextPart/index.js
@@ -5,14 +5,13 @@ import theme from '../theme';
const createTextEntity = ({ part }) => {`${part.prefix}${part.text}`};
-const createTwemojiEntity = ({ part }) => (
+const createTwemojiEntity = ({ part }) =>
-);
+ />;
// @mention, #hashtag, $cashtag
const createSymbolEntity = ({ displayMode, part }) => {
diff --git a/benchmarks/src/components/theme.js b/benchmarks/src/components/theme.js
index 08ed60e3..1dc78152 100644
--- a/benchmarks/src/components/theme.js
+++ b/benchmarks/src/components/theme.js
@@ -25,8 +25,9 @@ const fontSize = {
module.exports = {
colors,
- fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif, ' +
- '"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', // emoji fonts
+ fontFamily:
+ '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif, ' +
+ '"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', // emoji fonts
fontSize,
lineHeight: 1.3125,
spaceX: 0.6,
diff --git a/docs/storybook/apis/I18nManager/I18nManagerExample.js b/docs/storybook/apis/I18nManager/I18nManagerExample.js
index 0da2a835..33acb502 100644
--- a/docs/storybook/apis/I18nManager/I18nManagerExample.js
+++ b/docs/storybook/apis/I18nManager/I18nManagerExample.js
@@ -14,7 +14,8 @@ class I18nManagerExample extends Component {
LTR/RTL layout example!
- The writing direction of text is automatically determined by the browser, independent of the global writing direction of the app.
+ The writing direction of text is automatically determined by the browser, independent of
+ the global writing direction of the app.
أحب اللغة العربية
diff --git a/docs/storybook/apis/PanResponder/PanResponderExample.js b/docs/storybook/apis/PanResponder/PanResponderExample.js
index ece313ee..0935ce4a 100644
--- a/docs/storybook/apis/PanResponder/PanResponderExample.js
+++ b/docs/storybook/apis/PanResponder/PanResponderExample.js
@@ -1,4 +1,4 @@
-/* eslint-disable react/jsx-no-bind */
+/* eslint-disable react/jsx-no-bind, react/prefer-es6-class */
import createReactClass from 'create-react-class';
import React from 'react';
diff --git a/docs/storybook/components/ActivityIndicator/ActivityIndicatorExample.js b/docs/storybook/components/ActivityIndicator/ActivityIndicatorExample.js
index a763fa70..4a5a7cd7 100644
--- a/docs/storybook/components/ActivityIndicator/ActivityIndicatorExample.js
+++ b/docs/storybook/components/ActivityIndicator/ActivityIndicatorExample.js
@@ -1,3 +1,5 @@
+/* eslint-disable react/prefer-es6-class, react/prop-types */
+
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
diff --git a/docs/storybook/components/Button/ButtonExample.js b/docs/storybook/components/Button/ButtonExample.js
index 2170c789..3cbc5712 100644
--- a/docs/storybook/components/Button/ButtonExample.js
+++ b/docs/storybook/components/Button/ButtonExample.js
@@ -7,9 +7,10 @@ const onButtonPress = action('Button has been pressed!');
const examples = [
{
title: 'Simple Button',
- description: 'The title and onPress handler are required. It is ' +
- 'recommended to set accessibilityLabel to help make your app usable by ' +
- 'everyone.',
+ description:
+ 'The title and onPress handler are required. It is ' +
+ 'recommended to set accessibilityLabel to help make your app usable by ' +
+ 'everyone.',
render: function() {
return (