Skip to content

Commit 2dceadd

Browse files
committed
Fix lint issues
1 parent f3f59b7 commit 2dceadd

6 files changed

Lines changed: 7 additions & 16 deletions

File tree

packages/rn-tester/js/components/RNTesterNavbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ const styles = StyleSheet.create({
160160
},
161161
activeBar: {
162162
borderTopWidth:2,
163-
borderColor:'#005DFF'
164-
}
163+
borderColor:'#005DFF',
164+
},
165165
});
166166

167167
module.exports = RNTesterNavbar;

packages/rn-tester/js/examples/Image/ImageExample.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
const React = require('react');
1414

1515
const {
16-
ActivityIndicator,
1716
Image,
1817
StyleSheet,
1918
Text,

packages/rn-tester/js/examples/MultiColumn/MultiColumnExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const styles = StyleSheet.create({
178178
});
179179

180180
exports.title = 'FlatList - MultiColumn';
181-
exports.category = 'ListView'
181+
exports.category = 'ListView';
182182
exports.description = 'Performant, scrollable grid of data.';
183183
exports.examples = [
184184
{

packages/rn-tester/js/examples/RTL/RTLExample.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ const {
2727
Button,
2828
} = require('react-native');
2929

30-
type State = {
31-
toggleStatus: any,
32-
pan: Object,
33-
linear: Object,
34-
isRTL: boolean,
35-
...
36-
};
37-
3830
type RTLToggleState = {isRTL: boolean, ...};
3931

4032
type AnimationState = {
@@ -643,7 +635,7 @@ const styles = StyleSheet.create({
643635
});
644636

645637
exports.title = 'RTLExample';
646-
exports.category= 'UI';
638+
exports.category = 'UI';
647639
exports.description = 'Examples to show how to apply components to RTL layout.';
648640
exports.examples = [
649641
{

packages/rn-tester/js/examples/TVEventHandler/TVEventHandlerExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class TVEventHandlerView extends React.Component<Props, State> {
7777

7878
exports.framework = 'React';
7979
exports.title = 'TVEventHandler example';
80-
exports.category = 'iOS'
80+
exports.category = 'iOS';
8181
exports.description = 'iOS alerts and action sheets';
8282
exports.examples = [
8383
{

packages/rn-tester/js/utils/RNTesterList.android.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const ComponentExamples: Array<RNTesterExample> = [
5757
},
5858
{
5959
key: 'PressableExample',
60-
category: 'UI',
60+
category: 'UI',
6161
module: require('../examples/Pressable/PressableExample'),
6262
},
6363
{
@@ -119,7 +119,7 @@ const ComponentExamples: Array<RNTesterExample> = [
119119
const APIExamples: Array<RNTesterExample> = [
120120
{
121121
key: 'AccessibilityExample',
122-
category: 'Basic',
122+
category: 'Basic',
123123
module: require('../examples/Accessibility/AccessibilityExample'),
124124
},
125125
{

0 commit comments

Comments
 (0)