Skip to content

Commit fbcbb19

Browse files
committed
👕 Auto-fix some lints
1 parent 65fb1cc commit fbcbb19

File tree

7 files changed

+2
-12
lines changed

7 files changed

+2
-12
lines changed

example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ['babel-preset-expo'],

example/rn-cli.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ module.exports = {
44
resolver: {
55
blacklistRE: blacklist([
66
/node_modules\/.*\/node_modules\/react-native\/.*/,
7-
])
7+
]),
88
},
99
};

example/src/GenericListExample.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const EMPTY_LIST = Immutable.List();
99
const MOCK_DELAY = 800;
1010

1111
class GenericListExample extends Component {
12-
1312
static propTypes = {
1413
ListComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.element]).isRequired,
1514
listComponentProps: PropTypes.object.isRequired,
@@ -221,7 +220,6 @@ class GenericListExample extends Component {
221220
</View>
222221
);
223222
}
224-
225223
}
226224

227225
export default GenericListExample;

src/ImmutableListView/EmptyListView.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import utils from '../utils';
1313
* Useful e.g. for preserving the ability to pull-refresh an empty list.
1414
*/
1515
class EmptyListView extends PureComponent {
16-
1716
static propTypes = {
1817
// Pass through any props that ListView would normally take.
1918
...ListView.propTypes,
@@ -83,7 +82,6 @@ class EmptyListView extends PureComponent {
8382
/>
8483
);
8584
}
86-
8785
}
8886

8987
export { EmptyListView };

src/ImmutableListView/ImmutableListView.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { EmptyListView } from './EmptyListView';
1313
* out of the box.
1414
*/
1515
class ImmutableListView extends PureComponent {
16-
1716
static propTypes = {
1817
// Pass through any props that ListView would normally take.
1918
...ListView.propTypes,
@@ -208,7 +207,6 @@ class ImmutableListView extends PureComponent {
208207
/>
209208
);
210209
}
211-
212210
}
213211

214212
export default ImmutableListView;

src/ImmutableVirtualizedList/EmptyVirtualizedList.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import utils from '../utils';
1313
* Useful e.g. for preserving the ability to pull-refresh an empty list.
1414
*/
1515
class EmptyVirtualizedList extends PureComponent {
16-
1716
static propTypes = {
1817
// Pass through any props that VirtualizedList would normally take.
1918
...VirtualizedList.propTypes,
@@ -81,7 +80,6 @@ class EmptyVirtualizedList extends PureComponent {
8180
/>
8281
);
8382
}
84-
8583
}
8684

8785
export { EmptyVirtualizedList };

src/ImmutableVirtualizedList/ImmutableVirtualizedList.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { EmptyVirtualizedList } from './EmptyVirtualizedList';
1414
*/
1515
// eslint-disable-next-line react/prefer-stateless-function
1616
class ImmutableVirtualizedList extends PureComponent {
17-
1817
static propTypes = {
1918
// Pass through any props that VirtualizedList would normally take.
2019
...VirtualizedList.propTypes,
@@ -120,7 +119,6 @@ class ImmutableVirtualizedList extends PureComponent {
120119
/>
121120
);
122121
}
123-
124122
}
125123

126124
export default ImmutableVirtualizedList;

0 commit comments

Comments
 (0)