From 67398d83cb1967b1d83dd4d20468150faa8e84aa Mon Sep 17 00:00:00 2001 From: Joseph Baylon Date: Mon, 30 Nov 2020 20:46:05 -0800 Subject: [PATCH] Add eslint eol-last to require newline at end of files (#4985) --- .eslintrc.json | 1 + app/actions/helpers/channels.ts | 2 +- app/actions/views/emoji.js | 2 +- app/actions/views/permalink.ts | 2 +- app/actions/views/post.test.js | 2 +- app/actions/views/user.js | 2 +- app/actions/websocket/channels.test.js | 2 +- app/actions/websocket/general.test.js | 2 +- app/actions/websocket/general.ts | 2 +- app/actions/websocket/groups.ts | 2 +- app/actions/websocket/integrations.test.js | 2 +- app/actions/websocket/integrations.ts | 2 +- app/actions/websocket/posts.ts | 2 +- app/actions/websocket/preferences.ts | 2 +- app/actions/websocket/reactions.test.js | 2 +- app/actions/websocket/reactions.ts | 2 +- app/actions/websocket/roles.ts | 2 +- app/actions/websocket/teams.test.js | 2 +- app/actions/websocket/teams.ts | 2 +- app/actions/websocket/users.test.js | 2 +- app/actions/websocket/users.ts | 2 +- app/components/app_version.tsx | 2 +- app/components/at_mention/at_mention.test.js | 2 +- app/components/autocomplete/autocomplete_section_header.js | 2 +- .../autocomplete/emoji_suggestion/emoji_suggestion.test.js | 2 +- app/components/channel_loader/channel_loader.test.js | 2 +- app/components/compass_icon/index.js | 2 +- app/components/deleted_post.js | 2 +- app/components/edit_channel_info/edit_channel_info.test.js | 2 +- app/components/image_viewport.js | 2 +- .../message_attachments/action_button/action_button.test.js | 2 +- .../message_attachments/action_button/action_button_text.js | 2 +- .../action_button/action_button_text.test.js | 2 +- app/components/post_attachment_image/index.test.js | 2 +- app/components/post_body/index.test.js | 2 +- app/components/post_draft/archived/archived.js | 2 +- app/components/post_draft/index.test.js | 2 +- .../post_draft/quick_actions/camera_quick_action/index.js | 2 +- .../quick_actions/file_quick_action/file_quick_action.test.js | 2 +- app/components/post_draft/quick_actions/index.js | 2 +- .../post_draft/quick_actions/input_quick_action/index.js | 2 +- app/components/post_draft/quick_actions/quick_actions.js | 2 +- app/components/post_draft/read_only/index.tsx | 2 +- app/components/post_header/post_header.test.js | 2 +- app/components/retry_bar_indicator/retry_bar_indicator.test.js | 2 +- app/components/sidebars/drawer_layout/index.tsx | 2 +- app/components/sidebars/main/main_sidebar_base.js | 2 +- app/components/sidebars/settings/settings_sidebar.ios.js | 2 +- app/constants/emoji.js | 2 +- app/constants/types.js | 2 +- app/init/fetch.test.js | 2 +- app/init/push_notifications.ts | 2 +- app/mattermost.test.js | 2 +- app/mm-redux/constants/roles.ts | 2 +- app/mm-redux/reducers/entities/teams.test.js | 2 +- app/mm-redux/types/bots.ts | 2 +- app/mm-redux/types/files.ts | 2 +- app/mm-redux/types/module.d.ts | 2 +- app/mm-redux/types/preferences.ts | 2 +- app/mm-redux/types/requests.ts | 2 +- app/mm-redux/types/search.ts | 2 +- app/mm-redux/types/teams.ts | 2 +- app/mm-redux/types/utilities.ts | 2 +- app/mm-redux/types/websocket.ts | 2 +- app/mm-redux/utils/group_utils.test.js | 2 +- app/reducers/views/recent_emojis.js | 2 +- app/screens/channel/channel.android.js | 2 +- app/screens/channel/channel.ios.js | 2 +- app/screens/channel/channel_nav_bar/channel_nav_bar.js | 2 +- app/screens/channel_info/add_members/add_members.test.js | 2 +- app/screens/channel_info/archive/archive.test.js | 2 +- .../channel_info/convert_private/convert_private.test.js | 2 +- app/screens/channel_info/edit_channel/edit_channel.test.js | 2 +- app/screens/channel_info/favorite/favorite.test.js | 2 +- app/screens/channel_info/favorite/favorite.tsx | 2 +- .../channel_info/ignore_mentions/ignore_mentions.test.js | 2 +- app/screens/channel_info/ignore_mentions/ignore_mentions.tsx | 2 +- app/screens/channel_info/leave/leave.test.js | 2 +- app/screens/channel_info/manage_members/manage_members.test.js | 2 +- app/screens/channel_info/mute/mute.test.js | 2 +- app/screens/channel_info/mute/mute.tsx | 2 +- app/screens/channel_info/pinned/pinned.test.js | 2 +- app/screens/channel_info/separator.tsx | 2 +- app/screens/channel_members/channel_members.test.js | 2 +- app/screens/notification/notification_icon.tsx | 2 +- app/screens/notification/notification_title.tsx | 2 +- app/screens/select_server/select_server.test.js | 2 +- app/selectors/theme.js | 2 +- app/store/helpers.ts | 2 +- app/store/middlewares/index.ts | 2 +- app/store/middlewares/ios_extension.js | 2 +- app/store/middlewares/message_retention.js | 2 +- app/store/store.ts | 2 +- app/types/push_notification.d.ts | 2 +- app/utils/emoji_utils.js | 2 +- app/utils/message_attachment_colors.js | 2 +- app/utils/preferences.js | 2 +- app/utils/supported_server.ts | 2 +- jest.config.js | 2 +- packager/moduleNames.js | 2 +- packager/modules.android.js | 2 +- packager/modules.ios.js | 2 +- react-native.config.js | 2 +- share_extension/screens/share.tsx | 2 +- share_extension/utils/index.tsx | 2 +- types/modules/react-native-slider.d.ts | 2 +- 106 files changed, 106 insertions(+), 105 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d97204ec3..b7f723924 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -22,6 +22,7 @@ "__DEV__": true }, "rules": { + "eol-last": ["error", "always"], "global-require": 0, "no-undefined": 0, "react/display-name": [2, { "ignoreTranspilerName": false }], diff --git a/app/actions/helpers/channels.ts b/app/actions/helpers/channels.ts index 02366edef..384daf274 100644 --- a/app/actions/helpers/channels.ts +++ b/app/actions/helpers/channels.ts @@ -419,4 +419,4 @@ async function getProfilesFromPromises(promises: Array>): } catch { return null; } -} \ No newline at end of file +} diff --git a/app/actions/views/emoji.js b/app/actions/views/emoji.js index 016aa8f20..23c51e1d0 100644 --- a/app/actions/views/emoji.js +++ b/app/actions/views/emoji.js @@ -97,4 +97,4 @@ async function getCustomEmojiByName(name) { } return null; -} \ No newline at end of file +} diff --git a/app/actions/views/permalink.ts b/app/actions/views/permalink.ts index 159638c4b..a92356333 100644 --- a/app/actions/views/permalink.ts +++ b/app/actions/views/permalink.ts @@ -48,4 +48,4 @@ export function closePermalink() { showingPermalink = false; return dispatch(selectFocusedPostId('')); }; -} \ No newline at end of file +} diff --git a/app/actions/views/post.test.js b/app/actions/views/post.test.js index e5109acc8..9354907d5 100644 --- a/app/actions/views/post.test.js +++ b/app/actions/views/post.test.js @@ -185,4 +185,4 @@ describe('Actions.Views.Post', () => { const receivedStatuses = actionTypes.filter((type) => type === UserTypes.RECEIVED_STATUSES); expect(receivedStatuses.length).toBe(1); }); -}); \ No newline at end of file +}); diff --git a/app/actions/views/user.js b/app/actions/views/user.js index e69787d15..a3804a4ec 100644 --- a/app/actions/views/user.js +++ b/app/actions/views/user.js @@ -242,4 +242,4 @@ export function setCurrentUserStatusOffline() { } /* eslint-disable no-import-assign */ -HelperActions.forceLogoutIfNecessary = forceLogoutIfNecessary; \ No newline at end of file +HelperActions.forceLogoutIfNecessary = forceLogoutIfNecessary; diff --git a/app/actions/websocket/channels.test.js b/app/actions/websocket/channels.test.js index 8c741c1f3..4c2a12a58 100644 --- a/app/actions/websocket/channels.test.js +++ b/app/actions/websocket/channels.test.js @@ -176,4 +176,4 @@ describe('Websocket Chanel Events', () => { const {channels} = store.getState().entities.channels; assert.ok(Object.keys(channels).length); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/general.test.js b/app/actions/websocket/general.test.js index 689ba1e1a..2e4695b18 100644 --- a/app/actions/websocket/general.test.js +++ b/app/actions/websocket/general.test.js @@ -57,4 +57,4 @@ describe('Websocket General Events', () => { assert.ok(config.EnableCustomEmoji === 'true'); assert.ok(config.EnableLinkPreviews === 'false'); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/general.ts b/app/actions/websocket/general.ts index 64dccfa27..d0777ab92 100644 --- a/app/actions/websocket/general.ts +++ b/app/actions/websocket/general.ts @@ -24,4 +24,4 @@ export function handleLicenseChangedEvent(msg: WebSocketMessage): GenericAction type: GeneralTypes.CLIENT_LICENSE_RECEIVED, data, }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/groups.ts b/app/actions/websocket/groups.ts index 4be6566d0..93cb2def2 100644 --- a/app/actions/websocket/groups.ts +++ b/app/actions/websocket/groups.ts @@ -20,4 +20,4 @@ export function handleGroupUpdatedEvent(msg: WebSocketMessage) { ])); return {data: true}; }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/integrations.test.js b/app/actions/websocket/integrations.test.js index bbb54a3c5..c56f4685d 100644 --- a/app/actions/websocket/integrations.test.js +++ b/app/actions/websocket/integrations.test.js @@ -44,4 +44,4 @@ describe('Websocket Integration Events', () => { assert.ok(dialog.trigger_id === 'sometriggerid'); assert.ok(dialog.dialog); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/integrations.ts b/app/actions/websocket/integrations.ts index 14af7b3fe..71b786429 100644 --- a/app/actions/websocket/integrations.ts +++ b/app/actions/websocket/integrations.ts @@ -11,4 +11,4 @@ export function handleOpenDialogEvent(msg: WebSocketMessage) { dispatch({type: IntegrationTypes.RECEIVED_DIALOG, data: JSON.parse(data)}); return {data: true}; }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/posts.ts b/app/actions/websocket/posts.ts index aba70dea7..7f1efcc36 100644 --- a/app/actions/websocket/posts.ts +++ b/app/actions/websocket/posts.ts @@ -206,4 +206,4 @@ export function handlePostUnread(msg: WebSocketMessage) { return {data: null}; }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/preferences.ts b/app/actions/websocket/preferences.ts index 87bf07f6b..9d040d0ca 100644 --- a/app/actions/websocket/preferences.ts +++ b/app/actions/websocket/preferences.ts @@ -57,4 +57,4 @@ export function handlePreferencesDeletedEvent(msg: WebSocketMessage): GenericAct const preferences = JSON.parse(msg.data.preferences); return {type: PreferenceTypes.DELETED_PREFERENCES, data: preferences}; -} \ No newline at end of file +} diff --git a/app/actions/websocket/reactions.test.js b/app/actions/websocket/reactions.test.js index da04918bf..19e2273c2 100644 --- a/app/actions/websocket/reactions.test.js +++ b/app/actions/websocket/reactions.test.js @@ -57,4 +57,4 @@ describe('Websocket Reaction Events', () => { assert.ok(emojis); assert.ok(emojis[created.id]); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/reactions.ts b/app/actions/websocket/reactions.ts index 8a46282fb..f3381bd8c 100644 --- a/app/actions/websocket/reactions.ts +++ b/app/actions/websocket/reactions.ts @@ -38,4 +38,4 @@ export function handleReactionRemovedEvent(msg: WebSocketMessage): GenericAction type: PostTypes.REACTION_DELETED, data: reaction, }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/roles.ts b/app/actions/websocket/roles.ts index 36f08c02b..8dc81bec2 100644 --- a/app/actions/websocket/roles.ts +++ b/app/actions/websocket/roles.ts @@ -30,4 +30,4 @@ export function handleRoleUpdatedEvent(msg: WebSocketMessage): GenericAction { type: RoleTypes.RECEIVED_ROLE, data: role, }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/teams.test.js b/app/actions/websocket/teams.test.js index a04a79d26..c65a06aba 100644 --- a/app/actions/websocket/teams.test.js +++ b/app/actions/websocket/teams.test.js @@ -103,4 +103,4 @@ describe('Websocket Team Events', () => { const {myMembers} = store.getState().entities.teams; assert.ifError(myMembers[team.id]); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/teams.ts b/app/actions/websocket/teams.ts index 9f08b814b..a08ee6196 100644 --- a/app/actions/websocket/teams.ts +++ b/app/actions/websocket/teams.ts @@ -103,4 +103,4 @@ export function handleTeamAddedEvent(msg: WebSocketMessage) { return {data: true}; }; -} \ No newline at end of file +} diff --git a/app/actions/websocket/users.test.js b/app/actions/websocket/users.test.js index 735f95470..58c1f4c40 100644 --- a/app/actions/websocket/users.test.js +++ b/app/actions/websocket/users.test.js @@ -91,4 +91,4 @@ describe('Websocket User Events', () => { assert.strictEqual(profiles[user.id].first_name, 'tester4'); }); }); -}); \ No newline at end of file +}); diff --git a/app/actions/websocket/users.ts b/app/actions/websocket/users.ts index f76bbfc6d..4f905a616 100644 --- a/app/actions/websocket/users.ts +++ b/app/actions/websocket/users.ts @@ -202,4 +202,4 @@ export function handleUserUpdatedEvent(msg: WebSocketMessage) { } return {data: true}; }; -} \ No newline at end of file +} diff --git a/app/components/app_version.tsx b/app/components/app_version.tsx index c8b6da72b..98138a8e4 100644 --- a/app/components/app_version.tsx +++ b/app/components/app_version.tsx @@ -35,4 +35,4 @@ const AppVersion = () => { ); }; -export default AppVersion; \ No newline at end of file +export default AppVersion; diff --git a/app/components/at_mention/at_mention.test.js b/app/components/at_mention/at_mention.test.js index 5090d3acf..e0de559cc 100644 --- a/app/components/at_mention/at_mention.test.js +++ b/app/components/at_mention/at_mention.test.js @@ -41,4 +41,4 @@ describe('AtMention', () => { wrapper.setState({user: {username: 'Victor.Welch'}}); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/components/autocomplete/autocomplete_section_header.js b/app/components/autocomplete/autocomplete_section_header.js index 4c9c96a27..3e8473ade 100644 --- a/app/components/autocomplete/autocomplete_section_header.js +++ b/app/components/autocomplete/autocomplete_section_header.js @@ -75,4 +75,4 @@ AutocompleteSectionHeader.propTypes = { isFirstSection: PropTypes.bool, }; -export default AutocompleteSectionHeader; \ No newline at end of file +export default AutocompleteSectionHeader; diff --git a/app/components/autocomplete/emoji_suggestion/emoji_suggestion.test.js b/app/components/autocomplete/emoji_suggestion/emoji_suggestion.test.js index 3c09710db..20a7102a7 100644 --- a/app/components/autocomplete/emoji_suggestion/emoji_suggestion.test.js +++ b/app/components/autocomplete/emoji_suggestion/emoji_suggestion.test.js @@ -72,4 +72,4 @@ describe('components/autocomplete/emoji_suggestion', () => { expect(wrapper.state('dataSource')).toEqual(output3); }, 100); }); -}); \ No newline at end of file +}); diff --git a/app/components/channel_loader/channel_loader.test.js b/app/components/channel_loader/channel_loader.test.js index cdd42f267..faccb30e9 100644 --- a/app/components/channel_loader/channel_loader.test.js +++ b/app/components/channel_loader/channel_loader.test.js @@ -18,4 +18,4 @@ describe('ChannelLoader', () => { const wrapper = shallow(); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/components/compass_icon/index.js b/app/components/compass_icon/index.js index 57778a996..8661335c5 100644 --- a/app/components/compass_icon/index.js +++ b/app/components/compass_icon/index.js @@ -4,4 +4,4 @@ import {createIconSetFromFontello} from 'react-native-vector-icons'; import fontelloConfig from '@assets/compass-icons.json'; -export default createIconSetFromFontello(fontelloConfig, 'compass-icons', 'compass-icons.ttf'); \ No newline at end of file +export default createIconSetFromFontello(fontelloConfig, 'compass-icons', 'compass-icons.ttf'); diff --git a/app/components/deleted_post.js b/app/components/deleted_post.js index 272d64ae2..9c0ffe5dd 100644 --- a/app/components/deleted_post.js +++ b/app/components/deleted_post.js @@ -79,4 +79,4 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { }; }); -export default DeletedPost; \ No newline at end of file +export default DeletedPost; diff --git a/app/components/edit_channel_info/edit_channel_info.test.js b/app/components/edit_channel_info/edit_channel_info.test.js index 696d99575..bb3d6eceb 100644 --- a/app/components/edit_channel_info/edit_channel_info.test.js +++ b/app/components/edit_channel_info/edit_channel_info.test.js @@ -91,4 +91,4 @@ describe('EditChannelInfo', () => { instance.onKeyboardDidShow(); expect(instance.scrollHeaderToTop).toHaveBeenCalledTimes(2); }); -}); \ No newline at end of file +}); diff --git a/app/components/image_viewport.js b/app/components/image_viewport.js index 7a251780e..9e268953d 100644 --- a/app/components/image_viewport.js +++ b/app/components/image_viewport.js @@ -52,4 +52,4 @@ export default class ImageViewPort extends PureComponent { render() { return null; } -} \ No newline at end of file +} diff --git a/app/components/message_attachments/action_button/action_button.test.js b/app/components/message_attachments/action_button/action_button.test.js index f9a8c5cac..0ee7a3bd9 100644 --- a/app/components/message_attachments/action_button/action_button.test.js +++ b/app/components/message_attachments/action_button/action_button.test.js @@ -125,4 +125,4 @@ describe('ActionButton', () => { expect(dynamicButtonStyles).toBe(undefined); expect(buttonTextChild.props.style.color).toBe(Preferences.THEMES.default.centerChannelColor); }); -}); \ No newline at end of file +}); diff --git a/app/components/message_attachments/action_button/action_button_text.js b/app/components/message_attachments/action_button/action_button_text.js index 03ba4b03d..4f6e453d0 100644 --- a/app/components/message_attachments/action_button/action_button_text.js +++ b/app/components/message_attachments/action_button/action_button_text.js @@ -88,4 +88,4 @@ const styles = StyleSheet.create({ ActionButtonText.propTypes = { message: PropTypes.string.isRequired, style: PropTypes.object.isRequired, -}; \ No newline at end of file +}; diff --git a/app/components/message_attachments/action_button/action_button_text.test.js b/app/components/message_attachments/action_button/action_button_text.test.js index 1e55197c7..489b16a9f 100644 --- a/app/components/message_attachments/action_button/action_button_text.test.js +++ b/app/components/message_attachments/action_button/action_button_text.test.js @@ -140,4 +140,4 @@ describe('ActionButtonText emojis', () => { expect(emoticonChild.props.textStyle.fontSize).toBe(12); }); }); -}); \ No newline at end of file +}); diff --git a/app/components/post_attachment_image/index.test.js b/app/components/post_attachment_image/index.test.js index 9e81959ec..ea15c4e69 100644 --- a/app/components/post_attachment_image/index.test.js +++ b/app/components/post_attachment_image/index.test.js @@ -20,4 +20,4 @@ describe('PostAttachmentImage', () => { expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/components/post_body/index.test.js b/app/components/post_body/index.test.js index b5e87ad1a..4287f64c0 100644 --- a/app/components/post_body/index.test.js +++ b/app/components/post_body/index.test.js @@ -120,4 +120,4 @@ describe('makeMapStateToProps', () => { mapStateToProps(defaultState, defaultOwnProps); expect(canDeletePost).toHaveBeenCalledTimes(1); }); -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/archived/archived.js b/app/components/post_draft/archived/archived.js index 323ebd5b0..c221ba579 100644 --- a/app/components/post_draft/archived/archived.js +++ b/app/components/post_draft/archived/archived.js @@ -103,4 +103,4 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => ({ color: 'white', fontWeight: 'bold', }, -})); \ No newline at end of file +})); diff --git a/app/components/post_draft/index.test.js b/app/components/post_draft/index.test.js index cbab99396..1e4cba5da 100644 --- a/app/components/post_draft/index.test.js +++ b/app/components/post_draft/index.test.js @@ -117,4 +117,4 @@ describe('mapStateToProps', () => { permission: Permissions.USE_CHANNEL_MENTIONS, }); }); -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/quick_actions/camera_quick_action/index.js b/app/components/post_draft/quick_actions/camera_quick_action/index.js index 07184bfbd..476ceadff 100644 --- a/app/components/post_draft/quick_actions/camera_quick_action/index.js +++ b/app/components/post_draft/quick_actions/camera_quick_action/index.js @@ -180,4 +180,4 @@ const style = StyleSheet.create({ justifyContent: 'center', padding: 10, }, -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/quick_actions/file_quick_action/file_quick_action.test.js b/app/components/post_draft/quick_actions/file_quick_action/file_quick_action.test.js index af288e786..9e7c8005c 100644 --- a/app/components/post_draft/quick_actions/file_quick_action/file_quick_action.test.js +++ b/app/components/post_draft/quick_actions/file_quick_action/file_quick_action.test.js @@ -101,4 +101,4 @@ describe('FileQuickAction', () => { expect(request).toHaveBeenCalled(); expect(hasPermission).toBe(true); }); -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/quick_actions/index.js b/app/components/post_draft/quick_actions/index.js index b0bde3f31..5b868f4eb 100644 --- a/app/components/post_draft/quick_actions/index.js +++ b/app/components/post_draft/quick_actions/index.js @@ -17,4 +17,4 @@ function mapStateToProps(state) { }; } -export default connect(mapStateToProps, null, null, {forwardRef: true})(QuickActions); \ No newline at end of file +export default connect(mapStateToProps, null, null, {forwardRef: true})(QuickActions); diff --git a/app/components/post_draft/quick_actions/input_quick_action/index.js b/app/components/post_draft/quick_actions/input_quick_action/index.js index 31857d324..398c9a479 100644 --- a/app/components/post_draft/quick_actions/input_quick_action/index.js +++ b/app/components/post_draft/quick_actions/input_quick_action/index.js @@ -88,4 +88,4 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { padding: 10, }, }; -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/quick_actions/quick_actions.js b/app/components/post_draft/quick_actions/quick_actions.js index 03ed712cb..2096a66db 100644 --- a/app/components/post_draft/quick_actions/quick_actions.js +++ b/app/components/post_draft/quick_actions/quick_actions.js @@ -136,4 +136,4 @@ const style = StyleSheet.create({ flexDirection: 'row', height: 44, }, -}); \ No newline at end of file +}); diff --git a/app/components/post_draft/read_only/index.tsx b/app/components/post_draft/read_only/index.tsx index 030ac4ec2..7b2e7453c 100644 --- a/app/components/post_draft/read_only/index.tsx +++ b/app/components/post_draft/read_only/index.tsx @@ -67,4 +67,4 @@ const getStyle = makeStyleSheetFromTheme((theme: Theme) => ({ }, })); -export default ReadOnlyChannnel; \ No newline at end of file +export default ReadOnlyChannnel; diff --git a/app/components/post_header/post_header.test.js b/app/components/post_header/post_header.test.js index c67a83820..136184bf0 100644 --- a/app/components/post_header/post_header.test.js +++ b/app/components/post_header/post_header.test.js @@ -154,4 +154,4 @@ describe('PostHeader', () => { ); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/components/retry_bar_indicator/retry_bar_indicator.test.js b/app/components/retry_bar_indicator/retry_bar_indicator.test.js index ef825fc5c..782b54734 100644 --- a/app/components/retry_bar_indicator/retry_bar_indicator.test.js +++ b/app/components/retry_bar_indicator/retry_bar_indicator.test.js @@ -53,4 +53,4 @@ describe('RetryBarIndicator', () => { expect(Animated.timing).toHaveBeenCalledTimes(1); }); }); -}); \ No newline at end of file +}); diff --git a/app/components/sidebars/drawer_layout/index.tsx b/app/components/sidebars/drawer_layout/index.tsx index 985f96db6..3004b546d 100644 --- a/app/components/sidebars/drawer_layout/index.tsx +++ b/app/components/sidebars/drawer_layout/index.tsx @@ -54,4 +54,4 @@ const DrawerLayoutAdapter = (props: DrawerLayoutAdapterProps) => { ); }; -export default DrawerLayoutAdapter; \ No newline at end of file +export default DrawerLayoutAdapter; diff --git a/app/components/sidebars/main/main_sidebar_base.js b/app/components/sidebars/main/main_sidebar_base.js index 2488bbc38..935fe42ac 100644 --- a/app/components/sidebars/main/main_sidebar_base.js +++ b/app/components/sidebars/main/main_sidebar_base.js @@ -307,4 +307,4 @@ const style = StyleSheet.create({ swiperContent: { flex: 1, }, -}); \ No newline at end of file +}); diff --git a/app/components/sidebars/settings/settings_sidebar.ios.js b/app/components/sidebars/settings/settings_sidebar.ios.js index 3571e1674..77c1976d1 100644 --- a/app/components/sidebars/settings/settings_sidebar.ios.js +++ b/app/components/sidebars/settings/settings_sidebar.ios.js @@ -175,4 +175,4 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { marginTop: 35, }, }; -}); \ No newline at end of file +}); diff --git a/app/constants/emoji.js b/app/constants/emoji.js index b0526efa9..f3e5213fb 100644 --- a/app/constants/emoji.js +++ b/app/constants/emoji.js @@ -2,4 +2,4 @@ // See LICENSE.txt for license information. export const ALL_EMOJIS = 'all_emojis'; -export const MAX_ALLOWED_REACTIONS = 40; \ No newline at end of file +export const MAX_ALLOWED_REACTIONS = 40; diff --git a/app/constants/types.js b/app/constants/types.js index c1b8df4c1..90a720684 100644 --- a/app/constants/types.js +++ b/app/constants/types.js @@ -4,4 +4,4 @@ export default { EMPTY_ARRAY: [], EMTPY_OBJECT: {}, -}; \ No newline at end of file +}; diff --git a/app/init/fetch.test.js b/app/init/fetch.test.js index 1aac7e2d8..5257e849b 100644 --- a/app/init/fetch.test.js +++ b/app/init/fetch.test.js @@ -85,4 +85,4 @@ describe('Fetch', () => { expect(Client4.serverVersion).toEqual(serverVersion1); expect(emit).toHaveBeenCalledWith(General.SERVER_VERSION_CHANGED, serverVersion1); }); -}); \ No newline at end of file +}); diff --git a/app/init/push_notifications.ts b/app/init/push_notifications.ts index dc52141e5..57a971128 100644 --- a/app/init/push_notifications.ts +++ b/app/init/push_notifications.ts @@ -251,4 +251,4 @@ class PushNotifications { }; } -export default new PushNotifications(); \ No newline at end of file +export default new PushNotifications(); diff --git a/app/mattermost.test.js b/app/mattermost.test.js index 6e019e788..604df3c60 100644 --- a/app/mattermost.test.js +++ b/app/mattermost.test.js @@ -79,4 +79,4 @@ describe('componentDidDisappearListener', () => { expect(EventEmitter.emit).toHaveBeenCalledTimes(1); expect(EventEmitter.emit).toHaveBeenCalledWith(NavigationTypes.MAIN_SIDEBAR_DID_CLOSE); }); -}); \ No newline at end of file +}); diff --git a/app/mm-redux/constants/roles.ts b/app/mm-redux/constants/roles.ts index 6c456377c..53174ac02 100644 --- a/app/mm-redux/constants/roles.ts +++ b/app/mm-redux/constants/roles.ts @@ -5,4 +5,4 @@ export default { MEMBERS: 'members', GUESTS: 'guests', ADMINS: 'admins', -}; \ No newline at end of file +}; diff --git a/app/mm-redux/reducers/entities/teams.test.js b/app/mm-redux/reducers/entities/teams.test.js index 4562dbc5d..ac2224069 100644 --- a/app/mm-redux/reducers/entities/teams.test.js +++ b/app/mm-redux/reducers/entities/teams.test.js @@ -107,4 +107,4 @@ describe('Reducers.teams.myMembers', () => { state = teamsReducer(state, testAction); assert.deepEqual(state.myMembers, {team_id_1: myMember1}); }); -}); \ No newline at end of file +}); diff --git a/app/mm-redux/types/bots.ts b/app/mm-redux/types/bots.ts index 2a3e17c2a..85436df7e 100644 --- a/app/mm-redux/types/bots.ts +++ b/app/mm-redux/types/bots.ts @@ -17,4 +17,4 @@ export type BotPatch = { username: string; display_name: string; description: string; -} \ No newline at end of file +} diff --git a/app/mm-redux/types/files.ts b/app/mm-redux/types/files.ts index 590641e16..a84f8afbf 100644 --- a/app/mm-redux/types/files.ts +++ b/app/mm-redux/types/files.ts @@ -31,4 +31,4 @@ export type FilesState = { export type FileUploadResponse = { file_infos: FileInfo[]; client_ids: string[]; -} \ No newline at end of file +} diff --git a/app/mm-redux/types/module.d.ts b/app/mm-redux/types/module.d.ts index fa69b23b2..27ace5915 100644 --- a/app/mm-redux/types/module.d.ts +++ b/app/mm-redux/types/module.d.ts @@ -4,4 +4,4 @@ declare module 'gfycat-sdk'; declare module 'remote-redux-devtools'; declare module 'redux-action-buffer'; declare module 'react-intl'; -declare module 'react-native-local-auth'; \ No newline at end of file +declare module 'react-native-local-auth'; diff --git a/app/mm-redux/types/preferences.ts b/app/mm-redux/types/preferences.ts index 2965f5151..aa1d4f2df 100644 --- a/app/mm-redux/types/preferences.ts +++ b/app/mm-redux/types/preferences.ts @@ -38,4 +38,4 @@ export type Theme = { mentionHighlightBg: string; mentionHighlightLink: string; codeTheme: string; -}; \ No newline at end of file +}; diff --git a/app/mm-redux/types/requests.ts b/app/mm-redux/types/requests.ts index a00ed204e..4b335b345 100644 --- a/app/mm-redux/types/requests.ts +++ b/app/mm-redux/types/requests.ts @@ -67,4 +67,4 @@ export type JobsRequestsStatuses = { export type SearchRequestsStatuses = { flaggedPosts: RequestStatusType; pinnedPosts: RequestStatusType; -}; \ No newline at end of file +}; diff --git a/app/mm-redux/types/search.ts b/app/mm-redux/types/search.ts index c8b8e10c9..ccb3e5c07 100644 --- a/app/mm-redux/types/search.ts +++ b/app/mm-redux/types/search.ts @@ -30,4 +30,4 @@ export type SearchParameter = { page: number; per_page: number; include_deleted_channels: boolean; -} \ No newline at end of file +} diff --git a/app/mm-redux/types/teams.ts b/app/mm-redux/types/teams.ts index ac51b7d8d..9ec32ac31 100644 --- a/app/mm-redux/types/teams.ts +++ b/app/mm-redux/types/teams.ts @@ -55,4 +55,4 @@ export type TeamUnread = { team_id: string; mention_count: number; msg_count: number; -}; \ No newline at end of file +}; diff --git a/app/mm-redux/types/utilities.ts b/app/mm-redux/types/utilities.ts index 99cc1abd4..d25a39747 100644 --- a/app/mm-redux/types/utilities.ts +++ b/app/mm-redux/types/utilities.ts @@ -27,4 +27,4 @@ export type EmailMappedObjects = { export type Dictionary = { [key: string]: T; -}; \ No newline at end of file +}; diff --git a/app/mm-redux/types/websocket.ts b/app/mm-redux/types/websocket.ts index 3b2e75368..a6b6fedf6 100644 --- a/app/mm-redux/types/websocket.ts +++ b/app/mm-redux/types/websocket.ts @@ -15,4 +15,4 @@ export type WebSocketMessage = { data: any; broadcast: WebsocketBroadcast; seq: number; -} \ No newline at end of file +} diff --git a/app/mm-redux/utils/group_utils.test.js b/app/mm-redux/utils/group_utils.test.js index 41901726d..ce23889e3 100644 --- a/app/mm-redux/utils/group_utils.test.js +++ b/app/mm-redux/utils/group_utils.test.js @@ -89,4 +89,4 @@ describe('group utils', () => { assert.deepEqual(filterGroupsMatchingTerm(groups, '@software'), [groupC]); }); }); -}); \ No newline at end of file +}); diff --git a/app/reducers/views/recent_emojis.js b/app/reducers/views/recent_emojis.js index c84264b98..d77f01f50 100644 --- a/app/reducers/views/recent_emojis.js +++ b/app/reducers/views/recent_emojis.js @@ -20,4 +20,4 @@ export default function recentEmojis(state = [], action) { default: return state; } -} \ No newline at end of file +} diff --git a/app/screens/channel/channel.android.js b/app/screens/channel/channel.android.js index 7c0c0494c..702972535 100644 --- a/app/screens/channel/channel.android.js +++ b/app/screens/channel/channel.android.js @@ -114,4 +114,4 @@ const style = StyleSheet.create({ flex: { flex: 1, }, -}); \ No newline at end of file +}); diff --git a/app/screens/channel/channel.ios.js b/app/screens/channel/channel.ios.js index e4a4d5078..18c15ea1c 100644 --- a/app/screens/channel/channel.ios.js +++ b/app/screens/channel/channel.ios.js @@ -148,4 +148,4 @@ const getStyle = makeStyleSheetFromTheme((theme) => ({ flex: { flex: 1, }, -})); \ No newline at end of file +})); diff --git a/app/screens/channel/channel_nav_bar/channel_nav_bar.js b/app/screens/channel/channel_nav_bar/channel_nav_bar.js index 037a0574c..93d816bc5 100644 --- a/app/screens/channel/channel_nav_bar/channel_nav_bar.js +++ b/app/screens/channel/channel_nav_bar/channel_nav_bar.js @@ -155,4 +155,4 @@ ChannelNavBar.propTypes = { theme: PropTypes.object.isRequired, }; -export default ChannelNavBar; \ No newline at end of file +export default ChannelNavBar; diff --git a/app/screens/channel_info/add_members/add_members.test.js b/app/screens/channel_info/add_members/add_members.test.js index d26d14b2e..c44dd0490 100644 --- a/app/screens/channel_info/add_members/add_members.test.js +++ b/app/screens/channel_info/add_members/add_members.test.js @@ -51,4 +51,4 @@ describe('ChannelInfo -> Add Members', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/archive/archive.test.js b/app/screens/channel_info/archive/archive.test.js index 9079bbe1c..3e7b9c602 100644 --- a/app/screens/channel_info/archive/archive.test.js +++ b/app/screens/channel_info/archive/archive.test.js @@ -63,4 +63,4 @@ describe('ChannelInfo -> Archive', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/convert_private/convert_private.test.js b/app/screens/channel_info/convert_private/convert_private.test.js index cf16883a4..64fa55811 100644 --- a/app/screens/channel_info/convert_private/convert_private.test.js +++ b/app/screens/channel_info/convert_private/convert_private.test.js @@ -43,4 +43,4 @@ describe('ChannelInfo -> ConvertPrivate', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/edit_channel/edit_channel.test.js b/app/screens/channel_info/edit_channel/edit_channel.test.js index 7f93ee55a..2cf5e2409 100644 --- a/app/screens/channel_info/edit_channel/edit_channel.test.js +++ b/app/screens/channel_info/edit_channel/edit_channel.test.js @@ -41,4 +41,4 @@ describe('ChannelInfo -> EditChannel', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/favorite/favorite.test.js b/app/screens/channel_info/favorite/favorite.test.js index e8149efb8..8080fa94c 100644 --- a/app/screens/channel_info/favorite/favorite.test.js +++ b/app/screens/channel_info/favorite/favorite.test.js @@ -43,4 +43,4 @@ describe('ChannelInfo -> Favorite', () => { ); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/favorite/favorite.tsx b/app/screens/channel_info/favorite/favorite.tsx index 4566495f5..3b10fd381 100644 --- a/app/screens/channel_info/favorite/favorite.tsx +++ b/app/screens/channel_info/favorite/favorite.tsx @@ -40,4 +40,4 @@ const Favorite = ({channelId, favoriteChannel, isFavorite, unfavoriteChannel, te ); }; -export default memo(Favorite); \ No newline at end of file +export default memo(Favorite); diff --git a/app/screens/channel_info/ignore_mentions/ignore_mentions.test.js b/app/screens/channel_info/ignore_mentions/ignore_mentions.test.js index 9e65a578a..063f5d698 100644 --- a/app/screens/channel_info/ignore_mentions/ignore_mentions.test.js +++ b/app/screens/channel_info/ignore_mentions/ignore_mentions.test.js @@ -43,4 +43,4 @@ describe('ChannelInfo -> IgnoreMentions', () => { ); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/ignore_mentions/ignore_mentions.tsx b/app/screens/channel_info/ignore_mentions/ignore_mentions.tsx index 19be086eb..123be1d3b 100644 --- a/app/screens/channel_info/ignore_mentions/ignore_mentions.tsx +++ b/app/screens/channel_info/ignore_mentions/ignore_mentions.tsx @@ -44,4 +44,4 @@ const IgnoreMentions = ({channelId, ignore, updateChannelNotifyProps, userId, te ); }; -export default memo(IgnoreMentions); \ No newline at end of file +export default memo(IgnoreMentions); diff --git a/app/screens/channel_info/leave/leave.test.js b/app/screens/channel_info/leave/leave.test.js index 95e64188a..4da374b2c 100644 --- a/app/screens/channel_info/leave/leave.test.js +++ b/app/screens/channel_info/leave/leave.test.js @@ -94,4 +94,4 @@ describe('ChannelInfo -> Leave', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/manage_members/manage_members.test.js b/app/screens/channel_info/manage_members/manage_members.test.js index 31c08457a..ff29e4358 100644 --- a/app/screens/channel_info/manage_members/manage_members.test.js +++ b/app/screens/channel_info/manage_members/manage_members.test.js @@ -63,4 +63,4 @@ describe('ChannelInfo -> Manage Members', () => { ); expect(wrapper.getElement()).toBeNull(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/mute/mute.test.js b/app/screens/channel_info/mute/mute.test.js index cb4e08af4..2af2da75e 100644 --- a/app/screens/channel_info/mute/mute.test.js +++ b/app/screens/channel_info/mute/mute.test.js @@ -43,4 +43,4 @@ describe('ChannelInfo -> Mute', () => { ); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/mute/mute.tsx b/app/screens/channel_info/mute/mute.tsx index ee80b1342..fa3cc65fa 100644 --- a/app/screens/channel_info/mute/mute.tsx +++ b/app/screens/channel_info/mute/mute.tsx @@ -43,4 +43,4 @@ const Mute = ({channelId, isChannelMuted, updateChannelNotifyProps, userId, test ); }; -export default memo(Mute); \ No newline at end of file +export default memo(Mute); diff --git a/app/screens/channel_info/pinned/pinned.test.js b/app/screens/channel_info/pinned/pinned.test.js index 50ebaa7e8..15c36b1bd 100644 --- a/app/screens/channel_info/pinned/pinned.test.js +++ b/app/screens/channel_info/pinned/pinned.test.js @@ -32,4 +32,4 @@ describe('ChannelInfo -> Pinned', () => { ); expect(wrapper.getElement()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/app/screens/channel_info/separator.tsx b/app/screens/channel_info/separator.tsx index 65a62c5db..81090758d 100644 --- a/app/screens/channel_info/separator.tsx +++ b/app/screens/channel_info/separator.tsx @@ -25,4 +25,4 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({ }, })); -export default Separator; \ No newline at end of file +export default Separator; diff --git a/app/screens/channel_members/channel_members.test.js b/app/screens/channel_members/channel_members.test.js index 035b7c14f..56c3e6a6c 100644 --- a/app/screens/channel_members/channel_members.test.js +++ b/app/screens/channel_members/channel_members.test.js @@ -56,4 +56,4 @@ describe('ChannelMembers', () => { const renderItem = wrapper.find(CustomList).props().renderItem; expect(renderItem).toEqual(wrapper.instance().renderSelectableItem); }); -}); \ No newline at end of file +}); diff --git a/app/screens/notification/notification_icon.tsx b/app/screens/notification/notification_icon.tsx index e6e271df0..34ad024e1 100644 --- a/app/screens/notification/notification_icon.tsx +++ b/app/screens/notification/notification_icon.tsx @@ -90,4 +90,4 @@ const styles = StyleSheet.create({ }, }); -export default NotificationIcon; \ No newline at end of file +export default NotificationIcon; diff --git a/app/screens/notification/notification_title.tsx b/app/screens/notification/notification_title.tsx index 6940d5038..de9f1e1ee 100644 --- a/app/screens/notification/notification_title.tsx +++ b/app/screens/notification/notification_title.tsx @@ -29,4 +29,4 @@ const styles = StyleSheet.create({ }, }); -export default NotificationTitle; \ No newline at end of file +export default NotificationTitle; diff --git a/app/screens/select_server/select_server.test.js b/app/screens/select_server/select_server.test.js index f23e6650b..6ec1699e9 100644 --- a/app/screens/select_server/select_server.test.js +++ b/app/screens/select_server/select_server.test.js @@ -80,4 +80,4 @@ describe('SelectServer', () => { expect(queryByTestId('select_server.error.text')).toBeNull(); await waitFor(() => expect(getByText('Connecting...')).toBeTruthy()); }); -}); \ No newline at end of file +}); diff --git a/app/selectors/theme.js b/app/selectors/theme.js index bb5125df9..be883fc54 100644 --- a/app/selectors/theme.js +++ b/app/selectors/theme.js @@ -36,4 +36,4 @@ export const getCustomTheme = createSelector( } return null; }, -); \ No newline at end of file +); diff --git a/app/store/helpers.ts b/app/store/helpers.ts index c4b2c6841..8c8e40905 100644 --- a/app/store/helpers.ts +++ b/app/store/helpers.ts @@ -35,4 +35,4 @@ export async function getStoredState() { } return {storeKeys, restoredState}; -} \ No newline at end of file +} diff --git a/app/store/middlewares/index.ts b/app/store/middlewares/index.ts index 01d76d5e6..5b74a1186 100644 --- a/app/store/middlewares/index.ts +++ b/app/store/middlewares/index.ts @@ -32,4 +32,4 @@ export function createMiddlewares(clientOptions: any): ThunkMiddleware[] { } return middleware; -} \ No newline at end of file +} diff --git a/app/store/middlewares/ios_extension.js b/app/store/middlewares/ios_extension.js index 1bb6ede9e..f7aa925c2 100644 --- a/app/store/middlewares/ios_extension.js +++ b/app/store/middlewares/ios_extension.js @@ -70,4 +70,4 @@ async function saveStateToFile(store) { mattermostBucket.writeToFile('entities', JSON.stringify(entities)); } -} \ No newline at end of file +} diff --git a/app/store/middlewares/message_retention.js b/app/store/middlewares/message_retention.js index bb4f61d0d..c9be8949a 100644 --- a/app/store/middlewares/message_retention.js +++ b/app/store/middlewares/message_retention.js @@ -71,4 +71,4 @@ export default function messageRetention(store) { return next(action); }; -} \ No newline at end of file +} diff --git a/app/store/store.ts b/app/store/store.ts index 200f07b72..3c9fbc9e8 100644 --- a/app/store/store.ts +++ b/app/store/store.ts @@ -14,4 +14,4 @@ class Store { } } -export default new Store(); \ No newline at end of file +export default new Store(); diff --git a/app/types/push_notification.d.ts b/app/types/push_notification.d.ts index cad5ba72b..8f439bf7a 100644 --- a/app/types/push_notification.d.ts +++ b/app/types/push_notification.d.ts @@ -29,4 +29,4 @@ interface NotificationWithData extends Notification { payload?: NotificationData; foreground?: boolean; userInteraction?: boolean; -} \ No newline at end of file +} diff --git a/app/utils/emoji_utils.js b/app/utils/emoji_utils.js index 46433b07e..7083ee2ae 100644 --- a/app/utils/emoji_utils.js +++ b/app/utils/emoji_utils.js @@ -173,4 +173,4 @@ export function compareEmojis(emojiA, emojiB, searchedName) { } return doDefaultComparison(aName, bName); -} \ No newline at end of file +} diff --git a/app/utils/message_attachment_colors.js b/app/utils/message_attachment_colors.js index b6173987f..0e081e06d 100644 --- a/app/utils/message_attachment_colors.js +++ b/app/utils/message_attachment_colors.js @@ -10,4 +10,4 @@ export function getStatusColors(theme) { primary: theme.buttonBg, success: theme.onlineIndicator, }; -} \ No newline at end of file +} diff --git a/app/utils/preferences.js b/app/utils/preferences.js index 0883bd308..fe4e13fba 100644 --- a/app/utils/preferences.js +++ b/app/utils/preferences.js @@ -8,4 +8,4 @@ export function buildPreference(category, userId, name, value = 'true') { name, value, }; -} \ No newline at end of file +} diff --git a/app/utils/supported_server.ts b/app/utils/supported_server.ts index 97e29e533..31e38b3c6 100644 --- a/app/utils/supported_server.ts +++ b/app/utils/supported_server.ts @@ -71,4 +71,4 @@ function unsupportedServerAlert(formatMessage: FormatMessageType) { const options = {cancelable: false}; Alert.alert(title, message, buttons, options); -} \ No newline at end of file +} diff --git a/jest.config.js b/jest.config.js index d3991d1de..7100dca05 100644 --- a/jest.config.js +++ b/jest.config.js @@ -30,4 +30,4 @@ module.exports = { transformIgnorePatterns: [ 'node_modules/(?!react-native|jail-monkey|@sentry/react-native|react-navigation|@react-native-community/cameraroll)', ], -}; \ No newline at end of file +}; diff --git a/packager/moduleNames.js b/packager/moduleNames.js index 067d918ba..1a50c626d 100644 --- a/packager/moduleNames.js +++ b/packager/moduleNames.js @@ -36,4 +36,4 @@ module.exports = [ 'app/store/store.ts', 'app/store/utils.js', 'share_extension/android/index.js', -]; \ No newline at end of file +]; diff --git a/packager/modules.android.js b/packager/modules.android.js index 797a92da1..298fa54aa 100644 --- a/packager/modules.android.js +++ b/packager/modules.android.js @@ -36,4 +36,4 @@ module.exports = [ './node_modules/app/store/store.ts', './node_modules/app/store/utils.js', './node_modules/share_extension/android/index.js', -]; \ No newline at end of file +]; diff --git a/packager/modules.ios.js b/packager/modules.ios.js index aeed1bf80..a316f08c0 100644 --- a/packager/modules.ios.js +++ b/packager/modules.ios.js @@ -35,4 +35,4 @@ module.exports = [ './node_modules/app/store/mmkv_adapter.ts', './node_modules/app/store/store.ts', './node_modules/app/store/utils.js', -]; \ No newline at end of file +]; diff --git a/react-native.config.js b/react-native.config.js index ce4c13cd8..fb33227df 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -12,4 +12,4 @@ module.exports = { assets: [ './assets/fonts', ], -}; \ No newline at end of file +}; diff --git a/share_extension/screens/share.tsx b/share_extension/screens/share.tsx index a9d17e1ae..79b2b2371 100644 --- a/share_extension/screens/share.tsx +++ b/share_extension/screens/share.tsx @@ -227,4 +227,4 @@ const styles = StyleSheet.create({ }, }); -export default injectIntl(Share); \ No newline at end of file +export default injectIntl(Share); diff --git a/share_extension/utils/index.tsx b/share_extension/utils/index.tsx index d9e645a03..59341450e 100644 --- a/share_extension/utils/index.tsx +++ b/share_extension/utils/index.tsx @@ -227,4 +227,4 @@ function showNotSecuredAlert(intl: typeof intlShape, vendor: string): Promise; export default Slider; - } \ No newline at end of file + }