Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Aug 20, 2020
1 parent f3f59b7 commit 2dceadd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions packages/rn-tester/js/components/RNTesterNavbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ const styles = StyleSheet.create({
},
activeBar: {
borderTopWidth:2,
borderColor:'#005DFF'
}
borderColor:'#005DFF',
},
});

module.exports = RNTesterNavbar;
1 change: 0 additions & 1 deletion packages/rn-tester/js/examples/Image/ImageExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
const React = require('react');

const {
ActivityIndicator,
Image,
StyleSheet,
Text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const styles = StyleSheet.create({
});

exports.title = 'FlatList - MultiColumn';
exports.category = 'ListView'
exports.category = 'ListView';
exports.description = 'Performant, scrollable grid of data.';
exports.examples = [
{
Expand Down
10 changes: 1 addition & 9 deletions packages/rn-tester/js/examples/RTL/RTLExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ const {
Button,
} = require('react-native');

type State = {
toggleStatus: any,
pan: Object,
linear: Object,
isRTL: boolean,
...
};

type RTLToggleState = {isRTL: boolean, ...};

type AnimationState = {
Expand Down Expand Up @@ -643,7 +635,7 @@ const styles = StyleSheet.create({
});

exports.title = 'RTLExample';
exports.category= 'UI';
exports.category = 'UI';
exports.description = 'Examples to show how to apply components to RTL layout.';
exports.examples = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class TVEventHandlerView extends React.Component<Props, State> {

exports.framework = 'React';
exports.title = 'TVEventHandler example';
exports.category = 'iOS'
exports.category = 'iOS';
exports.description = 'iOS alerts and action sheets';
exports.examples = [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/rn-tester/js/utils/RNTesterList.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ComponentExamples: Array<RNTesterExample> = [
},
{
key: 'PressableExample',
category: 'UI',
category: 'UI',
module: require('../examples/Pressable/PressableExample'),
},
{
Expand Down Expand Up @@ -119,7 +119,7 @@ const ComponentExamples: Array<RNTesterExample> = [
const APIExamples: Array<RNTesterExample> = [
{
key: 'AccessibilityExample',
category: 'Basic',
category: 'Basic',
module: require('../examples/Accessibility/AccessibilityExample'),
},
{
Expand Down

0 comments on commit 2dceadd

Please sign in to comment.