Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref: [email protected]

Bettenbuk Zoltan0598e7369b2d
diff --git a/app.js b/app.js
index 64cc7aa251..7fcba1ed87 100644
--- a/app.js
+++ b/app.js
@@ -6,10 +6,10 @@ import 'jQuery-Impromptu';
import conference from './conference';
import API from './modules/API';
+import UI from './modules/UI/UI';
import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
import remoteControl from './modules/remotecontrol/RemoteControl';
import translation from './modules/translation/translation';
-import UI from './modules/UI/UI';
window.APP = {
API,
diff --git a/conference.js b/conference.js
index 9e1400d80d..95ec73918c 100644
--- a/conference.js
+++ b/conference.js
@@ -1,20 +1,16 @@
/* global $, APP, JitsiMeetJS, config, interfaceConfig */
-import { openConnection } from './connection';
+import EventEmitter from 'events';
+import Logger from 'jitsi-meet-logger';
+import * as JitsiMeetConferenceEvents from './ConferenceEvents';
+import { openConnection } from './connection';
import { ENDPOINT_TEXT_MESSAGE_NAME } from './modules/API/constants';
import AuthHandler from './modules/UI/authentication/AuthHandler';
-import Recorder from './modules/recorder/Recorder';
-
-import mediaDeviceHelper from './modules/devices/mediaDeviceHelper';
-
-import * as RemoteControlEvents
- from './service/remotecontrol/RemoteControlEvents';
-import UIEvents from './service/UI/UIEvents';
import UIUtil from './modules/UI/util/UIUtil';
+import mediaDeviceHelper from './modules/devices/mediaDeviceHelper';
+import Recorder from './modules/recorder/Recorder';
import { createTaskQueue } from './modules/util/helpers';
-import * as JitsiMeetConferenceEvents from './ConferenceEvents';
-
import {
createDeviceChangedEvent,
createStartSilentEvent,
@@ -27,16 +23,6 @@ import {
redirectToStaticPage,
reloadWithStoredParams
} from './react/features/app';
-import {
- initPrejoin,
- isPrejoinPageEnabled,
- isPrejoinPageVisible,
- replacePrejoinAudioTrack,
- replacePrejoinVideoTrack
-} from './react/features/prejoin';
-
-import EventEmitter from 'events';
-
import {
AVATAR_ID_COMMAND,
AVATAR_URL_COMMAND,
@@ -86,7 +72,6 @@ import {
setVideoAvailable,
setVideoMuted
} from './react/features/base/media';
-import { showNotification } from './react/features/notifications';
import {
dominantSpeakerChanged,
getLocalParticipant,
@@ -124,16 +109,27 @@ import {
maybeOpenFeedbackDialog,
submitFeedback
} from './react/features/feedback';
+import { showNotification } from './react/features/notifications';
import { mediaPermissionPromptVisibilityChanged } from './react/features/overlay';
import { suspendDetected } from './react/features/power-monitor';
+import {
+ initPrejoin,
+ isPrejoinPageEnabled,
+ isPrejoinPageVisible,
+ replacePrejoinAudioTrack,
+ replacePrejoinVideoTrack
+} from './react/features/prejoin';
+import { createRnnoiseProcessorPromise } from './react/features/rnnoise';
+import { toggleScreenshotCaptureEffect } from './react/features/screenshot-capture';
import { setSharedVideoStatus } from './react/features/shared-video';
import { AudioMixerEffect } from './react/features/stream-effects/audio-mixer/AudioMixerEffect';
import { createPresenterEffect } from './react/features/stream-effects/presenter';
import { endpointMessageReceived } from './react/features/subtitles';
-import { createRnnoiseProcessorPromise } from './react/features/rnnoise';
-import { toggleScreenshotCaptureEffect } from './react/features/screenshot-capture';
+import UIEvents from './service/UI/UIEvents';
+import * as RemoteControlEvents
+ from './service/remotecontrol/RemoteControlEvents';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
const eventEmitter = new EventEmitter();
diff --git a/connection.js b/connection.js
index c0af3bda08..4652060aaa 100644
--- a/connection.js
+++ b/connection.js
@@ -1,9 +1,9 @@
/* global APP, JitsiMeetJS, config */
+import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils';
import AuthHandler from './modules/UI/authentication/AuthHandler';
-
import {
connectionEstablished,
connectionFailed
@@ -14,7 +14,7 @@ import {
JitsiConnectionEvents
} from './react/features/base/lib-jitsi-meet';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
/**
* The feature announced so we can distinguish jibri participants.
diff --git a/modules/API/API.js b/modules/API/API.js
index b95a571c92..5d55dfd5c0 100644
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -1,5 +1,7 @@
// @flow
+import Logger from 'jitsi-meet-logger';
+
import * as JitsiMeetConferenceEvents from '../../ConferenceEvents';
import {
createApiEvent,
@@ -11,18 +13,19 @@ import {
setSubject
} from '../../react/features/base/conference';
import { parseJWTFromURLParams } from '../../react/features/base/jwt';
+import {
+ processExternalDeviceRequest
+} from '../../react/features/device-selection/functions';
import { setE2EEKey } from '../../react/features/e2ee';
import { invite } from '../../react/features/invite';
+import { muteAllParticipants } from '../../react/features/remote-video-menu/actions';
import { toggleTileView } from '../../react/features/video-layout';
import { setVideoQuality } from '../../react/features/video-quality';
import { getJitsiMeetTransport } from '../transport';
-import { muteAllParticipants } from '../../react/features/remote-video-menu/actions';
+
import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';
-import {
- processExternalDeviceRequest
-} from '../../react/features/device-selection/functions';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
declare var APP: Object;
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 5b0fbfd30e..413599deec 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -1,16 +1,10 @@
/* global APP, $, config, interfaceConfig */
-const logger = require('jitsi-meet-logger').getLogger(__filename);
const UI = {};
-import messageHandler from './util/MessageHandler';
-import UIUtil from './util/UIUtil';
-import UIEvents from '../../service/UI/UIEvents';
-import EtherpadManager from './etherpad/Etherpad';
-import SharedVideoManager from './shared_video/SharedVideo';
-
-import VideoLayout from './videolayout/VideoLayout';
+import EventEmitter from 'events';
+import Logger from 'jitsi-meet-logger';
import { getLocalParticipant } from '../../react/features/base/participants';
import { toggleChat } from '../../react/features/chat';
@@ -22,8 +16,15 @@ import {
setToolboxEnabled,
showToolbox
} from '../../react/features/toolbox';
+import UIEvents from '../../service/UI/UIEvents';
+
+import EtherpadManager from './etherpad/Etherpad';
+import SharedVideoManager from './shared_video/SharedVideo';
+import messageHandler from './util/MessageHandler';
+import UIUtil from './util/UIUtil';
+import VideoLayout from './videolayout/VideoLayout';
-const EventEmitter = require('events');
+const logger = Logger.getLogger(__filename);
UI.messageHandler = messageHandler;
diff --git a/modules/UI/authentication/AuthHandler.js b/modules/UI/authentication/AuthHandler.js
index 177c9e7016..bc8c9f27a2 100644
--- a/modules/UI/authentication/AuthHandler.js
+++ b/modules/UI/authentication/AuthHandler.js
@@ -1,5 +1,7 @@
/* global APP, config, JitsiMeetJS, Promise */
+import Logger from 'jitsi-meet-logger';
+
import { openConnection } from '../../../connection';
import { setJWT } from '../../../react/features/base/jwt';
import {
@@ -9,7 +11,7 @@ import UIUtil from '../util/UIUtil';
import LoginDialog from './LoginDialog';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
let externalAuthWindow;
let authRequiredDialog;
diff --git a/modules/UI/etherpad/Etherpad.js b/modules/UI/etherpad/Etherpad.js
index dd38637c90..e81c68f368 100644
--- a/modules/UI/etherpad/Etherpad.js
+++ b/modules/UI/etherpad/Etherpad.js
@@ -2,10 +2,9 @@
import { getSharedDocumentUrl, setDocumentEditingState } from '../../../react/features/etherpad';
import { getToolboxHeight } from '../../../react/features/toolbox';
-
-import VideoLayout from '../videolayout/VideoLayout';
-import LargeContainer from '../videolayout/LargeContainer';
import Filmstrip from '../videolayout/Filmstrip';
+import LargeContainer from '../videolayout/LargeContainer';
+import VideoLayout from '../videolayout/VideoLayout';
/**
*
diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.js
index b8809069ce..d49131f9ef 100644
--- a/modules/UI/shared_video/SharedVideo.js
+++ b/modules/UI/shared_video/SharedVideo.js
@@ -1,14 +1,7 @@
/* global $, APP, YT, interfaceConfig, onPlayerReady, onPlayerStateChange,
onPlayerError */
-const logger = require('jitsi-meet-logger').getLogger(__filename);
-
-import UIUtil from '../util/UIUtil';
-import UIEvents from '../../../service/UI/UIEvents';
-
-import VideoLayout from '../videolayout/VideoLayout';
-import LargeContainer from '../videolayout/LargeContainer';
-import Filmstrip from '../videolayout/Filmstrip';
+import Logger from 'jitsi-meet-logger';
import {
createSharedVideoEvent as createEvent,
@@ -24,6 +17,13 @@ import {
getToolboxHeight,
showToolbox
} from '../../../react/features/toolbox';
+import UIEvents from '../../../service/UI/UIEvents';
+import UIUtil from '../util/UIUtil';
+import Filmstrip from '../videolayout/Filmstrip';
+import LargeContainer from '../videolayout/LargeContainer';
+import VideoLayout from '../videolayout/VideoLayout';
+
+const logger = Logger.getLogger(__filename);
export const SHARED_VIDEO_CONTAINER_TYPE = 'sharedvideo';
diff --git a/modules/UI/shared_video/SharedVideoThumb.js b/modules/UI/shared_video/SharedVideoThumb.js
index 119c8a33a4..168b0a8884 100644
--- a/modules/UI/shared_video/SharedVideoThumb.js
+++ b/modules/UI/shared_video/SharedVideoThumb.js
@@ -1,8 +1,10 @@
/* global $ */
+import Logger from 'jitsi-meet-logger';
+
import SmallVideo from '../videolayout/SmallVideo';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
/**
*
diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js
index 94dc9883f8..f9f9cb3cf3 100644
--- a/modules/UI/util/MessageHandler.js
+++ b/modules/UI/util/MessageHandler.js
@@ -1,6 +1,6 @@
/* global $, APP */
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils';
import {
@@ -10,6 +10,8 @@ import {
showWarningNotification
} from '../../../react/features/notifications';
+const logger = Logger.getLogger(__filename);
+
/**
* Flag for enabling/disabling popups.
* @type {boolean}
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index 999431c687..ed4cfd7b9a 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -1,5 +1,6 @@
/* global $, APP */
/* eslint-disable no-unused-vars */
+import Logger from 'jitsi-meet-logger';
import React from 'react';
import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next';
@@ -7,24 +8,23 @@ import { Provider } from 'react-redux';
import { Avatar } from '../../../react/features/base/avatar';
import { i18next } from '../../../react/features/base/i18n';
-import { PresenceLabel } from '../../../react/features/presence-status';
-/* eslint-enable no-unused-vars */
-
-const logger = require('jitsi-meet-logger').getLogger(__filename);
-
-import { VIDEO_TYPE } from '../../../react/features/base/media';
import {
JitsiParticipantConnectionStatus
} from '../../../react/features/base/lib-jitsi-meet';
+import { VIDEO_TYPE } from '../../../react/features/base/media';
import {
updateKnownLargeVideoResolution
} from '../../../react/features/large-video';
-import { createDeferred } from '../../util/helpers';
+import { PresenceLabel } from '../../../react/features/presence-status';
+/* eslint-enable no-unused-vars */
import UIEvents from '../../../service/UI/UIEvents';
+import { createDeferred } from '../../util/helpers';
+import AudioLevels from '../audio_levels/AudioLevels';
import UIUtil from '../util/UIUtil';
+
import { VideoContainer, VIDEO_CONTAINER_TYPE } from './VideoContainer';
-import AudioLevels from '../audio_levels/AudioLevels';
+const logger = Logger.getLogger(__filename);
const DESKTOP_CONTAINER_TYPE = 'desktop';
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index f6d4d7e5ff..89165c42b1 100644
--- a/modules/UI/videolayout/LocalVideo.js
+++ b/modules/UI/videolayout/LocalVideo.js
@@ -1,5 +1,6 @@
/* global $, config, interfaceConfig, APP */
+import Logger from 'jitsi-meet-logger';
/* eslint-disable no-unused-vars */
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
@@ -11,12 +12,12 @@ import { updateSettings } from '../../../react/features/base/settings';
import { getLocalVideoTrack } from '../../../react/features/base/tracks';
import { shouldDisplayTileView } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */
-
-const logger = require('jitsi-meet-logger').getLogger(__filename);
-
import UIEvents from '../../../service/UI/UIEvents';
+
import SmallVideo from './SmallVideo';
+const logger = Logger.getLogger(__filename);
+
/**
*
*/
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.js
index 0591f3bb60..59e9c2a458 100644
--- a/modules/UI/videolayout/RemoteVideo.js
+++ b/modules/UI/videolayout/RemoteVideo.js
@@ -1,11 +1,12 @@
/* global $, APP, interfaceConfig */
/* eslint-disable no-unused-vars */
+import { AtlasKitThemeProvider } from '@atlaskit/theme';
+import Logger from 'jitsi-meet-logger';
import React from 'react';
import ReactDOM from 'react-dom';
-import { Provider } from 'react-redux';
import { I18nextProvider } from 'react-i18next';
-import { AtlasKitThemeProvider } from '@atlaskit/theme';
+import { Provider } from 'react-redux';
import { i18next } from '../../../react/features/base/i18n';
import {
@@ -22,12 +23,11 @@ import {
} from '../../../react/features/remote-video-menu';
import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */
-
-const logger = require('jitsi-meet-logger').getLogger(__filename);
-
+import UIUtils from '../util/UIUtil';
import SmallVideo from './SmallVideo';
-import UIUtils from '../util/UIUtil';
+
+const logger = Logger.getLogger(__filename);
/**
*
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 1126359a0c..10c7b3bfa1 100644
--- a/modules/UI/videolayout/SmallVideo.js
+++ b/modules/UI/videolayout/SmallVideo.js
@@ -1,15 +1,16 @@
/* global $, APP, config, interfaceConfig */
/* eslint-disable no-unused-vars */
+import { AtlasKitThemeProvider } from '@atlaskit/theme';
+import Logger from 'jitsi-meet-logger';
import React from 'react';
import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next';
-import { AtlasKitThemeProvider } from '@atlaskit/theme';
import { Provider } from 'react-redux';
-import { i18next } from '../../../react/features/base/i18n';
import { AudioLevelIndicator } from '../../../react/features/audio-level-indicator';
import { Avatar as AvatarDisplay } from '../../../react/features/base/avatar';
+import { i18next } from '../../../react/features/base/i18n';
import {
getParticipantCount,
getPinnedParticipant,
@@ -30,7 +31,7 @@ import {
} from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
/**
* Display mode constant used when video is being displayed on the small video.
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.js
index 415d572856..1ba1a4ed0d 100644
--- a/modules/UI/videolayout/VideoContainer.js
+++ b/modules/UI/videolayout/VideoContainer.js
@@ -8,11 +8,11 @@ import { browser } from '../../../react/features/base/lib-jitsi-meet';
import { ORIENTATION, LargeVideoBackground } from '../../../react/features/large-video';
import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */
+import UIEvents from '../../../service/UI/UIEvents';
+import UIUtil from '../util/UIUtil';
import Filmstrip from './Filmstrip';
import LargeContainer from './LargeContainer';
-import UIEvents from '../../../service/UI/UIEvents';
-import UIUtil from '../util/UIUtil';
// FIXME should be 'video'
export const VIDEO_CONTAINER_TYPE = 'camera';
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index 7326a2e544..7f4c3bb728 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -1,5 +1,6 @@
/* global APP, $, interfaceConfig */
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+
+import Logger from 'jitsi-meet-logger';
import { MEDIA_TYPE, VIDEO_TYPE } from '../../../react/features/base/media';
import {
@@ -9,16 +10,16 @@ import {
pinParticipant
} from '../../../react/features/base/participants';
import { getTrackByMediaTypeAndParticipant } from '../../../react/features/base/tracks';
+import UIEvents from '../../../service/UI/UIEvents';
import { SHARED_VIDEO_CONTAINER_TYPE } from '../shared_video/SharedVideo';
import SharedVideoThumb from '../shared_video/SharedVideoThumb';
-import UIEvents from '../../../service/UI/UIEvents';
-
-import RemoteVideo from './RemoteVideo';
import LargeVideoManager from './LargeVideoManager';
+import LocalVideo from './LocalVideo';
+import RemoteVideo from './RemoteVideo';
import { VIDEO_CONTAINER_TYPE } from './VideoContainer';
-import LocalVideo from './LocalVideo';
+const logger = Logger.getLogger(__filename);
const remoteVideos = {};
let localVideoThumbnail = null;
diff --git a/modules/keyboardshortcut/keyboardshortcut.js b/modules/keyboardshortcut/keyboardshortcut.js
index 99a1452f1f..a92dc471d1 100644
--- a/modules/keyboardshortcut/keyboardshortcut.js
+++ b/modules/keyboardshortcut/keyboardshortcut.js
@@ -1,17 +1,19 @@
/* global APP, $, interfaceConfig */
-import { toggleDialog } from '../../react/features/base/dialog';
+import Logger from 'jitsi-meet-logger';
+
import {
ACTION_SHORTCUT_PRESSED as PRESSED,
ACTION_SHORTCUT_RELEASED as RELEASED,
createShortcutEvent,
sendAnalytics
} from '../../react/features/analytics';
+import { toggleDialog } from '../../react/features/base/dialog';
import { KeyboardShortcutsDialog }
from '../../react/features/keyboard-shortcuts';
import { SpeakerStats } from '../../react/features/speaker-stats';
-const logger = require('jitsi-meet-logger').getLogger(__filename);
+const logger = Logger.getLogger(__filename);
/**
* Map of shortcuts. When a shortcut is registered it enters the mapping.
diff --git a/modules/remotecontrol/Controller.js b/modules/remotecontrol/Controller.js
index 77dc268f74..c8a8fe03a2 100644
--- a/modules/remotecontrol/Controller.js
+++ b/modules/remotecontrol/Controller.js
@@ -5,7 +5,7 @@ import { getLogger } from 'jitsi-meet-logger';
import {
JitsiConferenceEvents
} from '../../react/features/base/lib-jitsi-meet';
-import * as KeyCodes from '../keycode/keycode';
+import UIEvents from '../../service/UI/UIEvents';
import {
EVENTS,
PERMISSIONS_ACTIONS,
@@ -13,7 +13,7 @@ import {
} from '../../service/remotecontrol/Constants';
import * as RemoteControlEvents
from '../../service/remotecontrol/RemoteControlEvents';
-import UIEvents from '../../service/UI/UIEvents';
+import * as KeyCodes from '../keycode/keycode';
import RemoteControlParticipant from './RemoteControlParticipant';
diff --git a/modules/transport/index.js b/modules/transport/index.js
index b6032876d4..2af297f416 100644
--- a/modules/transport/index.js
+++ b/modules/transport/index.js
@@ -1,9 +1,10 @@
// FIXME: change to '../API' when we update to webpack2. If we do this now all
// files from API modules will be included in external_api.js.
-import { API_ID } from '../API/constants';
+import { PostMessageTransportBackend, Transport } from 'js-utils/transport';
+
import { getJitsiMeetGlobalNS } from '../../react/features/base/util';
+import { API_ID } from '../API/constants';
-import { PostMessageTransportBackend, Transport } from 'js-utils/transport';
export {
PostMessageTransportBackend,
diff --git a/package-lock.json b/package-lock.json
index 58fd4a7e03..6d07814634 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4947,6 +4947,102 @@
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
},
+ "array.prototype.flat": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz",
+ "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1"
+ },
+ "dependencies": {
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
+ "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.5",
+ "is-regex": "^1.0.5",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.1",
+ "string.prototype.trimright": "^2.1.1"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
+ "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ }
+ }
+ },
"arrify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
@@ -7613,8 +7709,8 @@
}
},
"eslint-config-jitsi": {
- "version": "github:jitsi/eslint-config-jitsi#5f9fe4fd00be471ab6f5d06f77ffc90bba0853e8",
- "from": "github:jitsi/eslint-config-jitsi#1.0.1",
+ "version": "github:jitsi/eslint-config-jitsi#f292fbc07689eb3dbeb81c074accff25b448b074",
+ "from": "github:jitsi/eslint-config-jitsi#1.0.3",
"dev": true
},
"eslint-import-resolver-node": {
@@ -7627,46 +7723,6 @@
"resolve": "^1.5.0"
}
},
- "eslint-module-utils": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz",
- "integrity": "sha1-snA2LNiLGkitMIl2zn+lTphBF0Y=",
- "dev": true,
- "requires": {
- "debug": "^2.6.8",
- "pkg-dir": "^1.0.0"
- },
- "dependencies": {
- "find-up": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
- "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
- "dev": true,
- "requires": {
- "path-exists": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- }
- },
- "path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
- "dev": true,
- "requires": {
- "pinkie-promise": "^2.0.0"
- }
- },
- "pkg-dir": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz",
- "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=",
- "dev": true,
- "requires": {
- "find-up": "^1.0.0"
- }
- }
- }
- },
"eslint-plugin-flowtype": {
"version": "2.50.3",
"resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.50.3.tgz",
@@ -7685,21 +7741,23 @@
}
},
"eslint-plugin-import": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz",
- "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==",
+ "version": "2.20.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz",
+ "integrity": "sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==",
"dev": true,
"requires": {
+ "array-includes": "^3.0.3",
+ "array.prototype.flat": "^1.2.1",
"contains-path": "^0.1.0",
- "debug": "^2.6.8",
+ "debug": "^2.6.9",
"doctrine": "1.5.0",
- "eslint-import-resolver-node": "^0.3.1",
- "eslint-module-utils": "^2.2.0",
- "has": "^1.0.1",
- "lodash": "^4.17.4",
- "minimatch": "^3.0.3",
+ "eslint-import-resolver-node": "^0.3.2",
+ "eslint-module-utils": "^2.4.1",
+ "has": "^1.0.3",
+ "minimatch": "^3.0.4",
+ "object.values": "^1.1.0",
"read-pkg-up": "^2.0.0",
- "resolve": "^1.6.0"
+ "resolve": "^1.12.0"
},
"dependencies": {
"doctrine": {
@@ -7712,11 +7770,39 @@
"isarray": "^1.0.0"
}
},
+ "eslint-module-utils": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz",
+ "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==",
+ "dev": true,
+ "requires": {
+ "debug": "^2.6.9",
+ "pkg-dir": "^2.0.0"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"dev": true
+ },
+ "resolve": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.6"
+ }
}
}
},
@@ -12598,6 +12684,12 @@
}
}
},
+ "object-inspect": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
+ "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==",
+ "dev": true
+ },
"object-is": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz",
@@ -16713,6 +16805,392 @@
}
}
},
+ "string.prototype.trimend": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
+ "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ },
+ "dependencies": {
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
+ "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.5",
+ "is-regex": "^1.0.5",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.1",
+ "string.prototype.trimright": "^2.1.1"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
+ "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ }
+ }
+ },
+ "string.prototype.trimleft": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz",
+ "integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5",
+ "string.prototype.trimstart": "^1.0.0"
+ },
+ "dependencies": {
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
+ "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.5",
+ "is-regex": "^1.0.5",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.1",
+ "string.prototype.trimright": "^2.1.1"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
+ "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ }
+ }
+ },
+ "string.prototype.trimright": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz",
+ "integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5",
+ "string.prototype.trimend": "^1.0.0"
+ },
+ "dependencies": {
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
+ "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.5",
+ "is-regex": "^1.0.5",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.1",
+ "string.prototype.trimright": "^2.1.1"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
+ "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ }
+ }
+ },
+ "string.prototype.trimstart": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
+ "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ },
+ "dependencies": {
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
+ "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.5",
+ "is-regex": "^1.0.5",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.1",
+ "string.prototype.trimright": "^2.1.1"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
+ "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ }
+ }
+ },
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
diff --git a/package.json b/package.json
index f42660c520..f14859b1ef 100644
--- a/package.json
+++ b/package.json
@@ -113,9 +113,9 @@
"clean-css": "3.4.25",
"css-loader": "0.28.7",
"eslint": "5.6.1",
- "eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.1",
+ "eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.3",
"eslint-plugin-flowtype": "2.50.3",
- "eslint-plugin-import": "2.14.0",
+ "eslint-plugin-import": "2.20.2",
"eslint-plugin-jsdoc": "3.8.0",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-react-native": "3.3.0",
diff --git a/react/features/always-on-top/HangupButton.js b/react/features/always-on-top/HangupButton.js
index 2254280536..cefedb3a50 100644
--- a/react/features/always-on-top/HangupButton.js
+++ b/react/features/always-on-top/HangupButton.js
@@ -2,8 +2,8 @@
// We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig)
-import AbstractHangupButton from '../base/toolbox/components/AbstractHangupButton';
import type { Props } from '../base/toolbox/components/AbstractButton';
+import AbstractHangupButton from '../base/toolbox/components/AbstractHangupButton';
const { api } = window.alwaysOnTop;
diff --git a/react/features/always-on-top/VideoMuteButton.js b/react/features/always-on-top/VideoMuteButton.js
index 913b605672..75b5ffa198 100644
--- a/react/features/always-on-top/VideoMuteButton.js
+++ b/react/features/always-on-top/VideoMuteButton.js
@@ -2,8 +2,8 @@
// We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig)
-import AbstractVideoMuteButton from '../base/toolbox/components/AbstractVideoMuteButton';
import type { Props } from '../base/toolbox/components/AbstractButton';
+import AbstractVideoMuteButton from '../base/toolbox/components/AbstractVideoMuteButton';
const { api } = window.alwaysOnTop;
diff --git a/react/features/analytics/functions.js b/react/features/analytics/functions.js
index fb183eec17..b24c674723 100644
--- a/react/features/analytics/functions.js
+++ b/react/features/analytics/functions.js
@@ -1,15 +1,16 @@
// @flow
+import {
+ checkChromeExtensionsInstalled,
+ isMobileBrowser
+} from '../base/environment/utils';
import JitsiMeetJS, {
analytics,
browser,
isAnalyticsEnabled
} from '../base/lib-jitsi-meet';
import { getJitsiMeetGlobalNS, loadScript } from '../base/util';
-import {
- checkChromeExtensionsInstalled,
- isMobileBrowser
-} from '../base/environment/utils';
+
import { AmplitudeHandler, MatomoHandler } from './handlers';
import logger from './logger';
diff --git a/react/features/analytics/middleware.js b/react/features/analytics/middleware.js
index 7b3c9344fb..c6c5077364 100644
--- a/react/features/analytics/middleware.js
+++ b/react/features/analytics/middleware.js
@@ -16,8 +16,8 @@ import {
TRACK_UPDATED
} from '../base/tracks';
-import { UPDATE_LOCAL_TRACKS_DURATION } from './actionTypes';
import { createLocalTracksDurationEvent, createNetworkInfoEvent } from './AnalyticsEvents';
+import { UPDATE_LOCAL_TRACKS_DURATION } from './actionTypes';
import { createHandlers, initAnalytics, resetAnalytics, sendAnalytics } from './functions';
/**
diff --git a/react/features/app/components/AbstractApp.js b/react/features/app/components/AbstractApp.js
index fc236c6bb8..dc1d3dc059 100644
--- a/react/features/app/components/AbstractApp.js
+++ b/react/features/app/components/AbstractApp.js
@@ -3,13 +3,11 @@
import React, { Fragment } from 'react';
import { BaseApp } from '../../base/app';
+import '../../base/lastn'; // Register lastN middleware
import { toURLString } from '../../base/util';
import '../../follow-me';
import { OverlayContainer } from '../../overlay';
-
-import '../../base/lastn'; // Register lastN middleware
import '../../rejoin'; // Enable rejoin analytics
-
import { appNavigate } from '../actions';
import { getDefaultURL } from '../functions';
diff --git a/react/features/app/components/App.native.js b/react/features/app/components/App.native.js
index 996e0d0288..393d6a5610 100644
--- a/react/features/app/components/App.native.js
+++ b/react/features/app/components/App.native.js
@@ -23,8 +23,8 @@ import '../../mobile/picture-in-picture';
import '../../mobile/proximity';
import '../../mobile/wake-lock';
import '../../mobile/watchos';
-
import logger from '../logger';
+
import { AbstractApp } from './AbstractApp';
import type { Props as AbstractAppProps } from './AbstractApp';
diff --git a/react/features/app/getRouteToRender.js b/react/features/app/getRouteToRender.js
index 02a1d9546d..a4bcdd5f4d 100644
--- a/react/features/app/getRouteToRender.js
+++ b/react/features/app/getRouteToRender.js
@@ -4,8 +4,8 @@ import { generateRoomWithoutSeparator } from 'js-utils/random';
import type { Component } from 'react';
import { isRoomValid } from '../base/conference';
-import { toState } from '../base/redux';
import { isSupportedBrowser } from '../base/environment';
+import { toState } from '../base/redux';
import { Conference } from '../conference';
import { getDeepLinkingPage } from '../deep-linking';
import { UnsupportedDesktopBrowser } from '../unsupported-browser';
diff --git a/react/features/app/middleware.js b/react/features/app/middleware.js
index e2c460b321..82615fe1c0 100644
--- a/react/features/app/middleware.js
+++ b/react/features/app/middleware.js
@@ -4,7 +4,6 @@ import {
createConnectionEvent,
sendAnalytics
} from '../analytics';
-
import { SET_ROOM } from '../base/conference';
import {
CONNECTION_ESTABLISHED,
diff --git a/react/features/authentication/components/LoginDialog.native.js b/react/features/authentication/components/LoginDialog.native.js
index 92d50e6702..d3ba003265 100644
--- a/react/features/authentication/components/LoginDialog.native.js
+++ b/react/features/authentication/components/LoginDialog.native.js
@@ -18,7 +18,6 @@ import {
import { translate } from '../../base/i18n';
import { JitsiConnectionErrors } from '../../base/lib-jitsi-meet';
import type { StyleType } from '../../base/styles';
-
import { authenticateAndUpgradeRole, cancelLogin } from '../actions';
// Register styles.
diff --git a/react/features/authentication/components/WaitForOwnerDialog.native.js b/react/features/authentication/components/WaitForOwnerDialog.native.js
index 3f921acd82..d5db88ed91 100644
--- a/react/features/authentication/components/WaitForOwnerDialog.native.js
+++ b/react/features/authentication/components/WaitForOwnerDialog.native.js
@@ -6,7 +6,6 @@ import type { Dispatch } from 'redux';
import { ConfirmDialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
import { connect } from '../../base/redux';
-
import { cancelWaitForOwner, _openLoginDialog } from '../actions';
/**
diff --git a/react/features/authentication/middleware.js b/react/features/authentication/middleware.js
index bb0ac57db9..29f36212f6 100644
--- a/react/features/authentication/middleware.js
+++ b/react/features/authentication/middleware.js
@@ -16,17 +16,17 @@ import {
} from '../base/lib-jitsi-meet';
import { MiddlewareRegistry } from '../base/redux';
+import {
+ CANCEL_LOGIN,
+ STOP_WAIT_FOR_OWNER,
+ WAIT_FOR_OWNER
+} from './actionTypes';
import {
_openLoginDialog,
_openWaitForOwnerDialog,
stopWaitForOwner,
waitForOwner
} from './actions';
-import {
- CANCEL_LOGIN,
- STOP_WAIT_FOR_OWNER,
- WAIT_FOR_OWNER
-} from './actionTypes';
import { LoginDialog, WaitForOwnerDialog } from './components';
/**
diff --git a/react/features/base/audio-only/actions.js b/react/features/base/audio-only/actions.js
index 513bfe81df..102dfec76a 100644
--- a/react/features/base/audio-only/actions.js
+++ b/react/features/base/audio-only/actions.js
@@ -1,13 +1,13 @@
// @flow
-import UIEvents from '../../../../service/UI/UIEvents';
+import type { Dispatch } from 'redux';
+import UIEvents from '../../../../service/UI/UIEvents';
import { createAudioOnlyChangedEvent, sendAnalytics } from '../../analytics';
import { SET_AUDIO_ONLY } from './actionTypes';
import logger from './logger';
-import type { Dispatch } from 'redux';
declare var APP: Object;
diff --git a/react/features/base/avatar/components/Avatar.js b/react/features/base/avatar/components/Avatar.js
index fcb93efcb9..26cea4d497 100644
--- a/react/features/base/avatar/components/Avatar.js
+++ b/react/features/base/avatar/components/Avatar.js
@@ -5,7 +5,6 @@ import React, { PureComponent } from 'react';
import { IconShareDesktop } from '../../icons';
import { getParticipantById } from '../../participants';
import { connect } from '../../redux';
-
import { getAvatarColor, getInitials } from '../functions';
import { StatelessAvatar } from '.';
diff --git a/react/features/base/avatar/components/native/StatelessAvatar.js b/react/features/base/avatar/components/native/StatelessAvatar.js
index cb22c51943..a6c821119a 100644
--- a/react/features/base/avatar/components/native/StatelessAvatar.js
+++ b/react/features/base/avatar/components/native/StatelessAvatar.js
@@ -5,11 +5,12 @@ import { Image, Text, View } from 'react-native';
import { Icon } from '../../../icons';
import { type StyleType } from '../../../styles';
-
import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar';
import styles from './styles';
+const DEFAULT_AVATAR = require('../../../../../../images/avatar.png');
+
type Props = AbstractProps & {
/**
@@ -23,8 +24,6 @@ type Props = AbstractProps & {
style?: StyleType
};
-const DEFAULT_AVATAR = require('../../../../../../images/avatar.png');
-
/**
* Implements a stateless avatar component that renders an avatar purely from what gets passed through
* props.
diff --git a/react/features/base/avatar/components/web/StatelessAvatar.js b/react/features/base/avatar/components/web/StatelessAvatar.js
index e1ed31bfb0..a2c8a0d311 100644
--- a/react/features/base/avatar/components/web/StatelessAvatar.js
+++ b/react/features/base/avatar/components/web/StatelessAvatar.js
@@ -3,7 +3,6 @@
import React from 'react';
import { Icon } from '../../../icons';
-
import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar';
type Props = AbstractProps & {
diff --git a/react/features/base/color-scheme/middleware.js b/react/features/base/color-scheme/middleware.js
index 3ecad840c8..9a22ff94e6 100644
--- a/react/features/base/color-scheme/middleware.js
+++ b/react/features/base/color-scheme/middleware.js
@@ -2,8 +2,8 @@
import { MiddlewareRegistry } from '../redux';
-import { SET_COLOR_SCHEME } from './actionTypes';
import ColorSchemeRegistry from './ColorSchemeRegistry';
+import { SET_COLOR_SCHEME } from './actionTypes';
/**
* The middleware of the feature {@code base/color-scheme}.
diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.js
index 6f5634c31a..61d3e8ac77 100644
--- a/react/features/base/conference/actions.js
+++ b/react/features/base/conference/actions.js
@@ -8,7 +8,6 @@ import {
} from '../../analytics';
import { getName } from '../../app';
import { endpointMessageReceived } from '../../subtitles';
-
import { JITSI_CONNECTION_CONFERENCE_KEY } from '../connection';
import { JitsiConferenceEvents } from '../lib-jitsi-meet';
import { setAudioMuted, setVideoMuted } from '../media';
diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.js
index c37c7b573a..0de643a54b 100644
--- a/react/features/base/conference/middleware.js
+++ b/react/features/base/conference/middleware.js
@@ -1,7 +1,5 @@
// @flow
-import { openDisplayNamePrompt } from '../../display-name';
-
import {
ACTION_PINNED,
ACTION_UNPINNED,
@@ -9,8 +7,10 @@ import {
createPinnedEvent,
sendAnalytics
} from '../../analytics';
+import { openDisplayNamePrompt } from '../../display-name';
import { CONNECTION_ESTABLISHED, CONNECTION_FAILED } from '../connection';
import { JitsiConferenceErrors } from '../lib-jitsi-meet';
+import { MEDIA_TYPE } from '../media';
import {
getLocalParticipant,
getParticipantById,
@@ -21,12 +21,6 @@ import {
import { MiddlewareRegistry, StateListenerRegistry } from '../redux';
import { TRACK_ADDED, TRACK_REMOVED } from '../tracks';
-import {
- conferenceFailed,
- conferenceWillLeave,
- createConference,
- setSubject
-} from './actions';
import {
CONFERENCE_FAILED,
CONFERENCE_JOINED,
@@ -37,6 +31,12 @@ import {
SET_PENDING_SUBJECT_CHANGE,
SET_ROOM
} from './actionTypes';
+import {
+ conferenceFailed,
+ conferenceWillLeave,
+ createConference,
+ setSubject
+} from './actions';
import {
_addLocalTracksToConference,
_removeLocalTracksFromConference,
@@ -44,7 +44,6 @@ import {
getCurrentConference
} from './functions';
import logger from './logger';
-import { MEDIA_TYPE } from '../media';
declare var APP: Object;
diff --git a/react/features/base/conference/reducer.js b/react/features/base/conference/reducer.js
index 81c332d978..06fa5855f1 100644
--- a/react/features/base/conference/reducer.js
+++ b/react/features/base/conference/reducer.js
@@ -1,9 +1,9 @@
// @flow
+import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../room-lock';
import { CONNECTION_WILL_CONNECT, SET_LOCATION_URL } from '../connection';
import { JitsiConferenceErrors } from '../lib-jitsi-meet';
import { assign, ReducerRegistry, set } from '../redux';
-import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../room-lock';
import {
AUTH_STATUS_CHANGED,
diff --git a/react/features/base/config/functions.any.js b/react/features/base/config/functions.any.js
index f5b1c30b4e..ff5a448f9a 100644
--- a/react/features/base/config/functions.any.js
+++ b/react/features/base/config/functions.any.js
@@ -3,10 +3,11 @@
import { jitsiLocalStorage } from 'js-utils';
import _ from 'lodash';
+import { parseURLParams } from '../util';
+
import CONFIG_WHITELIST from './configWhitelist';
import { _CONFIG_STORE_PREFIX } from './constants';
import INTERFACE_CONFIG_WHITELIST from './interfaceConfigWhitelist';
-import { parseURLParams } from '../util';
import logger from './logger';
// XXX The function getRoomName is split out of
diff --git a/react/features/base/connection/reducer.js b/react/features/base/connection/reducer.js
index 41d01da524..d010fc76f4 100644
--- a/react/features/base/connection/reducer.js
+++ b/react/features/base/connection/reducer.js
@@ -11,7 +11,6 @@ import {
CONNECTION_WILL_CONNECT,
SET_LOCATION_URL
} from './actionTypes';
-
import type { ConnectionFailedError } from './actions.native';
/**
diff --git a/react/features/base/devices/functions.js b/react/features/base/devices/functions.js
index c001aa3870..62552cfed1 100644
--- a/react/features/base/devices/functions.js
+++ b/react/features/base/devices/functions.js
@@ -1,8 +1,8 @@
// @flow
-import { parseURLParams } from '../util';
import JitsiMeetJS from '../lib-jitsi-meet';
import { updateSettings } from '../settings';
+import { parseURLParams } from '../util';
import logger from './logger';
diff --git a/react/features/base/devices/middleware.js b/react/features/base/devices/middleware.js
index 12849279c4..5884695dea 100644
--- a/react/features/base/devices/middleware.js
+++ b/react/features/base/devices/middleware.js
@@ -1,16 +1,15 @@
/* global APP */
-import { CONFERENCE_JOINED } from '../conference';
-import { processExternalDeviceRequest } from '../../device-selection';
-import { MiddlewareRegistry } from '../redux';
import UIEvents from '../../../../service/UI/UIEvents';
+import { processExternalDeviceRequest } from '../../device-selection';
+import { showNotification, showWarningNotification } from '../../notifications';
+import { replaceAudioTrackById, replaceVideoTrackById, setDeviceStatusWarning } from '../../prejoin/actions';
+import { isPrejoinPageVisible } from '../../prejoin/functions';
+import { CONFERENCE_JOINED } from '../conference';
import { JitsiTrackErrors } from '../lib-jitsi-meet';
+import { MiddlewareRegistry } from '../redux';
+import { updateSettings } from '../settings';
-import {
- removePendingDeviceRequests,
- setAudioInputDevice,
- setVideoInputDevice
-} from './actions';
import {
CHECK_AND_NOTIFY_FOR_NEW_DEVICE,
NOTIFY_CAMERA_ERROR,
@@ -18,10 +17,11 @@ import {
SET_AUDIO_INPUT_DEVICE,
SET_VIDEO_INPUT_DEVICE
} from './actionTypes';
-import { replaceAudioTrackById, replaceVideoTrackById, setDeviceStatusWarning } from '../../prejoin/actions';
-import { isPrejoinPageVisible } from '../../prejoin/functions';
-import { showNotification, showWarningNotification } from '../../notifications';
-import { updateSettings } from '../settings';
+import {
+ removePendingDeviceRequests,
+ setAudioInputDevice,
+ setVideoInputDevice
+} from './actions';
import { formatDeviceLabel, setAudioOutputDeviceId } from './functions';
import logger from './logger';
diff --git a/react/features/base/devices/reducer.js b/react/features/base/devices/reducer.js
index 655312a91a..206b5e416e 100644
--- a/react/features/base/devices/reducer.js
+++ b/react/features/base/devices/reducer.js
@@ -1,3 +1,5 @@
+import { ReducerRegistry } from '../redux';
+
import {
ADD_PENDING_DEVICE_REQUEST,
REMOVE_PENDING_DEVICE_REQUESTS,
@@ -6,9 +8,6 @@ import {
UPDATE_DEVICE_LIST
} from './actionTypes';
import { groupDevicesByKind } from './functions';
-
-import { ReducerRegistry } from '../redux';
-
import logger from './logger';
const DEFAULT_STATE = {
diff --git a/react/features/base/dialog/components/native/AlertDialog.js b/react/features/base/dialog/components/native/AlertDialog.js
index 50432514af..f732e73b6b 100644
--- a/react/features/base/dialog/components/native/AlertDialog.js
+++ b/react/features/base/dialog/components/native/AlertDialog.js
@@ -5,7 +5,6 @@ import { Text } from 'react-native';
import { translate } from '../../../i18n';
import { connect } from '../../../redux';
-
import { _abstractMapStateToProps } from '../../functions';
import { type Props as AbstractProps } from './BaseDialog';
diff --git a/react/features/base/dialog/components/native/BaseDialog.js b/react/features/base/dialog/components/native/BaseDialog.js
index ff225b7cc8..6c0e8ebf7e 100644
--- a/react/features/base/dialog/components/native/BaseDialog.js
+++ b/react/features/base/dialog/components/native/BaseDialog.js
@@ -11,11 +11,11 @@ import {
import { Icon, IconClose } from '../../../icons';
import { StyleType } from '../../../styles';
-
import AbstractDialog, {
type Props as AbstractProps,
type State
} from '../AbstractDialog';
+
import { brandedDialog as styles } from './styles';
export type Props = AbstractProps & {
diff --git a/react/features/base/dialog/components/native/ConfirmDialog.js b/react/features/base/dialog/components/native/ConfirmDialog.js
index 9fed7bb392..e4a5d839bb 100644
--- a/react/features/base/dialog/components/native/ConfirmDialog.js
+++ b/react/features/base/dialog/components/native/ConfirmDialog.js
@@ -6,7 +6,6 @@ import { Text, TouchableOpacity } from 'react-native';
import { translate } from '../../../i18n';
import { connect } from '../../../redux';
import { StyleType } from '../../../styles';
-
import { _abstractMapStateToProps } from '../../functions';
import { type Props as BaseProps } from './BaseDialog';
diff --git a/react/features/base/dialog/components/native/CustomDialog.js b/react/features/base/dialog/components/native/CustomDialog.js
index 25a4660bfe..f7702a5697 100644
--- a/react/features/base/dialog/components/native/CustomDialog.js
+++ b/react/features/base/dialog/components/native/CustomDialog.js
@@ -1,7 +1,6 @@
// @flow
import { connect } from '../../../redux';
-
import { _abstractMapStateToProps } from '../../functions';
import BaseDialog, { type Props } from './BaseDialog';
diff --git a/react/features/base/dialog/components/native/CustomSubmitDialog.js b/react/features/base/dialog/components/native/CustomSubmitDialog.js
index b870d3f5fe..69a9dfbb59 100644
--- a/react/features/base/dialog/components/native/CustomSubmitDialog.js
+++ b/react/features/base/dialog/components/native/CustomSubmitDialog.js
@@ -2,7 +2,6 @@
import { translate } from '../../../i18n';
import { connect } from '../../../redux';
-
import { _abstractMapStateToProps } from '../../functions';
import { type Props as BaseProps } from './BaseDialog';
diff --git a/react/features/base/dialog/components/native/DialogContainer.js b/react/features/base/dialog/components/native/DialogContainer.js
index b21b7d1cc8..d82fce7ee8 100644
--- a/react/features/base/dialog/components/native/DialogContainer.js
+++ b/react/features/base/dialog/components/native/DialogContainer.js
@@ -1,5 +1,4 @@
import { connect } from '../../../redux';
-
import AbstractDialogContainer, {
abstractMapStateToProps
} from '../AbstractDialogContainer';
diff --git a/react/features/base/dialog/components/native/InputDialog.js b/react/features/base/dialog/components/native/InputDialog.js
index 97f388f1f7..6944c3e90f 100644
--- a/react/features/base/dialog/components/native/InputDialog.js
+++ b/react/features/base/dialog/components/native/InputDialog.js
@@ -6,9 +6,7 @@ import { View, Text, TextInput, TouchableOpacity } from 'react-native';
import { translate } from '../../../i18n';
import { connect } from '../../../redux';
import { StyleType } from '../../../styles';
-
import { _abstractMapStateToProps } from '../../functions';
-
import { type State as AbstractState } from '../AbstractDialog';
import BaseDialog, { type Props as BaseProps } from './BaseDialog';
diff --git a/react/features/base/dialog/components/native/styles.js b/react/features/base/dialog/components/native/styles.js
index 79b76d974e..882defdd1a 100644
--- a/react/features/base/dialog/components/native/styles.js
+++ b/react/features/base/dialog/components/native/styles.js
@@ -4,7 +4,6 @@ import { StyleSheet } from 'react-native';
import { ColorSchemeRegistry, schemeColor } from '../../../color-scheme';
import { BoxModel, ColorPalette } from '../../../styles';
-
import { PREFERRED_DIALOG_SIZE } from '../../constants';
const BORDER_RADIUS = 5;
diff --git a/react/features/base/dialog/components/web/Dialog.js b/react/features/base/dialog/components/web/Dialog.js
index 619343721a..aee91b04e0 100644
--- a/react/features/base/dialog/components/web/Dialog.js
+++ b/react/features/base/dialog/components/web/Dialog.js
@@ -3,9 +3,9 @@
import React from 'react';
import { connect } from '../../../redux';
-
import AbstractDialog from '../AbstractDialog';
import type { Props as AbstractDialogProps, State } from '../AbstractDialog';
+
import StatelessDialog from './StatelessDialog';
/**
diff --git a/react/features/base/dialog/components/web/DialogContainer.js b/react/features/base/dialog/components/web/DialogContainer.js
index 6fe7c074a3..05342dd7d5 100644
--- a/react/features/base/dialog/components/web/DialogContainer.js
+++ b/react/features/base/dialog/components/web/DialogContainer.js
@@ -2,7 +2,6 @@ import { ModalTransition } from '@atlaskit/modal-dialog';
import React from 'react';
import { connect } from '../../../redux';
-
import AbstractDialogContainer, {
abstractMapStateToProps
} from '../AbstractDialogContainer';
diff --git a/react/features/base/dialog/components/web/DialogWithTabs.js b/react/features/base/dialog/components/web/DialogWithTabs.js
index 3b599ed124..35282fb14f 100644
--- a/react/features/base/dialog/components/web/DialogWithTabs.js
+++ b/react/features/base/dialog/components/web/DialogWithTabs.js
@@ -4,7 +4,6 @@ import Tabs from '@atlaskit/tabs';
import React, { Component } from 'react';
import { translate } from '../../../i18n/functions';
-
import logger from '../../logger';
import StatelessDialog from './StatelessDialog';
diff --git a/react/features/base/dialog/components/web/StatelessDialog.js b/react/features/base/dialog/components/web/StatelessDialog.js
index be93e02b95..c5494f7eec 100644
--- a/react/features/base/dialog/components/web/StatelessDialog.js
+++ b/react/features/base/dialog/components/web/StatelessDialog.js
@@ -6,7 +6,6 @@ import _ from 'lodash';
import React, { Component } from 'react';
import { translate } from '../../../i18n/functions';
-
import type { DialogProps } from '../../constants';
/**
diff --git a/react/features/base/environment/environment.js b/react/features/base/environment/environment.js
index dc790e6f80..6985f7f4f2 100644
--- a/react/features/base/environment/environment.js
+++ b/react/features/base/environment/environment.js
@@ -1,6 +1,7 @@
// @flow
import JitsiMeetJS from '../lib-jitsi-meet';
+
import { isMobileBrowser } from './utils';
const { browser } = JitsiMeetJS.util;
diff --git a/react/features/base/i18n/i18next.js b/react/features/base/i18n/i18next.js
index 85b665b5fc..d2e4275e37 100644
--- a/react/features/base/i18n/i18next.js
+++ b/react/features/base/i18n/i18next.js
@@ -1,9 +1,9 @@
// @flow
+import COUNTRIES_RESOURCES from 'i18n-iso-countries/langs/en.json';
import i18next from 'i18next';
import I18nextXHRBackend from 'i18next-xhr-backend';
-import COUNTRIES_RESOURCES from 'i18n-iso-countries/langs/en.json';
import LANGUAGES_RESOURCES from '../../../../lang/languages.json';
import MAIN_RESOURCES from '../../../../lang/main.json';
diff --git a/react/features/base/icons/components/Icon.js b/react/features/base/icons/components/Icon.js
index 21811a9258..c7878ac578 100644
--- a/react/features/base/icons/components/Icon.js
+++ b/react/features/base/icons/components/Icon.js
@@ -2,9 +2,8 @@
import React from 'react';
-import { styleTypeToObject } from '../../styles';
-
import { Container } from '../../react/base';
+import { styleTypeToObject } from '../../styles';
type Props = {
diff --git a/react/features/base/jwt/middleware.js b/react/features/base/jwt/middleware.js
index fa868a0f7a..3b8285b0bf 100644
--- a/react/features/base/jwt/middleware.js
+++ b/react/features/base/jwt/middleware.js
@@ -10,8 +10,8 @@ import {
} from '../participants';
import { MiddlewareRegistry } from '../redux';
-import { setJWT } from './actions';
import { SET_JWT } from './actionTypes';
+import { setJWT } from './actions';
import { parseJWTFromURLParams } from './functions';
declare var APP: Object;
diff --git a/react/features/base/known-domains/middleware.js b/react/features/base/known-domains/middleware.js
index dc9f98b4bc..dc17be6058 100644
--- a/react/features/base/known-domains/middleware.js
+++ b/react/features/base/known-domains/middleware.js
@@ -1,7 +1,6 @@
// @flow
import { getDefaultURL } from '../../app';
-
import { APP_WILL_MOUNT } from '../app';
import { SET_ROOM } from '../conference';
import { MiddlewareRegistry } from '../redux';
diff --git a/react/features/base/lastn/middleware.js b/react/features/base/lastn/middleware.js
index 27b0754d7e..ea00ece5cc 100644
--- a/react/features/base/lastn/middleware.js
+++ b/react/features/base/lastn/middleware.js
@@ -4,7 +4,6 @@ import { SET_FILMSTRIP_ENABLED } from '../../filmstrip/actionTypes';
import { SELECT_LARGE_VIDEO_PARTICIPANT } from '../../large-video/actionTypes';
import { APP_STATE_CHANGED } from '../../mobile/background/actionTypes';
import { SCREEN_SHARE_PARTICIPANTS_UPDATED, SET_TILE_VIEW } from '../../video-layout/actionTypes';
-
import { SET_AUDIO_ONLY } from '../audio-only/actionTypes';
import { CONFERENCE_JOINED } from '../conference/actionTypes';
import { getParticipantById } from '../participants/functions';
diff --git a/react/features/base/lib-jitsi-meet/functions.any.js b/react/features/base/lib-jitsi-meet/functions.any.js
index 38ce0b03e5..b2dc8a8689 100644
--- a/react/features/base/lib-jitsi-meet/functions.any.js
+++ b/react/features/base/lib-jitsi-meet/functions.any.js
@@ -1,6 +1,7 @@
// @flow
import { toState } from '../redux';
+
import JitsiMeetJS from './_';
const JitsiConferenceErrors = JitsiMeetJS.errors.conference;
diff --git a/react/features/base/lib-jitsi-meet/functions.native.js b/react/features/base/lib-jitsi-meet/functions.native.js
index ded4ffe8fe..1f6e6c7603 100644
--- a/react/features/base/lib-jitsi-meet/functions.native.js
+++ b/react/features/base/lib-jitsi-meet/functions.native.js
@@ -3,6 +3,7 @@
import { NativeModules } from 'react-native';
import { loadScript } from '../util';
+
import logger from './logger';
export * from './functions.any';
diff --git a/react/features/base/lib-jitsi-meet/middleware.js b/react/features/base/lib-jitsi-meet/middleware.js
index bc83b192c8..9c17b94bbe 100644
--- a/react/features/base/lib-jitsi-meet/middleware.js
+++ b/react/features/base/lib-jitsi-meet/middleware.js
@@ -6,8 +6,8 @@ import { PARTICIPANT_LEFT } from '../participants';
import { MiddlewareRegistry } from '../redux';
import JitsiMeetJS from './_';
-import { disposeLib, initLib } from './actions';
import { LIB_WILL_INIT } from './actionTypes';
+import { disposeLib, initLib } from './actions';
declare var APP: Object;
diff --git a/react/features/base/lib-jitsi-meet/native/WiFiStats.js b/react/features/base/lib-jitsi-meet/native/WiFiStats.js
index 88e494a942..91b7ba596b 100644
--- a/react/features/base/lib-jitsi-meet/native/WiFiStats.js
+++ b/react/features/base/lib-jitsi-meet/native/WiFiStats.js
@@ -1,4 +1,5 @@
import { NativeModules } from 'react-native';
+
import { getJitsiMeetGlobalNS } from '../../util';
/**
diff --git a/react/features/base/logging/functions.js b/react/features/base/logging/functions.js
index 6977863dff..e9aab16f3f 100644
--- a/react/features/base/logging/functions.js
+++ b/react/features/base/logging/functions.js
@@ -1,7 +1,7 @@
// @flow
-import _ from 'lodash';
import Logger, { getLogger as _getLogger } from 'jitsi-meet-logger';
+import _ from 'lodash';
import LogTransport from './LogTransport';
diff --git a/react/features/base/logging/middleware.js b/react/features/base/logging/middleware.js
index 6aad5e7fb3..3ee648e3a5 100644
--- a/react/features/base/logging/middleware.js
+++ b/react/features/base/logging/middleware.js
@@ -9,13 +9,12 @@ import JitsiMeetJS, {
JitsiConferenceEvents
} from '../lib-jitsi-meet';
import { MiddlewareRegistry } from '../redux';
-
import { isTestModeEnabled } from '../testing';
-import { setLogCollector } from './actions';
-import { SET_LOGGING_CONFIG } from './actionTypes';
-import JitsiMeetLogStorage from './JitsiMeetLogStorage';
import JitsiMeetInMemoryLogStorage from './JitsiMeetInMemoryLogStorage';
+import JitsiMeetLogStorage from './JitsiMeetLogStorage';
+import { SET_LOGGING_CONFIG } from './actionTypes';
+import { setLogCollector } from './actions';
declare var APP: Object;
diff --git a/react/features/base/logging/reducer.js b/react/features/base/logging/reducer.js
index 75b02b147c..15798d8e65 100644
--- a/react/features/base/logging/reducer.js
+++ b/react/features/base/logging/reducer.js
@@ -12,6 +12,7 @@ import { SET_LOG_COLLECTOR, SET_LOGGING_CONFIG } from './actionTypes';
* }}
*/
const DEFAULT_STATE = {
+ // eslint-disable-next-line
config: require('../../../../logging_config.js'),
/**
diff --git a/react/features/base/media/components/AbstractVideoTrack.js b/react/features/base/media/components/AbstractVideoTrack.js
index 9a0e1fda87..b76853bf0c 100644
--- a/react/features/base/media/components/AbstractVideoTrack.js
+++ b/react/features/base/media/components/AbstractVideoTrack.js
@@ -4,8 +4,8 @@ import React, { Component } from 'react';
import type { Dispatch } from 'redux';
import { trackVideoStarted } from '../../tracks';
-
import { shouldRenderVideoTrack } from '../functions';
+
import { Video } from './_';
/**
diff --git a/react/features/base/media/components/native/Audio.js b/react/features/base/media/components/native/Audio.js
index 4cbf8c2feb..d8b6a51370 100644
--- a/react/features/base/media/components/native/Audio.js
+++ b/react/features/base/media/components/native/Audio.js
@@ -3,7 +3,6 @@
import Sound from 'react-native-sound';
import logger from '../../logger';
-
import AbstractAudio from '../AbstractAudio';
/**
diff --git a/react/features/base/media/components/native/Video.js b/react/features/base/media/components/native/Video.js
index dd4967c836..766c51e2f7 100644
--- a/react/features/base/media/components/native/Video.js
+++ b/react/features/base/media/components/native/Video.js
@@ -5,8 +5,8 @@ import { RTCView } from 'react-native-webrtc';
import { Pressable } from '../../../react';
-import styles from './styles';
import VideoTransform from './VideoTransform';
+import styles from './styles';
/**
* The type of the React {@code Component} props of {@link Video}.
diff --git a/react/features/base/media/components/native/VideoTrack.js b/react/features/base/media/components/native/VideoTrack.js
index 9c74fe200b..d32e91e182 100644
--- a/react/features/base/media/components/native/VideoTrack.js
+++ b/react/features/base/media/components/native/VideoTrack.js
@@ -4,9 +4,9 @@ import React from 'react';
import { View } from 'react-native';
import { connect } from '../../../redux';
-
import AbstractVideoTrack from '../AbstractVideoTrack';
import type { Props } from '../AbstractVideoTrack';
+
import styles from './styles';
/**
diff --git a/react/features/base/media/components/native/VideoTransform.js b/react/features/base/media/components/native/VideoTransform.js
index b2efd43034..b97160f0ef 100644
--- a/react/features/base/media/components/native/VideoTransform.js
+++ b/react/features/base/media/components/native/VideoTransform.js
@@ -1,14 +1,13 @@
// @flow
+import type { PanResponderInstance } from 'PanResponder';
import React, { Component } from 'react';
import { PanResponder, PixelRatio, View } from 'react-native';
import { type Dispatch } from 'redux';
import { connect } from '../../../redux';
-
-import type { PanResponderInstance } from 'PanResponder';
-
import { storeVideoTransform } from '../../actions';
+
import styles from './styles';
/**
diff --git a/react/features/base/media/components/web/VideoTrack.js b/react/features/base/media/components/web/VideoTrack.js
index ff3066ec36..5bd4a4651f 100644
--- a/react/features/base/media/components/web/VideoTrack.js
+++ b/react/features/base/media/components/web/VideoTrack.js
@@ -3,7 +3,6 @@
import React from 'react';
import { connect } from '../../../redux';
-
import AbstractVideoTrack from '../AbstractVideoTrack';
import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack';
diff --git a/react/features/base/media/middleware.js b/react/features/base/media/middleware.js
index ab82ad3866..868808feb4 100644
--- a/react/features/base/media/middleware.js
+++ b/react/features/base/media/middleware.js
@@ -8,7 +8,6 @@ import {
sendAnalytics
} from '../../analytics';
import { APP_STATE_CHANGED } from '../../mobile/background';
-
import { SET_AUDIO_ONLY, setAudioOnly } from '../audio-only';
import { isRoomValid, SET_ROOM } from '../conference';
import JitsiMeetJS from '../lib-jitsi-meet';
diff --git a/react/features/base/modal/components/JitsiModal.js b/react/features/base/modal/components/JitsiModal.js
index 2f5ea54c5d..1ac6d42784 100644
--- a/react/features/base/modal/components/JitsiModal.js
+++ b/react/features/base/modal/components/JitsiModal.js
@@ -7,7 +7,6 @@ import { ColorSchemeRegistry } from '../../color-scheme';
import { HeaderWithNavigation, SlidingView } from '../../react';
import { connect } from '../../redux';
import { StyleType } from '../../styles';
-
import { setActiveModalId } from '../actions';
import styles from './styles';
diff --git a/react/features/base/net-info/NetworkInfoService.native.js b/react/features/base/net-info/NetworkInfoService.native.js
index b2ffd0ae2f..652b3e1733 100644
--- a/react/features/base/net-info/NetworkInfoService.native.js
+++ b/react/features/base/net-info/NetworkInfoService.native.js
@@ -1,10 +1,9 @@
// @flow
-import EventEmitter from 'events';
import NetInfo from '@react-native-community/netinfo';
import type { NetInfoState, NetInfoSubscription } from '@react-native-community/netinfo';
+import EventEmitter from 'events';
import { ONLINE_STATE_CHANGED_EVENT } from './events';
-
import type { NetworkInfo } from './types';
/**
diff --git a/react/features/base/net-info/actions.js b/react/features/base/net-info/actions.js
index 841db7bc0c..611e4b9bd2 100644
--- a/react/features/base/net-info/actions.js
+++ b/react/features/base/net-info/actions.js
@@ -1,7 +1,6 @@
// @flow
import { SET_NETWORK_INFO, _STORE_NETWORK_INFO_CLEANUP } from './actionTypes';
-
import type { NetworkInfo } from './types';
/**
diff --git a/react/features/base/net-info/middleware.js b/react/features/base/net-info/middleware.js
index 5341c4d147..65b53389f9 100644
--- a/react/features/base/net-info/middleware.js
+++ b/react/features/base/net-info/middleware.js
@@ -3,11 +3,11 @@
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { MiddlewareRegistry } from '../redux';
+import NetworkInfoService from './NetworkInfoService';
import { _storeNetworkInfoCleanup, setNetworkInfo } from './actions';
import { STORE_NAME } from './constants';
import { ONLINE_STATE_CHANGED_EVENT } from './events';
import logger from './logger';
-import NetworkInfoService from './NetworkInfoService';
import type { NetworkInfo } from './types';
/**
diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.js
index ea0cc2ac0c..efb1f8382e 100644
--- a/react/features/base/participants/actions.js
+++ b/react/features/base/participants/actions.js
@@ -1,5 +1,5 @@
-import { set } from '../redux';
import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications';
+import { set } from '../redux';
import {
DOMINANT_SPEAKER_CHANGED,
diff --git a/react/features/base/participants/components/ParticipantView.native.js b/react/features/base/participants/components/ParticipantView.native.js
index be4d539bbd..d9911319f3 100644
--- a/react/features/base/participants/components/ParticipantView.native.js
+++ b/react/features/base/participants/components/ParticipantView.native.js
@@ -15,8 +15,8 @@ import { connect } from '../../redux';
import type { StyleType } from '../../styles';
import { TestHint } from '../../testing/components';
import { getTrackByMediaTypeAndParticipant } from '../../tracks';
-
import { shouldRenderParticipantVideo } from '../functions';
+
import styles from './styles';
/**
diff --git a/react/features/base/participants/functions.js b/react/features/base/participants/functions.js
index a3c6801928..69e2c952e2 100644
--- a/react/features/base/participants/functions.js
+++ b/react/features/base/participants/functions.js
@@ -1,10 +1,9 @@
// @flow
import { getGravatarURL } from 'js-utils/avatar';
-import { toState } from '../redux';
-
import { JitsiParticipantConnectionStatus } from '../lib-jitsi-meet';
import { MEDIA_TYPE, shouldRenderVideoTrack } from '../media';
+import { toState } from '../redux';
import { getTrackByMediaTypeAndParticipant } from '../tracks';
import { createDeferred } from '../util';
diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.js
index 3635047088..e30062a738 100644
--- a/react/features/base/participants/middleware.js
+++ b/react/features/base/participants/middleware.js
@@ -1,10 +1,8 @@
// @flow
import UIEvents from '../../../../service/UI/UIEvents';
-
import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications';
import { CALLING, INVITED } from '../../presence-status';
-
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import {
CONFERENCE_WILL_JOIN,
@@ -15,14 +13,6 @@ import { JitsiConferenceEvents } from '../lib-jitsi-meet';
import { MiddlewareRegistry, StateListenerRegistry } from '../redux';
import { playSound, registerSound, unregisterSound } from '../sounds';
-import {
- localParticipantIdChanged,
- localParticipantJoined,
- localParticipantLeft,
- participantLeft,
- participantUpdated,
- setLoadableAvatarUrl
-} from './actions';
import {
DOMINANT_SPEAKER_CHANGED,
KICK_PARTICIPANT,
@@ -32,6 +22,14 @@ import {
PARTICIPANT_LEFT,
PARTICIPANT_UPDATED
} from './actionTypes';
+import {
+ localParticipantIdChanged,
+ localParticipantJoined,
+ localParticipantLeft,
+ participantLeft,
+ participantUpdated,
+ setLoadableAvatarUrl
+} from './actions';
import {
LOCAL_PARTICIPANT_DEFAULT_ID,
PARTICIPANT_JOINED_SOUND_ID,
diff --git a/react/features/base/react/components/NavigateSectionList.js b/react/features/base/react/components/NavigateSectionList.js
index 8b5526599c..d683b8def6 100644
--- a/react/features/base/react/components/NavigateSectionList.js
+++ b/react/features/base/react/components/NavigateSectionList.js
@@ -4,13 +4,14 @@ import React, { Component } from 'react';
// TODO: Maybe try to make all NavigateSectionList components to work for both
// mobile and web, and move them to NavigateSectionList component.
+import type { Section } from '../Types';
+
import {
NavigateSectionListEmptyComponent,
NavigateSectionListItem,
NavigateSectionListSectionHeader,
SectionList
} from './_';
-import type { Section } from '../Types';
type Props = {
diff --git a/react/features/base/react/components/native/AvatarListItem.js b/react/features/base/react/components/native/AvatarListItem.js
index 1f0a0d34b4..eaed5b3881 100644
--- a/react/features/base/react/components/native/AvatarListItem.js
+++ b/react/features/base/react/components/native/AvatarListItem.js
@@ -5,7 +5,6 @@ import { Text } from 'react-native';
import { Avatar } from '../../../avatar';
import { StyleType } from '../../../styles';
-
import { type Item } from '../../Types';
import Container from './Container';
diff --git a/react/features/base/react/components/native/Linkify.js b/react/features/base/react/components/native/Linkify.js
index 41e3500d69..fec05a1b4d 100644
--- a/react/features/base/react/components/native/Linkify.js
+++ b/react/features/base/react/components/native/Linkify.js
@@ -1,8 +1,8 @@
// @flow
import React, { Component } from 'react';
-import { Text } from 'react-native';
import ReactLinkify from 'react-linkify';
+import { Text } from 'react-native';
import { type StyleType } from '../../../styles';
diff --git a/react/features/base/react/components/native/NavigateSectionListItem.js b/react/features/base/react/components/native/NavigateSectionListItem.js
index e5a09ac5dd..4745bbb369 100644
--- a/react/features/base/react/components/native/NavigateSectionListItem.js
+++ b/react/features/base/react/components/native/NavigateSectionListItem.js
@@ -4,7 +4,6 @@ import React, { Component } from 'react';
import Swipeout from 'react-native-swipeout';
import { ColorPalette } from '../../../styles';
-
import type { Item } from '../../Types';
import AvatarListItem from './AvatarListItem';
diff --git a/react/features/base/react/components/native/NavigateSectionListSectionHeader.js b/react/features/base/react/components/native/NavigateSectionListSectionHeader.js
index 6869d59ede..258eef23b7 100644
--- a/react/features/base/react/components/native/NavigateSectionListSectionHeader.js
+++ b/react/features/base/react/components/native/NavigateSectionListSectionHeader.js
@@ -2,10 +2,11 @@
import React, { Component } from 'react';
+import type { SetionListSection } from '../../Types';
+
import Container from './Container';
-import styles from './styles';
import Text from './Text';
-import type { SetionListSection } from '../../Types';
+import styles from './styles';
type Props = {
diff --git a/react/features/base/react/components/native/SectionList.js b/react/features/base/react/components/native/SectionList.js
index 028c2d1a57..708b198204 100644
--- a/react/features/base/react/components/native/SectionList.js
+++ b/react/features/base/react/components/native/SectionList.js
@@ -6,9 +6,10 @@ import {
SectionList as ReactNativeSectionList
} from 'react-native';
-import styles from './styles';
import type { Section } from '../../Types';
+import styles from './styles';
+
/**
* The type of the React {@code Component} props of {@link SectionList}
*/
diff --git a/react/features/base/react/components/native/SlidingView.js b/react/features/base/react/components/native/SlidingView.js
index 62e18dac93..ffc5fc8125 100644
--- a/react/features/base/react/components/native/SlidingView.js
+++ b/react/features/base/react/components/native/SlidingView.js
@@ -9,7 +9,6 @@ import {
} from 'react-native';
import { BackButtonRegistry } from '../../../../mobile/back-button';
-
import { type StyleType } from '../../../styles';
import styles from './slidingviewstyles';
diff --git a/react/features/base/react/components/web/BaseIndicator.js b/react/features/base/react/components/web/BaseIndicator.js
index 0c5f92922f..8fe9e3a348 100644
--- a/react/features/base/react/components/web/BaseIndicator.js
+++ b/react/features/base/react/components/web/BaseIndicator.js
@@ -1,7 +1,7 @@
/* @flow */
-import React, { Component } from 'react';
import Tooltip from '@atlaskit/tooltip';
+import React, { Component } from 'react';
import { translate } from '../../../i18n';
import { Icon } from '../../../icons';
diff --git a/react/features/base/react/components/web/MultiSelectAutocomplete.js b/react/features/base/react/components/web/MultiSelectAutocomplete.js
index 1111d344c0..1365b208d7 100644
--- a/react/features/base/react/components/web/MultiSelectAutocomplete.js
+++ b/react/features/base/react/components/web/MultiSelectAutocomplete.js
@@ -1,7 +1,7 @@
// @flow
-import { MultiSelectStateless } from '@atlaskit/multi-select';
import AKInlineDialog from '@atlaskit/inline-dialog';
+import { MultiSelectStateless } from '@atlaskit/multi-select';
import _debounce from 'lodash/debounce';
import React, { Component } from 'react';
diff --git a/react/features/base/react/components/web/NavigateSectionListItem.js b/react/features/base/react/components/web/NavigateSectionListItem.js
index ad7ca11d44..dc76d353dd 100644
--- a/react/features/base/react/components/web/NavigateSectionListItem.js
+++ b/react/features/base/react/components/web/NavigateSectionListItem.js
@@ -2,9 +2,10 @@
import React, { Component } from 'react';
+import type { Item } from '../../Types';
+
import Container from './Container';
import Text from './Text';
-import type { Item } from '../../Types';
/**
* The type of the React {@code Component} props of
diff --git a/react/features/base/react/components/web/NavigateSectionListSectionHeader.js b/react/features/base/react/components/web/NavigateSectionListSectionHeader.js
index 5b081caf26..06c7a454bd 100644
--- a/react/features/base/react/components/web/NavigateSectionListSectionHeader.js
+++ b/react/features/base/react/components/web/NavigateSectionListSectionHeader.js
@@ -2,9 +2,10 @@
import React, { Component } from 'react';
-import Text from './Text';
import type { Section } from '../../Types';
+import Text from './Text';
+
type Props = {
/**
diff --git a/react/features/base/react/components/web/SectionList.js b/react/features/base/react/components/web/SectionList.js
index 864cac441c..1da38bdf49 100644
--- a/react/features/base/react/components/web/SectionList.js
+++ b/react/features/base/react/components/web/SectionList.js
@@ -2,9 +2,10 @@
import React, { Component } from 'react';
-import Container from './Container';
import type { Section } from '../../Types';
+import Container from './Container';
+
type Props = {
/**
diff --git a/react/features/base/responsive-ui/components/AspectRatioAware.js b/react/features/base/responsive-ui/components/AspectRatioAware.js
index 7f59acc373..312b8c9484 100644
--- a/react/features/base/responsive-ui/components/AspectRatioAware.js
+++ b/react/features/base/responsive-ui/components/AspectRatioAware.js
@@ -3,7 +3,6 @@
import React, { Component } from 'react';
import { connect } from '../../redux';
-
import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
/**
diff --git a/react/features/base/settings/functions.native.js b/react/features/base/settings/functions.native.js
index 1d5f4b00b4..e7c563ab71 100644
--- a/react/features/base/settings/functions.native.js
+++ b/react/features/base/settings/functions.native.js
@@ -1,7 +1,6 @@
// @flow
import { NativeModules } from 'react-native';
-
import DefaultPreference from 'react-native-default-preference';
export * from './functions.any';
diff --git a/react/features/base/settings/middleware.js b/react/features/base/settings/middleware.js
index 5ab51e7278..09b1ca4286 100644
--- a/react/features/base/settings/middleware.js
+++ b/react/features/base/settings/middleware.js
@@ -3,10 +3,10 @@ import _ from 'lodash';
import { APP_WILL_MOUNT } from '../app';
import { setAudioOnly } from '../audio-only';
-import { parseURLParams } from '../util';
import { SET_LOCATION_URL } from '../connection/actionTypes'; // minimize imports to avoid circular imports
import { getLocalParticipant, participantUpdated } from '../participants';
import { MiddlewareRegistry } from '../redux';
+import { parseURLParams } from '../util';
import { SETTINGS_UPDATED } from './actionTypes';
import { handleCallIntegrationChange, handleCrashReportingChange } from './functions';
diff --git a/react/features/base/sounds/components/SoundCollection.js b/react/features/base/sounds/components/SoundCollection.js
index 27bfd796e6..83994ea979 100644
--- a/react/features/base/sounds/components/SoundCollection.js
+++ b/react/features/base/sounds/components/SoundCollection.js
@@ -5,7 +5,6 @@ import React, { Component } from 'react';
import { Audio } from '../../media';
import type { AudioElement } from '../../media';
import { connect } from '../../redux';
-
import { _addAudioElement, _removeAudioElement } from '../actions';
import type { Sound } from '../reducer';
diff --git a/react/features/base/testing/components/TestConnectionInfo.js b/react/features/base/testing/components/TestConnectionInfo.js
index 26be10f42c..6d19931141 100644
--- a/react/features/base/testing/components/TestConnectionInfo.js
+++ b/react/features/base/testing/components/TestConnectionInfo.js
@@ -2,14 +2,12 @@
import React, { Component, Fragment } from 'react';
+import { statsEmitter } from '../../../connection-indicator';
import { getLocalParticipant } from '../../participants';
import { connect } from '../../redux';
-
-// FIXME this imports feature to 'base'
-import { statsEmitter } from '../../../connection-indicator';
+import { isTestModeEnabled } from '../functions';
import { TestHint } from './index';
-import { isTestModeEnabled } from '../functions';
/**
* Defines the TestConnectionInfo's properties.
diff --git a/react/features/base/testing/middleware.js b/react/features/base/testing/middleware.js
index f4b830e370..7e0e76d280 100644
--- a/react/features/base/testing/middleware.js
+++ b/react/features/base/testing/middleware.js
@@ -1,9 +1,9 @@
// @flow
-import { MiddlewareRegistry } from '../redux';
-
import { CONFERENCE_WILL_JOIN } from '../conference';
import { JitsiConferenceEvents } from '../lib-jitsi-meet';
+import { MiddlewareRegistry } from '../redux';
+
import { setConnectionState } from './actions';
import logger from './logger';
diff --git a/react/features/base/toolbox/components/ToolboxButtonWithIcon.js b/react/features/base/toolbox/components/ToolboxButtonWithIcon.js
index 879a1f401e..b16d2f1e1e 100644
--- a/react/features/base/toolbox/components/ToolboxButtonWithIcon.js
+++ b/react/features/base/toolbox/components/ToolboxButtonWithIcon.js
@@ -1,6 +1,7 @@
// @flow
import React, { Component } from 'react';
+
import { Icon } from '../../icons';
type Props = {
diff --git a/react/features/base/tracks/actions.js b/react/features/base/tracks/actions.js
index 3854b3aad9..044003cdb8 100644
--- a/react/features/base/tracks/actions.js
+++ b/react/features/base/tracks/actions.js
@@ -2,8 +2,8 @@ import {
createTrackMutedEvent,
sendAnalytics
} from '../../analytics';
-import { JitsiTrackErrors, JitsiTrackEvents } from '../lib-jitsi-meet';
import { showErrorNotification, showNotification } from '../../notifications';
+import { JitsiTrackErrors, JitsiTrackEvents } from '../lib-jitsi-meet';
import {
CAMERA_FACING_MODE,
MEDIA_TYPE,
diff --git a/react/features/base/tracks/loadEffects.web.js b/react/features/base/tracks/loadEffects.web.js
index c25acd3a28..8fe8a759bd 100644
--- a/react/features/base/tracks/loadEffects.web.js
+++ b/react/features/base/tracks/loadEffects.web.js
@@ -1,7 +1,7 @@
// @flow
-import { createScreenshotCaptureEffect } from '../../stream-effects/screenshot-capture';
import { getBlurEffect } from '../../blur';
+import { createScreenshotCaptureEffect } from '../../stream-effects/screenshot-capture';
import logger from './logger';
diff --git a/react/features/base/tracks/middleware.js b/react/features/base/tracks/middleware.js
index 150950d730..e3a64949ae 100644
--- a/react/features/base/tracks/middleware.js
+++ b/react/features/base/tracks/middleware.js
@@ -1,5 +1,7 @@
// @flow
+import UIEvents from '../../../../service/UI/UIEvents';
+import { hideNotification } from '../../notifications';
import {
CAMERA_FACING_MODE,
MEDIA_TYPE,
@@ -10,21 +12,19 @@ import {
TOGGLE_CAMERA_FACING_MODE,
toggleCameraFacingMode
} from '../media';
-import { hideNotification } from '../../notifications';
import { MiddlewareRegistry } from '../redux';
-import UIEvents from '../../../../service/UI/UIEvents';
-import {
- createLocalTracksA,
- showNoDataFromSourceVideoError,
- trackNoDataFromSourceNotificationInfoChanged
-} from './actions';
import {
TOGGLE_SCREENSHARING,
TRACK_NO_DATA_FROM_SOURCE,
TRACK_REMOVED,
TRACK_UPDATED
} from './actionTypes';
+import {
+ createLocalTracksA,
+ showNoDataFromSourceVideoError,
+ trackNoDataFromSourceNotificationInfoChanged
+} from './actions';
import {
getLocalTrack,
getTrackByJitsiTrack,
diff --git a/react/features/base/user-interaction/reducer.js b/react/features/base/user-interaction/reducer.js
index ff27f65f94..bb2c8a9247 100644
--- a/react/features/base/user-interaction/reducer.js
+++ b/react/features/base/user-interaction/reducer.js
@@ -1,8 +1,8 @@
// @flow
+import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { ReducerRegistry } from '../redux';
-import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { USER_INTERACTION_RECEIVED } from './actionTypes';
ReducerRegistry.register('features/base/user-interaction', (state = {}, action) => {
diff --git a/react/features/blur/components/VideoBlurButton.js b/react/features/blur/components/VideoBlurButton.js
index ed2a39072c..fed02bfb95 100644
--- a/react/features/blur/components/VideoBlurButton.js
+++ b/react/features/blur/components/VideoBlurButton.js
@@ -8,7 +8,6 @@ import { IconBlurBackground } from '../../base/icons';
import { connect } from '../../base/redux';
import { AbstractButton, BetaTag } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
-
import { toggleBlurEffect } from '../actions';
/**
diff --git a/react/features/calendar-sync/actions.native.js b/react/features/calendar-sync/actions.native.js
index 1ba29b2734..c68a08e4c9 100644
--- a/react/features/calendar-sync/actions.native.js
+++ b/react/features/calendar-sync/actions.native.js
@@ -1,17 +1,15 @@
// @flow
import { generateRoomWithoutSeparator } from 'js-utils/random';
-
import type { Dispatch } from 'redux';
import { getDefaultURL } from '../app';
import { openDialog } from '../base/dialog';
import { refreshCalendar } from './actions';
-import { addLinkToCalendarEntry } from './functions.native';
-
import {
UpdateCalendarEventDialog
} from './components';
+import { addLinkToCalendarEntry } from './functions.native';
export * from './actions.any';
diff --git a/react/features/calendar-sync/actions.web.js b/react/features/calendar-sync/actions.web.js
index 61107df023..3c9189759f 100644
--- a/react/features/calendar-sync/actions.web.js
+++ b/react/features/calendar-sync/actions.web.js
@@ -3,10 +3,8 @@
import { generateRoomWithoutSeparator } from 'js-utils/random';
import type { Dispatch } from 'redux';
-import { loadGoogleAPI } from '../google-api';
-
-import { refreshCalendar, setCalendarEvents } from './actions';
import { createCalendarConnectedEvent, sendAnalytics } from '../analytics';
+import { loadGoogleAPI } from '../google-api';
import {
CLEAR_CALENDAR_INTEGRATION,
@@ -16,6 +14,7 @@ import {
SET_CALENDAR_PROFILE_EMAIL,
SET_LOADING_CALENDAR_EVENTS
} from './actionTypes';
+import { refreshCalendar, setCalendarEvents } from './actions';
import { _getCalendarIntegration, isCalendarEnabled } from './functions';
import logger from './logger';
diff --git a/react/features/calendar-sync/components/AddMeetingUrlButton.web.js b/react/features/calendar-sync/components/AddMeetingUrlButton.web.js
index 7694b36aff..b09c89a391 100644
--- a/react/features/calendar-sync/components/AddMeetingUrlButton.web.js
+++ b/react/features/calendar-sync/components/AddMeetingUrlButton.web.js
@@ -11,7 +11,6 @@ import {
import { translate } from '../../base/i18n';
import { Icon, IconAdd } from '../../base/icons';
import { connect } from '../../base/redux';
-
import { updateCalendarEvent } from '../actions';
/**
diff --git a/react/features/calendar-sync/components/CalendarList.native.js b/react/features/calendar-sync/components/CalendarList.native.js
index 891ea49c95..34d54930a8 100644
--- a/react/features/calendar-sync/components/CalendarList.native.js
+++ b/react/features/calendar-sync/components/CalendarList.native.js
@@ -3,15 +3,14 @@
import React from 'react';
import { Text, TouchableOpacity, View } from 'react-native';
-import { openSettings } from '../../mobile/permissions';
import { translate } from '../../base/i18n';
import { AbstractPage } from '../../base/react';
import { connect } from '../../base/redux';
-
+import { openSettings } from '../../mobile/permissions';
import { refreshCalendar } from '../actions';
-import styles from './styles';
import CalendarListContent from './CalendarListContent';
+import styles from './styles';
/**
* The tyoe of the React {@code Component} props of {@link CalendarList}.
diff --git a/react/features/calendar-sync/components/CalendarList.web.js b/react/features/calendar-sync/components/CalendarList.web.js
index d20fa3ee1d..5a0162ef3e 100644
--- a/react/features/calendar-sync/components/CalendarList.web.js
+++ b/react/features/calendar-sync/components/CalendarList.web.js
@@ -3,15 +3,14 @@
import Spinner from '@atlaskit/spinner';
import React from 'react';
-import { translate } from '../../base/i18n';
-import { AbstractPage } from '../../base/react';
-import { connect } from '../../base/redux';
-import { openSettingsDialog, SETTINGS_TABS } from '../../settings';
import {
createCalendarClickedEvent,
sendAnalytics
} from '../../analytics';
-
+import { translate } from '../../base/i18n';
+import { AbstractPage } from '../../base/react';
+import { connect } from '../../base/redux';
+import { openSettingsDialog, SETTINGS_TABS } from '../../settings';
import { refreshCalendar } from '../actions';
import { ERRORS } from '../constants';
diff --git a/react/features/calendar-sync/components/CalendarListContent.native.js b/react/features/calendar-sync/components/CalendarListContent.native.js
index 0ab42cacc2..e6e2d79902 100644
--- a/react/features/calendar-sync/components/CalendarListContent.native.js
+++ b/react/features/calendar-sync/components/CalendarListContent.native.js
@@ -2,16 +2,15 @@
import React, { Component } from 'react';
-import { appNavigate } from '../../app';
import {
createCalendarClickedEvent,
createCalendarSelectedEvent,
sendAnalytics
} from '../../analytics';
+import { appNavigate } from '../../app';
import { getLocalizedDateFormatter, translate } from '../../base/i18n';
import { NavigateSectionList } from '../../base/react';
import { connect } from '../../base/redux';
-
import { refreshCalendar, openUpdateCalendarEventDialog } from '../actions';
diff --git a/react/features/calendar-sync/components/CalendarListContent.web.js b/react/features/calendar-sync/components/CalendarListContent.web.js
index 46825b92fe..646b42e943 100644
--- a/react/features/calendar-sync/components/CalendarListContent.web.js
+++ b/react/features/calendar-sync/components/CalendarListContent.web.js
@@ -2,12 +2,12 @@
import React, { Component } from 'react';
-import { appNavigate } from '../../app';
import {
createCalendarClickedEvent,
createCalendarSelectedEvent,
sendAnalytics
} from '../../analytics';
+import { appNavigate } from '../../app';
import { MeetingsList } from '../../base/react';
import { connect } from '../../base/redux';
diff --git a/react/features/calendar-sync/components/JoinButton.web.js b/react/features/calendar-sync/components/JoinButton.web.js
index 07063524b8..862df57bc1 100644
--- a/react/features/calendar-sync/components/JoinButton.web.js
+++ b/react/features/calendar-sync/components/JoinButton.web.js
@@ -1,7 +1,7 @@
// @flow
-import React, { Component } from 'react';
import Tooltip from '@atlaskit/tooltip';
+import React, { Component } from 'react';
import { translate } from '../../base/i18n';
diff --git a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
index 84ad2dea3f..029dbbfa52 100644
--- a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
+++ b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
@@ -5,7 +5,6 @@ import React, { Component } from 'react';
import { ConfirmDialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
import { connect } from '../../base/redux';
-
import { updateCalendarEvent } from '../actions';
type Props = {
diff --git a/react/features/calendar-sync/functions.any.js b/react/features/calendar-sync/functions.any.js
index 38b97e15b6..9181bb5726 100644
--- a/react/features/calendar-sync/functions.any.js
+++ b/react/features/calendar-sync/functions.any.js
@@ -2,8 +2,9 @@
import md5 from 'js-md5';
-import { setCalendarEvents } from './actions';
import { APP_LINK_SCHEME, parseURIString } from '../base/util';
+
+import { setCalendarEvents } from './actions';
import { MAX_LIST_LENGTH } from './constants';
const ALLDAY_EVENT_LENGTH = 23 * 60 * 60 * 1000;
diff --git a/react/features/calendar-sync/functions.web.js b/react/features/calendar-sync/functions.web.js
index 54cacb7c09..bf20e3c71a 100644
--- a/react/features/calendar-sync/functions.web.js
+++ b/react/features/calendar-sync/functions.web.js
@@ -1,12 +1,13 @@
// @flow
+import { toState } from '../base/redux';
+
import {
clearCalendarIntegration,
setCalendarError,
setLoadingCalendarEvents
} from './actions';
export * from './functions.any';
-
import {
CALENDAR_TYPE,
ERRORS,
@@ -14,11 +15,9 @@ import {
FETCH_START_DAYS
} from './constants';
import { _updateCalendarEntries } from './functions';
+import logger from './logger';
import { googleCalendarApi } from './web/googleCalendar';
import { microsoftCalendarApi } from './web/microsoftCalendar';
-import { toState } from '../base/redux';
-
-import logger from './logger';
/**
* Determines whether the calendar feature is enabled by the web.
diff --git a/react/features/calendar-sync/middleware.js b/react/features/calendar-sync/middleware.js
index d0bfffc056..5804269bb0 100644
--- a/react/features/calendar-sync/middleware.js
+++ b/react/features/calendar-sync/middleware.js
@@ -5,8 +5,8 @@ import { ADD_KNOWN_DOMAINS } from '../base/known-domains';
import { equals, MiddlewareRegistry } from '../base/redux';
import { APP_STATE_CHANGED } from '../mobile/background/actionTypes';
-import { setCalendarAuthorization } from './actions';
import { REFRESH_CALENDAR } from './actionTypes';
+import { setCalendarAuthorization } from './actions';
import { _fetchCalendarEntries, isCalendarEnabled } from './functions';
MiddlewareRegistry.register(store => next => action => {
diff --git a/react/features/calendar-sync/web/microsoftCalendar.js b/react/features/calendar-sync/web/microsoftCalendar.js
index d2d7ba8d8c..aac9101b54 100644
--- a/react/features/calendar-sync/web/microsoftCalendar.js
+++ b/react/features/calendar-sync/web/microsoftCalendar.js
@@ -2,17 +2,14 @@
import { Client } from '@microsoft/microsoft-graph-client';
import base64js from 'base64-js';
-
import type { Dispatch } from 'redux';
+import { findWindows } from 'windows-iana';
import { createDeferred } from '../../../../modules/util/helpers';
-
import { parseStandardURIString, parseURLParams } from '../../base/util';
import { getShareInfoText } from '../../invite';
-
import { setCalendarAPIAuthState } from '../actions';
-import { findWindows } from 'windows-iana';
/**
* Constants used for interacting with the Microsoft API.
diff --git a/react/features/chat/components/AbstractChat.js b/react/features/chat/components/AbstractChat.js
index f786b46663..5151f94599 100644
--- a/react/features/chat/components/AbstractChat.js
+++ b/react/features/chat/components/AbstractChat.js
@@ -4,7 +4,6 @@ import { Component } from 'react';
import type { Dispatch } from 'redux';
import { getLocalParticipant } from '../../base/participants';
-
import { sendMessage, toggleChat } from '../actions';
/**
diff --git a/react/features/chat/components/AbstractChatMessage.js b/react/features/chat/components/AbstractChatMessage.js
index 10e6e145e1..633dd18e88 100644
--- a/react/features/chat/components/AbstractChatMessage.js
+++ b/react/features/chat/components/AbstractChatMessage.js
@@ -3,7 +3,6 @@
import { PureComponent } from 'react';
import { getLocalizedDateFormatter } from '../../base/i18n';
-
import { MESSAGE_TYPE_ERROR, MESSAGE_TYPE_LOCAL } from '../constants';
/**
diff --git a/react/features/chat/components/AbstractChatPrivacyDialog.js b/react/features/chat/components/AbstractChatPrivacyDialog.js
index 2283e9e947..1c1bc85955 100644
--- a/react/features/chat/components/AbstractChatPrivacyDialog.js
+++ b/react/features/chat/components/AbstractChatPrivacyDialog.js
@@ -2,8 +2,8 @@
import { PureComponent } from 'react';
-import { sendMessage, setPrivateMessageRecipient } from '../actions';
import { getParticipantById } from '../../base/participants';
+import { sendMessage, setPrivateMessageRecipient } from '../actions';
type Props = {
diff --git a/react/features/chat/components/AbstractMessageRecipient.js b/react/features/chat/components/AbstractMessageRecipient.js
index 25ebd14c47..327d644400 100644
--- a/react/features/chat/components/AbstractMessageRecipient.js
+++ b/react/features/chat/components/AbstractMessageRecipient.js
@@ -3,7 +3,6 @@
import { PureComponent } from 'react';
import { getParticipantDisplayName } from '../../base/participants';
-
import { setPrivateMessageRecipient } from '../actions';
export type Props = {
diff --git a/react/features/chat/components/PrivateMessageButton.js b/react/features/chat/components/PrivateMessageButton.js
index 1cb37993a3..8ee02cc492 100644
--- a/react/features/chat/components/PrivateMessageButton.js
+++ b/react/features/chat/components/PrivateMessageButton.js
@@ -1,12 +1,10 @@
// @flow
-import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
-
import { translate } from '../../base/i18n';
import { IconMessage, IconReply } from '../../base/icons';
import { getParticipantById } from '../../base/participants';
import { connect } from '../../base/redux';
-
+import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
import { setPrivateMessageRecipient } from '../actions';
export type Props = AbstractButtonProps & {
diff --git a/react/features/chat/components/native/Chat.js b/react/features/chat/components/native/Chat.js
index 366ca2b757..f9b5d29f45 100644
--- a/react/features/chat/components/native/Chat.js
+++ b/react/features/chat/components/native/Chat.js
@@ -5,9 +5,7 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { JitsiModal } from '../../../base/modal';
import { connect } from '../../../base/redux';
-
import { CHAT_VIEW_MODAL_ID } from '../../constants';
-
import AbstractChat, {
_mapDispatchToProps,
_mapStateToProps,
diff --git a/react/features/chat/components/native/ChatButton.js b/react/features/chat/components/native/ChatButton.js
index 681562ed1c..bef5ddf31c 100644
--- a/react/features/chat/components/native/ChatButton.js
+++ b/react/features/chat/components/native/ChatButton.js
@@ -10,7 +10,6 @@ import {
type AbstractButtonProps
} from '../../../base/toolbox';
import { openDisplayNamePrompt } from '../../../display-name';
-
import { CHAT_VIEW_MODAL_ID } from '../../constants';
import { getUnreadCount } from '../../functions';
diff --git a/react/features/chat/components/native/ChatMessage.js b/react/features/chat/components/native/ChatMessage.js
index 14956ea575..de530537c5 100644
--- a/react/features/chat/components/native/ChatMessage.js
+++ b/react/features/chat/components/native/ChatMessage.js
@@ -9,10 +9,8 @@ import { translate } from '../../../base/i18n';
import { Linkify } from '../../../base/react';
import { connect } from '../../../base/redux';
import { type StyleType } from '../../../base/styles';
-
import { MESSAGE_TYPE_ERROR, MESSAGE_TYPE_LOCAL } from '../../constants';
import { replaceNonUnicodeEmojis } from '../../functions';
-
import AbstractChatMessage, { type Props as AbstractProps } from '../AbstractChatMessage';
import PrivateMessageButton from '../PrivateMessageButton';
diff --git a/react/features/chat/components/native/ChatPrivacyDialog.js b/react/features/chat/components/native/ChatPrivacyDialog.js
index a5e61533d8..54915d7be2 100644
--- a/react/features/chat/components/native/ChatPrivacyDialog.js
+++ b/react/features/chat/components/native/ChatPrivacyDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { ConfirmDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import { AbstractChatPrivacyDialog, _mapDispatchToProps, _mapStateToProps } from '../AbstractChatPrivacyDialog';
/**
diff --git a/react/features/chat/components/native/MessageContainer.js b/react/features/chat/components/native/MessageContainer.js
index ef45a7d84d..dbbf38b12d 100644
--- a/react/features/chat/components/native/MessageContainer.js
+++ b/react/features/chat/components/native/MessageContainer.js
@@ -7,7 +7,6 @@ import { ColorSchemeRegistry } from '../../../base/color-scheme';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
-
import AbstractMessageContainer, { type Props as AbstractProps }
from '../AbstractMessageContainer';
diff --git a/react/features/chat/components/native/MessageRecipient.js b/react/features/chat/components/native/MessageRecipient.js
index fbdc1c8229..17d6cdc9d0 100644
--- a/react/features/chat/components/native/MessageRecipient.js
+++ b/react/features/chat/components/native/MessageRecipient.js
@@ -8,7 +8,6 @@ import { translate } from '../../../base/i18n';
import { Icon, IconCancelSelection } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { type StyleType } from '../../../base/styles';
-
import AbstractMessageRecipient, {
_mapDispatchToProps,
_mapStateToProps as _abstractMapStateToProps,
diff --git a/react/features/chat/components/web/Chat.js b/react/features/chat/components/web/Chat.js
index 7baf1ef609..f96dbcc4c3 100644
--- a/react/features/chat/components/web/Chat.js
+++ b/react/features/chat/components/web/Chat.js
@@ -6,12 +6,12 @@ import Transition from 'react-transition-group/Transition';
import { translate } from '../../../base/i18n';
import { Icon, IconClose } from '../../../base/icons';
import { connect } from '../../../base/redux';
-
import AbstractChat, {
_mapDispatchToProps,
_mapStateToProps,
type Props
} from '../AbstractChat';
+
import ChatInput from './ChatInput';
import DisplayNameForm from './DisplayNameForm';
import MessageContainer from './MessageContainer';
diff --git a/react/features/chat/components/web/ChatCounter.js b/react/features/chat/components/web/ChatCounter.js
index a835c92f81..f1c069c2d2 100644
--- a/react/features/chat/components/web/ChatCounter.js
+++ b/react/features/chat/components/web/ChatCounter.js
@@ -3,7 +3,6 @@
import React, { Component } from 'react';
import { connect } from '../../../base/redux';
-
import { getUnreadCount } from '../../functions';
/**
diff --git a/react/features/chat/components/web/ChatMessage.js b/react/features/chat/components/web/ChatMessage.js
index 8e45ab6f2b..a467b2057e 100644
--- a/react/features/chat/components/web/ChatMessage.js
+++ b/react/features/chat/components/web/ChatMessage.js
@@ -6,9 +6,7 @@ import { toArray } from 'react-emoji-render';
import { translate } from '../../../base/i18n';
import { Linkify } from '../../../base/react';
-
import { MESSAGE_TYPE_LOCAL } from '../../constants';
-
import AbstractChatMessage, {
type Props
} from '../AbstractChatMessage';
diff --git a/react/features/chat/components/web/ChatMessageGroup.js b/react/features/chat/components/web/ChatMessageGroup.js
index 0a7536b2ab..34feffd801 100644
--- a/react/features/chat/components/web/ChatMessageGroup.js
+++ b/react/features/chat/components/web/ChatMessageGroup.js
@@ -1,6 +1,7 @@
// @flow
import React, { Component } from 'react';
+
import ChatMessage from './ChatMessage';
type Props = {
diff --git a/react/features/chat/components/web/ChatPrivacyDialog.js b/react/features/chat/components/web/ChatPrivacyDialog.js
index 2da381190e..837d396ca3 100644
--- a/react/features/chat/components/web/ChatPrivacyDialog.js
+++ b/react/features/chat/components/web/ChatPrivacyDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { Dialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import { AbstractChatPrivacyDialog, _mapDispatchToProps, _mapStateToProps } from '../AbstractChatPrivacyDialog';
/**
diff --git a/react/features/chat/components/web/MessageContainer.js b/react/features/chat/components/web/MessageContainer.js
index 8639ced870..dd10e5a6f2 100644
--- a/react/features/chat/components/web/MessageContainer.js
+++ b/react/features/chat/components/web/MessageContainer.js
@@ -3,7 +3,6 @@
import React from 'react';
import { MESSAGE_TYPE_REMOTE } from '../../constants';
-
import AbstractMessageContainer, { type Props }
from '../AbstractMessageContainer';
diff --git a/react/features/chat/components/web/MessageRecipient.js b/react/features/chat/components/web/MessageRecipient.js
index 0b787b9933..032b3aa15d 100644
--- a/react/features/chat/components/web/MessageRecipient.js
+++ b/react/features/chat/components/web/MessageRecipient.js
@@ -5,7 +5,6 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { Icon, IconCancelSelection } from '../../../base/icons';
import { connect } from '../../../base/redux';
-
import AbstractMessageRecipient, {
_mapDispatchToProps,
_mapStateToProps,
diff --git a/react/features/chat/components/web/SmileysPanel.js b/react/features/chat/components/web/SmileysPanel.js
index 17ff86b6e7..f849c78b66 100644
--- a/react/features/chat/components/web/SmileysPanel.js
+++ b/react/features/chat/components/web/SmileysPanel.js
@@ -2,6 +2,7 @@
import React, { PureComponent } from 'react';
import Emoji from 'react-emoji-render';
+
import { smileys } from '../../smileys';
/**
diff --git a/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js b/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js
index c26629ae7a..f54d3f721e 100644
--- a/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js
+++ b/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js
@@ -8,15 +8,14 @@ import {
sendAnalytics
} from '../../analytics';
import { getCurrentConference } from '../../base/conference/functions';
-import { Icon, IconClose } from '../../base/icons';
-import { translate } from '../../base/i18n';
-import { browser } from '../../base/lib-jitsi-meet';
-import { connect } from '../../base/redux';
import {
checkChromeExtensionsInstalled,
isMobileBrowser
} from '../../base/environment/utils';
-
+import { translate } from '../../base/i18n';
+import { Icon, IconClose } from '../../base/icons';
+import { browser } from '../../base/lib-jitsi-meet';
+import { connect } from '../../base/redux';
import logger from '../logger';
diff --git a/react/features/conference/actions.web.js b/react/features/conference/actions.web.js
index 9098b03d18..24637e2590 100644
--- a/react/features/conference/actions.web.js
+++ b/react/features/conference/actions.web.js
@@ -2,11 +2,11 @@
import type { Dispatch } from 'redux';
+import { getParticipantDisplayName } from '../base/participants';
import {
NOTIFICATION_TYPE,
showNotification
} from '../notifications';
-import { getParticipantDisplayName } from '../base/participants';
/**
* Notify that we've been kicked out of the conference.
diff --git a/react/features/conference/components/AbstractConference.js b/react/features/conference/components/AbstractConference.js
index 5ed3ea4cf7..e87e819516 100644
--- a/react/features/conference/components/AbstractConference.js
+++ b/react/features/conference/components/AbstractConference.js
@@ -3,9 +3,8 @@
import React, { Component } from 'react';
import { NotificationsContainer } from '../../notifications/components';
-
-import { shouldDisplayNotifications } from '../functions';
import { shouldDisplayTileView } from '../../video-layout';
+import { shouldDisplayNotifications } from '../functions';
/**
* The type of the React {@code Component} props of {@link AbstractLabels}.
diff --git a/react/features/conference/components/ConferenceTimer.js b/react/features/conference/components/ConferenceTimer.js
index ce019b6a15..c53ac9916b 100644
--- a/react/features/conference/components/ConferenceTimer.js
+++ b/react/features/conference/components/ConferenceTimer.js
@@ -2,10 +2,10 @@
import { Component } from 'react';
-import { connect } from '../../base/redux';
-import { getLocalizedDurationFormatter } from '../../base/i18n';
-import { getConferenceTimestamp } from '../../base/conference/functions';
import { renderConferenceTimer } from '../';
+import { getConferenceTimestamp } from '../../base/conference/functions';
+import { getLocalizedDurationFormatter } from '../../base/i18n';
+import { connect } from '../../base/redux';
/**
* The type of the React {@code Component} props of {@link ConferenceTimer}.
diff --git a/react/features/conference/components/native/Conference.js b/react/features/conference/components/native/Conference.js
index 3340041059..869c2edd5f 100644
--- a/react/features/conference/components/native/Conference.js
+++ b/react/features/conference/components/native/Conference.js
@@ -23,22 +23,22 @@ import {
isFilmstripVisible,
TileView
} from '../../../filmstrip';
+import { AddPeopleDialog, CalleeInfoContainer } from '../../../invite';
import { LargeVideo } from '../../../large-video';
import { BackButtonRegistry } from '../../../mobile/back-button';
-import { AddPeopleDialog, CalleeInfoContainer } from '../../../invite';
import { Captions } from '../../../subtitles';
import { isToolboxVisible, setToolboxVisible, Toolbox } from '../../../toolbox';
-
import {
AbstractConference,
abstractMapStateToProps
} from '../AbstractConference';
+import type { AbstractProps } from '../AbstractConference';
+
import Labels from './Labels';
import LonelyMeetingExperience from './LonelyMeetingExperience';
import NavigationBar from './NavigationBar';
import styles, { NAVBAR_GRADIENT_COLORS } from './styles';
-import type { AbstractProps } from '../AbstractConference';
/**
* The type of the React {@code Component} props of {@link Conference}.
diff --git a/react/features/conference/components/native/InsecureRoomNameLabel.js b/react/features/conference/components/native/InsecureRoomNameLabel.js
index 43bd69808f..3c434421f9 100644
--- a/react/features/conference/components/native/InsecureRoomNameLabel.js
+++ b/react/features/conference/components/native/InsecureRoomNameLabel.js
@@ -5,7 +5,6 @@ import React from 'react';
import { IconWarning } from '../../../base/icons';
import { CircularLabel } from '../../../base/label';
import { connect } from '../../../base/redux';
-
import AbstractInsecureRoomNameLabel, { _mapStateToProps } from '../AbstractInsecureRoomNameLabel';
import styles from './styles';
diff --git a/react/features/conference/components/native/Labels.js b/react/features/conference/components/native/Labels.js
index 836bb67360..9054f246fe 100644
--- a/react/features/conference/components/native/Labels.js
+++ b/react/features/conference/components/native/Labels.js
@@ -14,12 +14,11 @@ import {
} from '../../../recording';
import { TranscribingExpandedLabel } from '../../../transcribing';
import { VideoQualityExpandedLabel } from '../../../video-quality';
-
+import { shouldDisplayNotifications } from '../../functions';
import AbstractLabels, {
_abstractMapStateToProps,
type Props as AbstractLabelsProps
} from '../AbstractLabels';
-import { shouldDisplayNotifications } from '../../functions';
import InsecureRoomNameExpandedLabel from './InsecureRoomNameExpandedLabel';
import styles from './styles';
diff --git a/react/features/conference/components/native/LonelyMeetingExperience.js b/react/features/conference/components/native/LonelyMeetingExperience.js
index 6731af1766..c7cf758488 100644
--- a/react/features/conference/components/native/LonelyMeetingExperience.js
+++ b/react/features/conference/components/native/LonelyMeetingExperience.js
@@ -6,13 +6,13 @@ import { Text, TouchableOpacity, View } from 'react-native';
import { ColorSchemeRegistry } from '../../../base/color-scheme';
import { getFeatureFlag, INVITE_ENABLED } from '../../../base/flags';
import { translate } from '../../../base/i18n';
+import { Icon, IconAddPeople } from '../../../base/icons';
+import { getParticipantCount } from '../../../base/participants';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
-import { getParticipantCount } from '../../../base/participants';
import { doInvitePeople } from '../../../invite/actions.native';
import styles from './styles';
-import { Icon, IconAddPeople } from '../../../base/icons';
/**
* Props type of the component.
diff --git a/react/features/conference/components/native/NavigationBar.js b/react/features/conference/components/native/NavigationBar.js
index 1ca7891545..e35ff440b2 100644
--- a/react/features/conference/components/native/NavigationBar.js
+++ b/react/features/conference/components/native/NavigationBar.js
@@ -9,8 +9,8 @@ import { getFeatureFlag, MEETING_NAME_ENABLED } from '../../../base/flags';
import { connect } from '../../../base/redux';
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
import { isToolboxVisible } from '../../../toolbox';
-
import ConferenceTimer from '../ConferenceTimer';
+
import styles, { NAVBAR_GRADIENT_COLORS } from './styles';
type Props = {
diff --git a/react/features/conference/components/native/styles.js b/react/features/conference/components/native/styles.js
index 5b04c7ab74..d5ffaa06d5 100644
--- a/react/features/conference/components/native/styles.js
+++ b/react/features/conference/components/native/styles.js
@@ -1,5 +1,5 @@
-import { BoxModel, ColorPalette, fixAndroidViewClipping } from '../../../base/styles';
import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';
+import { BoxModel, ColorPalette, fixAndroidViewClipping } from '../../../base/styles';
import { FILMSTRIP_SIZE } from '../../../filmstrip';
export const NAVBAR_GRADIENT_COLORS = [ '#000000FF', '#00000000' ];
diff --git a/react/features/conference/components/web/Conference.js b/react/features/conference/components/web/Conference.js
index 500330f95d..17bcca2749 100644
--- a/react/features/conference/components/web/Conference.js
+++ b/react/features/conference/components/web/Conference.js
@@ -4,27 +4,23 @@ import _ from 'lodash';
import React from 'react';
import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';
-
+import { getConferenceNameForTitle } from '../../../base/conference';
import { connect, disconnect } from '../../../base/connection';
import { translate } from '../../../base/i18n';
import { connect as reactReduxConnect } from '../../../base/redux';
-import { getConferenceNameForTitle } from '../../../base/conference';
import { Chat } from '../../../chat';
import { Filmstrip } from '../../../filmstrip';
import { CalleeInfoContainer } from '../../../invite';
import { LargeVideo } from '../../../large-video';
import { Prejoin, isPrejoinPageVisible } from '../../../prejoin';
-import { LAYOUTS, getCurrentLayout } from '../../../video-layout';
-
import {
Toolbox,
fullScreenChanged,
setToolboxAlwaysVisible,
showToolbox
} from '../../../toolbox';
-
+import { LAYOUTS, getCurrentLayout } from '../../../video-layout';
import { maybeShowSuboptimalExperienceNotification } from '../../functions';
-
import {
AbstractConference,
abstractMapStateToProps
diff --git a/react/features/conference/components/web/InsecureRoomNameLabel.js b/react/features/conference/components/web/InsecureRoomNameLabel.js
index 5ecc78dee9..3e8e503a8b 100644
--- a/react/features/conference/components/web/InsecureRoomNameLabel.js
+++ b/react/features/conference/components/web/InsecureRoomNameLabel.js
@@ -7,7 +7,6 @@ import { translate } from '../../../base/i18n';
import { IconWarning } from '../../../base/icons';
import { CircularLabel } from '../../../base/label';
import { connect } from '../../../base/redux';
-
import AbstractInsecureRoomNameLabel, { _mapStateToProps } from '../AbstractInsecureRoomNameLabel';
/**
diff --git a/react/features/conference/components/web/Labels.js b/react/features/conference/components/web/Labels.js
index b7cf198f71..c080cd019d 100644
--- a/react/features/conference/components/web/Labels.js
+++ b/react/features/conference/components/web/Labels.js
@@ -4,7 +4,6 @@ import React from 'react';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import { connect } from '../../../base/redux';
-
import AbstractLabels, {
_abstractMapStateToProps as _mapStateToProps,
type Props
diff --git a/react/features/conference/components/web/Subject.js b/react/features/conference/components/web/Subject.js
index 58201cdbce..a0692c0aaa 100644
--- a/react/features/conference/components/web/Subject.js
+++ b/react/features/conference/components/web/Subject.js
@@ -6,8 +6,8 @@ import { getConferenceName } from '../../../base/conference/functions';
import { getParticipantCount } from '../../../base/participants/functions';
import { connect } from '../../../base/redux';
import { isToolboxVisible } from '../../../toolbox';
-
import ConferenceTimer from '../ConferenceTimer';
+
import ParticipantsCount from './ParticipantsCount';
/**
diff --git a/react/features/conference/functions.js b/react/features/conference/functions.js
index 149210ac16..7930c0585c 100644
--- a/react/features/conference/functions.js
+++ b/react/features/conference/functions.js
@@ -1,7 +1,6 @@
-import { translateToHTML } from '../base/i18n';
import { isSuboptimalBrowser } from '../base/environment';
+import { translateToHTML } from '../base/i18n';
import { toState } from '../base/redux';
-
import {
areThereNotifications,
showWarningNotification
diff --git a/react/features/conference/middleware.js b/react/features/conference/middleware.js
index 850c538d46..ddc7b14e61 100644
--- a/react/features/conference/middleware.js
+++ b/react/features/conference/middleware.js
@@ -1,5 +1,4 @@
// @flow
-import { notifyKickedOut } from './actions';
import { appNavigate } from '../app';
import {
CONFERENCE_JOINED,
@@ -12,12 +11,14 @@ import {
import { hideDialog, isDialogOpen } from '../base/dialog';
import { setActiveModalId } from '../base/modal';
import { pinParticipant } from '../base/participants';
-import { SET_REDUCED_UI } from '../base/responsive-ui';
import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
+import { SET_REDUCED_UI } from '../base/responsive-ui';
import { FeedbackDialog } from '../feedback';
import { setFilmstripEnabled } from '../filmstrip';
import { setToolboxEnabled } from '../toolbox';
+import { notifyKickedOut } from './actions';
+
MiddlewareRegistry.register(store => next => action => {
const result = next(action);
diff --git a/react/features/connection-indicator/components/native/ConnectionIndicator.js b/react/features/connection-indicator/components/native/ConnectionIndicator.js
index 8f8b8c449d..39ccee2206 100644
--- a/react/features/connection-indicator/components/native/ConnectionIndicator.js
+++ b/react/features/connection-indicator/components/native/ConnectionIndicator.js
@@ -5,7 +5,6 @@ import React from 'react';
import { IconSignalLevel0, IconSignalLevel1, IconSignalLevel2 } from '../../../base/icons';
import { BaseIndicator } from '../../../base/react';
import { connect } from '../../../base/redux';
-
import AbstractConnectionIndicator, {
type Props,
type State
diff --git a/react/features/connection-indicator/components/web/ConnectionIndicator.js b/react/features/connection-indicator/components/web/ConnectionIndicator.js
index 813037019b..5f92f52bbd 100644
--- a/react/features/connection-indicator/components/web/ConnectionIndicator.js
+++ b/react/features/connection-indicator/components/web/ConnectionIndicator.js
@@ -7,7 +7,6 @@ import { Icon, IconConnectionActive, IconConnectionInactive } from '../../../bas
import { JitsiParticipantConnectionStatus } from '../../../base/lib-jitsi-meet';
import { Popover } from '../../../base/popover';
import { ConnectionStatsTable } from '../../../connection-stats';
-
import AbstractConnectionIndicator, {
INDICATOR_DISPLAY_THRESHOLD,
type Props as AbstractProps,
diff --git a/react/features/connection-indicator/middleware.js b/react/features/connection-indicator/middleware.js
index 3945f7dad3..bf0fafb090 100644
--- a/react/features/connection-indicator/middleware.js
+++ b/react/features/connection-indicator/middleware.js
@@ -1,7 +1,7 @@
// @flow
-import { MiddlewareRegistry } from '../base/redux';
import { CONFERENCE_JOINED } from '../base/conference';
+import { MiddlewareRegistry } from '../base/redux';
import { statsEmitter } from './index';
diff --git a/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js b/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js
index e9ef7ad027..c5d1029669 100644
--- a/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js
+++ b/react/features/deep-linking/components/DeepLinkingDesktopPage.web.js
@@ -3,13 +3,12 @@
import Button, { ButtonGroup } from '@atlaskit/button';
import { AtlasKitThemeProvider } from '@atlaskit/theme';
import React, { Component } from 'react';
-import { connect } from '../../base/redux';
import type { Dispatch } from 'redux';
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
import { isSupportedBrowser } from '../../base/environment';
import { translate } from '../../base/i18n';
-
+import { connect } from '../../base/redux';
import {
openWebApp,
openDesktopApp
diff --git a/react/features/deep-linking/components/DeepLinkingMobilePage.web.js b/react/features/deep-linking/components/DeepLinkingMobilePage.web.js
index bb0904ee73..efeea6ea79 100644
--- a/react/features/deep-linking/components/DeepLinkingMobilePage.web.js
+++ b/react/features/deep-linking/components/DeepLinkingMobilePage.web.js
@@ -1,13 +1,12 @@
// @flow
import React, { Component } from 'react';
-import { connect } from '../../base/redux';
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
import { translate } from '../../base/i18n';
import { Platform } from '../../base/react';
+import { connect } from '../../base/redux';
import { DialInSummary } from '../../invite';
-
import { _TNS } from '../constants';
import { generateDeepLinkingURL } from '../functions';
import { renderPromotionalFooter } from '../renderPromotionalFooter';
diff --git a/react/features/deep-linking/functions.js b/react/features/deep-linking/functions.js
index e686898eb7..42429c29f1 100644
--- a/react/features/deep-linking/functions.js
+++ b/react/features/deep-linking/functions.js
@@ -1,8 +1,8 @@
/* global interfaceConfig */
-import { URI_PROTOCOL_PATTERN } from '../base/util';
import { isMobileBrowser } from '../base/environment/utils';
import { Platform } from '../base/react';
+import { URI_PROTOCOL_PATTERN } from '../base/util';
import {
DeepLinkingDesktopPage,
diff --git a/react/features/desktop-picker/components/DesktopPicker.js b/react/features/desktop-picker/components/DesktopPicker.js
index 149992c965..9d2119c141 100644
--- a/react/features/desktop-picker/components/DesktopPicker.js
+++ b/react/features/desktop-picker/components/DesktopPicker.js
@@ -2,14 +2,14 @@
import Tabs from '@atlaskit/tabs';
import React, { PureComponent } from 'react';
-import { connect } from '../../base/redux';
import type { Dispatch } from 'redux';
import { Dialog, hideDialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
+import { connect } from '../../base/redux';
+import { obtainDesktopSources } from '../functions';
import DesktopPickerPane from './DesktopPickerPane';
-import { obtainDesktopSources } from '../functions';
/**
* The size of the requested thumbnails.
diff --git a/react/features/desktop-picker/components/DesktopPickerPane.js b/react/features/desktop-picker/components/DesktopPickerPane.js
index fe025cf429..8727541777 100644
--- a/react/features/desktop-picker/components/DesktopPickerPane.js
+++ b/react/features/desktop-picker/components/DesktopPickerPane.js
@@ -4,8 +4,8 @@ import { Checkbox } from '@atlaskit/checkbox';
import Spinner from '@atlaskit/spinner';
import React, { Component } from 'react';
-import { Platform } from '../../base/react';
import { translate } from '../../base/i18n';
+import { Platform } from '../../base/react';
import DesktopSourcePreview from './DesktopSourcePreview';
diff --git a/react/features/device-selection/actions.js b/react/features/device-selection/actions.js
index b367c83ad8..4f28067c95 100644
--- a/react/features/device-selection/actions.js
+++ b/react/features/device-selection/actions.js
@@ -3,7 +3,6 @@ import {
PostMessageTransportBackend,
Transport
} from '../../../modules/transport';
-
import { createDeviceChangedEvent, sendAnalytics } from '../analytics';
import {
getDeviceLabelById,
diff --git a/react/features/device-selection/components/DeviceSelection.js b/react/features/device-selection/components/DeviceSelection.js
index ede0efd185..09c3eb70fc 100644
--- a/react/features/device-selection/components/DeviceSelection.js
+++ b/react/features/device-selection/components/DeviceSelection.js
@@ -8,7 +8,6 @@ import AbstractDialogTab, {
import { translate } from '../../base/i18n/functions';
import JitsiMeetJS from '../../base/lib-jitsi-meet/_';
import { createLocalTrack } from '../../base/lib-jitsi-meet/functions';
-
import logger from '../logger';
import AudioInputPreview from './AudioInputPreview';
diff --git a/react/features/display-name/components/native/DisplayNamePrompt.js b/react/features/display-name/components/native/DisplayNamePrompt.js
index abdedbe562..da67275c73 100644
--- a/react/features/display-name/components/native/DisplayNamePrompt.js
+++ b/react/features/display-name/components/native/DisplayNamePrompt.js
@@ -1,10 +1,9 @@
// @flow
import React from 'react';
-import { connect } from '../../../base/redux';
import { InputDialog } from '../../../base/dialog';
-
+import { connect } from '../../../base/redux';
import AbstractDisplayNamePrompt from '../AbstractDisplayNamePrompt';
/**
diff --git a/react/features/display-name/components/web/DisplayName.js b/react/features/display-name/components/web/DisplayName.js
index 42f620129c..2a84fdc315 100644
--- a/react/features/display-name/components/web/DisplayName.js
+++ b/react/features/display-name/components/web/DisplayName.js
@@ -1,7 +1,6 @@
/* @flow */
import React, { Component } from 'react';
-import { connect } from '../../../base/redux';
import type { Dispatch } from 'redux';
import { translate } from '../../../base/i18n';
@@ -9,8 +8,8 @@ import {
getParticipantDisplayName,
getParticipantById
} from '../../../base/participants';
+import { connect } from '../../../base/redux';
import { updateSettings } from '../../../base/settings';
-
import { appendSuffix } from '../../functions';
/**
diff --git a/react/features/display-name/components/web/DisplayNamePrompt.js b/react/features/display-name/components/web/DisplayNamePrompt.js
index 394b13ba6d..f3b9450cde 100644
--- a/react/features/display-name/components/web/DisplayNamePrompt.js
+++ b/react/features/display-name/components/web/DisplayNamePrompt.js
@@ -1,12 +1,11 @@
/* @flow */
-import React from 'react';
import { FieldTextStateless as TextField } from '@atlaskit/field-text';
+import React from 'react';
import { Dialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractDisplayNamePrompt, {
type Props
} from '../AbstractDisplayNamePrompt';
diff --git a/react/features/display-name/middleware.js b/react/features/display-name/middleware.js
index 652a7f33df..163cc1f335 100644
--- a/react/features/display-name/middleware.js
+++ b/react/features/display-name/middleware.js
@@ -3,6 +3,7 @@
import { hideDialog, isDialogOpen } from '../base/dialog';
import { MiddlewareRegistry } from '../base/redux';
import { SETTINGS_UPDATED } from '../base/settings';
+
import { DisplayNamePrompt } from './components';
/**
diff --git a/react/features/e2ee/components/E2EEDialog.js b/react/features/e2ee/components/E2EEDialog.js
index c7d0c43f0a..46cf1b412c 100644
--- a/react/features/e2ee/components/E2EEDialog.js
+++ b/react/features/e2ee/components/E2EEDialog.js
@@ -1,15 +1,14 @@
/* @flow */
+import { FieldTextStateless as TextField } from '@atlaskit/field-text';
import React, { Component } from 'react';
import type { Dispatch } from 'redux';
-import { FieldTextStateless as TextField } from '@atlaskit/field-text';
import { createE2EEEvent, sendAnalytics } from '../../analytics';
import { Dialog } from '../../base/dialog';
import { translate, translateToHTML } from '../../base/i18n';
import { getParticipants } from '../../base/participants';
import { connect } from '../../base/redux';
-
import { setE2EEKey } from '../actions';
diff --git a/react/features/etherpad/components/SharedDocumentButton.js b/react/features/etherpad/components/SharedDocumentButton.js
index 77ea181350..5e88513ddd 100644
--- a/react/features/etherpad/components/SharedDocumentButton.js
+++ b/react/features/etherpad/components/SharedDocumentButton.js
@@ -7,7 +7,6 @@ import { translate } from '../../base/i18n';
import { IconShareDoc } from '../../base/icons';
import { connect } from '../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
-
import { toggleDocument } from '../actions';
diff --git a/react/features/etherpad/components/native/SharedDocument.js b/react/features/etherpad/components/native/SharedDocument.js
index 490667a289..11cdf07b97 100644
--- a/react/features/etherpad/components/native/SharedDocument.js
+++ b/react/features/etherpad/components/native/SharedDocument.js
@@ -10,7 +10,6 @@ import { translate } from '../../../base/i18n';
import { JitsiModal } from '../../../base/modal';
import { LoadingIndicator } from '../../../base/react';
import { connect } from '../../../base/redux';
-
import { toggleDocument } from '../../actions';
import { SHARE_DOCUMENT_VIEW_ID } from '../../constants';
import { getSharedDocumentUrl } from '../../functions';
diff --git a/react/features/etherpad/middleware.js b/react/features/etherpad/middleware.js
index f293908bc5..3d07f37492 100644
--- a/react/features/etherpad/middleware.js
+++ b/react/features/etherpad/middleware.js
@@ -1,9 +1,9 @@
// @flow
+import UIEvents from '../../../service/UI/UIEvents';
import { getCurrentConference } from '../base/conference';
import { setActiveModalId } from '../base/modal';
import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
-import UIEvents from '../../../service/UI/UIEvents';
import { TOGGLE_DOCUMENT_EDITING } from './actionTypes';
import { setDocumentEditingState, setDocumentUrl } from './actions';
diff --git a/react/features/feedback/actions.js b/react/features/feedback/actions.js
index 2f238c04b0..e763d76b8a 100644
--- a/react/features/feedback/actions.js
+++ b/react/features/feedback/actions.js
@@ -2,8 +2,8 @@
import type { Dispatch } from 'redux';
-import { openDialog } from '../base/dialog';
import { FEEDBACK_REQUEST_IN_PROGRESS } from '../../../modules/UI/UIErrors';
+import { openDialog } from '../base/dialog';
import {
CANCEL_FEEDBACK,
diff --git a/react/features/feedback/components/FeedbackDialog.web.js b/react/features/feedback/components/FeedbackDialog.web.js
index 9fddffa6d7..cb6f822d83 100644
--- a/react/features/feedback/components/FeedbackDialog.web.js
+++ b/react/features/feedback/components/FeedbackDialog.web.js
@@ -4,7 +4,6 @@ import { FieldTextAreaStateless } from '@atlaskit/field-text-area';
import StarIcon from '@atlaskit/icon/glyph/star';
import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
import React, { Component } from 'react';
-import { connect } from '../../base/redux';
import type { Dispatch } from 'redux';
import {
@@ -13,7 +12,7 @@ import {
} from '../../analytics';
import { Dialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
-
+import { connect } from '../../base/redux';
import { cancelFeedback, submitFeedback } from '../actions';
declare var APP: Object;
diff --git a/react/features/filmstrip/components/native/Filmstrip.js b/react/features/filmstrip/components/native/Filmstrip.js
index 756d980b34..288cd4a2bd 100644
--- a/react/features/filmstrip/components/native/Filmstrip.js
+++ b/react/features/filmstrip/components/native/Filmstrip.js
@@ -9,12 +9,11 @@ import {
isNarrowAspectRatio,
makeAspectRatioAware
} from '../../../base/responsive-ui';
-
import { isFilmstripVisible } from '../../functions';
import LocalThumbnail from './LocalThumbnail';
-import styles from './styles';
import Thumbnail from './Thumbnail';
+import styles from './styles';
/**
* Filmstrip component's property types.
diff --git a/react/features/filmstrip/components/native/LocalThumbnail.js b/react/features/filmstrip/components/native/LocalThumbnail.js
index ad06a9054b..c519ec302f 100644
--- a/react/features/filmstrip/components/native/LocalThumbnail.js
+++ b/react/features/filmstrip/components/native/LocalThumbnail.js
@@ -6,8 +6,8 @@ import { View } from 'react-native';
import { getLocalParticipant } from '../../../base/participants';
import { connect } from '../../../base/redux';
-import styles from './styles';
import Thumbnail from './Thumbnail';
+import styles from './styles';
type Props = {
diff --git a/react/features/filmstrip/components/native/RaisedHandIndicator.js b/react/features/filmstrip/components/native/RaisedHandIndicator.js
index 9834e2990e..85d4f96ed4 100644
--- a/react/features/filmstrip/components/native/RaisedHandIndicator.js
+++ b/react/features/filmstrip/components/native/RaisedHandIndicator.js
@@ -5,7 +5,6 @@ import React from 'react';
import { IconRaisedHand } from '../../../base/icons';
import { BaseIndicator } from '../../../base/react';
import { connect } from '../../../base/redux';
-
import AbstractRaisedHandIndicator, {
type Props,
_mapStateToProps
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index f32da97664..04bbb36b10 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/react/features/filmstrip/components/native/Thumbnail.js
@@ -27,8 +27,8 @@ import AudioMutedIndicator from './AudioMutedIndicator';
import DominantSpeakerIndicator from './DominantSpeakerIndicator';
import ModeratorIndicator from './ModeratorIndicator';
import RaisedHandIndicator from './RaisedHandIndicator';
-import styles, { AVATAR_SIZE } from './styles';
import VideoMutedIndicator from './VideoMutedIndicator';
+import styles, { AVATAR_SIZE } from './styles';
/**
* Thumbnail component's property types.
diff --git a/react/features/filmstrip/components/native/styles.js b/react/features/filmstrip/components/native/styles.js
index 6c95c7b2f1..42d7f05b81 100644
--- a/react/features/filmstrip/components/native/styles.js
+++ b/react/features/filmstrip/components/native/styles.js
@@ -2,7 +2,6 @@
import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';
import { ColorPalette } from '../../../base/styles';
-
import { FILMSTRIP_SIZE } from '../../constants';
/**
diff --git a/react/features/filmstrip/components/web/Filmstrip.js b/react/features/filmstrip/components/web/Filmstrip.js
index 5ee337121c..05a0087701 100644
--- a/react/features/filmstrip/components/web/Filmstrip.js
+++ b/react/features/filmstrip/components/web/Filmstrip.js
@@ -9,16 +9,14 @@ import {
createToolbarEvent,
sendAnalytics
} from '../../../analytics';
-import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
import { translate } from '../../../base/i18n';
+import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { dockToolbox } from '../../../toolbox';
-
+import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
import { shouldRemoteVideosBeVisible } from '../../functions';
-import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
-
import Toolbar from './Toolbar';
declare var APP: Object;
diff --git a/react/features/filmstrip/components/web/RaisedHandIndicator.js b/react/features/filmstrip/components/web/RaisedHandIndicator.js
index ecc00f8175..53d4aaa856 100644
--- a/react/features/filmstrip/components/web/RaisedHandIndicator.js
+++ b/react/features/filmstrip/components/web/RaisedHandIndicator.js
@@ -5,7 +5,6 @@ import React from 'react';
import { IconRaisedHand } from '../../../base/icons';
import { BaseIndicator } from '../../../base/react';
import { connect } from '../../../base/redux';
-
import AbstractRaisedHandIndicator, {
type Props as AbstractProps,
_mapStateToProps
diff --git a/react/features/filmstrip/middleware.web.js b/react/features/filmstrip/middleware.web.js
index d7bbd2e793..48d2d79149 100644
--- a/react/features/filmstrip/middleware.web.js
+++ b/react/features/filmstrip/middleware.web.js
@@ -1,17 +1,17 @@
// @flow
+import Filmstrip from '../../../modules/UI/videolayout/Filmstrip';
import { getNearestReceiverVideoQualityLevel, setMaxReceiverVideoQuality } from '../base/conference';
import { MiddlewareRegistry } from '../base/redux';
import { CLIENT_RESIZED } from '../base/responsive-ui';
-import Filmstrip from '../../../modules/UI/videolayout/Filmstrip';
import {
getCurrentLayout,
LAYOUTS,
shouldDisplayTileView
} from '../video-layout';
-import { setHorizontalViewDimensions, setTileViewDimensions } from './actions';
import { SET_HORIZONTAL_VIEW_DIMENSIONS, SET_TILE_VIEW_DIMENSIONS } from './actionTypes';
+import { setHorizontalViewDimensions, setTileViewDimensions } from './actions';
/**
* The middleware of the feature Filmstrip.
diff --git a/react/features/filmstrip/subscriber.web.js b/react/features/filmstrip/subscriber.web.js
index e1dbdb8557..2f01dfe0bc 100644
--- a/react/features/filmstrip/subscriber.web.js
+++ b/react/features/filmstrip/subscriber.web.js
@@ -1,8 +1,8 @@
// @flow
-import { StateListenerRegistry, equals } from '../base/redux';
import Filmstrip from '../../../modules/UI/videolayout/Filmstrip';
import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
+import { StateListenerRegistry, equals } from '../base/redux';
import { getCurrentLayout, getTileViewGridDimensions, shouldDisplayTileView, LAYOUTS } from '../video-layout';
import { setHorizontalViewDimensions, setTileViewDimensions } from './actions';
diff --git a/react/features/follow-me/middleware.js b/react/features/follow-me/middleware.js
index 540bba3076..731b528ebf 100644
--- a/react/features/follow-me/middleware.js
+++ b/react/features/follow-me/middleware.js
@@ -1,9 +1,5 @@
// @flow
-import {
- setFollowMeModerator,
- setFollowMeState
-} from './actions';
import { CONFERENCE_WILL_JOIN } from '../base/conference';
import {
getParticipantById,
@@ -15,6 +11,10 @@ import { MiddlewareRegistry } from '../base/redux';
import { setFilmstripVisible } from '../filmstrip';
import { setTileView } from '../video-layout';
+import {
+ setFollowMeModerator,
+ setFollowMeState
+} from './actions';
import { FOLLOW_ME_COMMAND } from './constants';
import { isFollowMeActive } from './functions';
import logger from './logger';
diff --git a/react/features/follow-me/reducer.js b/react/features/follow-me/reducer.js
index 296703bb2e..e3a12b6cf8 100644
--- a/react/features/follow-me/reducer.js
+++ b/react/features/follow-me/reducer.js
@@ -1,10 +1,11 @@
// @flow
+import { ReducerRegistry, set } from '../base/redux';
+
import {
SET_FOLLOW_ME_MODERATOR,
SET_FOLLOW_ME_STATE
} from './actionTypes';
-import { ReducerRegistry, set } from '../base/redux';
/**
* Listen for actions that contain the Follow Me feature active state, so that it can be stored.
diff --git a/react/features/follow-me/subscriber.js b/react/features/follow-me/subscriber.js
index 31f6f82ee1..716a2ebc14 100644
--- a/react/features/follow-me/subscriber.js
+++ b/react/features/follow-me/subscriber.js
@@ -1,11 +1,11 @@
// @flow
-import { StateListenerRegistry } from '../base/redux';
import { getCurrentConference } from '../base/conference';
import {
getPinnedParticipant,
isLocalParticipantModerator
} from '../base/participants';
+import { StateListenerRegistry } from '../base/redux';
import { FOLLOW_ME_COMMAND } from './constants';
diff --git a/react/features/google-api/components/GoogleSignInButton.native.js b/react/features/google-api/components/GoogleSignInButton.native.js
index fd237fe11c..9b5cc1bf8e 100644
--- a/react/features/google-api/components/GoogleSignInButton.native.js
+++ b/react/features/google-api/components/GoogleSignInButton.native.js
@@ -8,6 +8,9 @@ import { translate } from '../../base/i18n';
import AbstractGoogleSignInButton from './AbstractGoogleSignInButton';
import styles from './styles';
+// eslint-disable-next-line
+const GOOGLE_BRAND_IMAGE = require('../../../../images/btn_google_signin_dark_normal.png');
+
/**
* The Google Brand image for Sign In.
*
@@ -15,8 +18,6 @@ import styles from './styles';
* well due to our CocoaPods build process (the lib is not intended to be used
* this way), hence the custom button implementation.
*/
-const GOOGLE_BRAND_IMAGE
- = require('../../../../images/btn_google_signin_dark_normal.png');
/**
* A React Component showing a button to sign in with Google.
diff --git a/react/features/help/components/HelpView.js b/react/features/help/components/HelpView.js
index 5c9ca2e72c..c3a4fcadc3 100644
--- a/react/features/help/components/HelpView.js
+++ b/react/features/help/components/HelpView.js
@@ -5,7 +5,6 @@ import WebView from 'react-native-webview';
import { JitsiModal } from '../../base/modal';
import { connect } from '../../base/redux';
-
import { HELP_VIEW_MODAL_ID } from '../constants';
const DEFAULT_HELP_CENTRE_URL = 'https://web-cdn.jitsi.net/faq/meet-faq.html';
diff --git a/react/features/invite/actions.native.js b/react/features/invite/actions.native.js
index 7d37e85487..c0d207ed49 100644
--- a/react/features/invite/actions.native.js
+++ b/react/features/invite/actions.native.js
@@ -6,8 +6,8 @@ import { getFeatureFlag, ADD_PEOPLE_ENABLED } from '../base/flags';
import { setActiveModalId } from '../base/modal';
import { beginShareRoom } from '../share-room';
-import { isAddPeopleEnabled, isDialOutEnabled } from './functions';
import { ADD_PEOPLE_DIALOG_VIEW_ID } from './constants';
+import { isAddPeopleEnabled, isDialOutEnabled } from './functions';
export * from './actions.any';
diff --git a/react/features/invite/components/add-people-dialog/AbstractAddPeopleDialog.js b/react/features/invite/components/add-people-dialog/AbstractAddPeopleDialog.js
index c10c106865..fc97f814a1 100644
--- a/react/features/invite/components/add-people-dialog/AbstractAddPeopleDialog.js
+++ b/react/features/invite/components/add-people-dialog/AbstractAddPeopleDialog.js
@@ -3,7 +3,10 @@
import { Component } from 'react';
import { createInviteDialogEvent, sendAnalytics } from '../../../analytics';
-
+import {
+ NOTIFICATION_TIMEOUT,
+ showNotification
+} from '../../../notifications';
import { invite } from '../../actions';
import {
getInviteResultsForQuery,
@@ -11,11 +14,6 @@ import {
isAddPeopleEnabled,
isDialOutEnabled
} from '../../functions';
-import {
- NOTIFICATION_TIMEOUT,
- showNotification
-} from '../../../notifications';
-
import logger from '../../logger';
export type Props = {
diff --git a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
index 14c8ca2ae9..0f4c7b4a0d 100644
--- a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
+++ b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
@@ -31,9 +31,7 @@ import {
} from '../../../../base/react';
import { connect } from '../../../../base/redux';
import { beginShareRoom } from '../../../../share-room';
-
import { ADD_PEOPLE_DIALOG_VIEW_ID } from '../../../constants';
-
import AbstractAddPeopleDialog, {
type Props as AbstractProps,
type State as AbstractState,
diff --git a/react/features/invite/components/add-people-dialog/native/InviteButton.js b/react/features/invite/components/add-people-dialog/native/InviteButton.js
index 181b46cde8..1abf9bccc0 100644
--- a/react/features/invite/components/add-people-dialog/native/InviteButton.js
+++ b/react/features/invite/components/add-people-dialog/native/InviteButton.js
@@ -8,7 +8,6 @@ import { IconAddPeople } from '../../../../base/icons';
import { connect } from '../../../../base/redux';
import { AbstractButton } from '../../../../base/toolbox';
import type { AbstractButtonProps } from '../../../../base/toolbox';
-
import { doInvitePeople } from '../../../actions.native';
type Props = AbstractButtonProps & {
diff --git a/react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js b/react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js
index ffd1c7fe88..e63fc22788 100644
--- a/react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js
+++ b/react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js
@@ -11,7 +11,6 @@ import { JitsiRecordingConstants } from '../../../../base/lib-jitsi-meet';
import { getLocalParticipant } from '../../../../base/participants';
import { connect } from '../../../../base/redux';
import { getActiveSession } from '../../../../recording';
-
import { updateDialInNumbers } from '../../../actions';
import { _getDefaultPhoneNumber, getInviteText, isAddPeopleEnabled, isDialOutEnabled } from '../../../functions';
diff --git a/react/features/invite/components/add-people-dialog/web/DialInNumber.js b/react/features/invite/components/add-people-dialog/web/DialInNumber.js
index 3cafc8d4af..e3829e1eb7 100644
--- a/react/features/invite/components/add-people-dialog/web/DialInNumber.js
+++ b/react/features/invite/components/add-people-dialog/web/DialInNumber.js
@@ -4,7 +4,6 @@ import React, { Component } from 'react';
import { translate } from '../../../../base/i18n';
import { Icon, IconCopy } from '../../../../base/icons';
-
import { _formatConferenceIDPin } from '../../../_utils';
import { copyText } from './utils';
diff --git a/react/features/invite/components/add-people-dialog/web/DialInSection.js b/react/features/invite/components/add-people-dialog/web/DialInSection.js
index b179adcab6..8aee0afb5c 100644
--- a/react/features/invite/components/add-people-dialog/web/DialInSection.js
+++ b/react/features/invite/components/add-people-dialog/web/DialInSection.js
@@ -3,7 +3,6 @@
import React from 'react';
import { translate } from '../../../../base/i18n';
-
import { getDialInfoPageURL } from '../../../functions';
import DialInNumber from './DialInNumber';
diff --git a/react/features/invite/components/add-people-dialog/web/InviteByEmailSection.js b/react/features/invite/components/add-people-dialog/web/InviteByEmailSection.js
index ffc93b3deb..4fda2c7ab0 100644
--- a/react/features/invite/components/add-people-dialog/web/InviteByEmailSection.js
+++ b/react/features/invite/components/add-people-dialog/web/InviteByEmailSection.js
@@ -1,7 +1,7 @@
// @flow
-import React, { useState } from 'react';
import Tooltip from '@atlaskit/tooltip';
+import React, { useState } from 'react';
import { translate } from '../../../../base/i18n';
import {
diff --git a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
index 847bfb8b71..dc9220f2de 100644
--- a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
+++ b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
@@ -10,7 +10,6 @@ import { Icon, IconPhone } from '../../../../base/icons';
import { getLocalParticipant } from '../../../../base/participants';
import { MultiSelectAutocomplete } from '../../../../base/react';
import { connect } from '../../../../base/redux';
-
import AbstractAddPeopleDialog, {
type Props as AbstractProps,
type State,
diff --git a/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js b/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js
index 4c90b7a95e..a61101e101 100644
--- a/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js
+++ b/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js
@@ -2,8 +2,8 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next';
-import { i18next } from '../../../base/i18n';
import { isMobileBrowser } from '../../../base/environment/utils';
+import { i18next } from '../../../base/i18n';
import { parseURLParams } from '../../../base/util/parseURLParams';
import { DialInSummary } from '../dial-in-summary';
diff --git a/react/features/invite/components/dial-in-summary/native/DialInSummary.js b/react/features/invite/components/dial-in-summary/native/DialInSummary.js
index 82d0c81e29..a847f3d664 100644
--- a/react/features/invite/components/dial-in-summary/native/DialInSummary.js
+++ b/react/features/invite/components/dial-in-summary/native/DialInSummary.js
@@ -10,7 +10,6 @@ import { translate } from '../../../../base/i18n';
import { JitsiModal, setActiveModalId } from '../../../../base/modal';
import { LoadingIndicator } from '../../../../base/react';
import { connect } from '../../../../base/redux';
-
import { DIAL_IN_SUMMARY_VIEW_ID } from '../../../constants';
import { getDialInfoPageURLForURIString } from '../../../functions';
diff --git a/react/features/invite/components/dial-in-summary/web/ConferenceID.js b/react/features/invite/components/dial-in-summary/web/ConferenceID.js
index 916e95d68e..81fe83976d 100644
--- a/react/features/invite/components/dial-in-summary/web/ConferenceID.js
+++ b/react/features/invite/components/dial-in-summary/web/ConferenceID.js
@@ -3,7 +3,6 @@
import React, { Component } from 'react';
import { translate } from '../../../../base/i18n';
-
import { _formatConferenceIDPin } from '../../../_utils';
/**
diff --git a/react/features/large-video/components/LargeVideo.web.js b/react/features/large-video/components/LargeVideo.web.js
index 9a9669e4e2..2dc69e125e 100644
--- a/react/features/large-video/components/LargeVideo.web.js
+++ b/react/features/large-video/components/LargeVideo.web.js
@@ -3,8 +3,8 @@
import React, { Component } from 'react';
import { Watermarks } from '../../base/react';
-import { Captions } from '../../subtitles/';
import { connect } from '../../base/redux';
+import { Captions } from '../../subtitles/';
declare var interfaceConfig: Object;
diff --git a/react/features/large-video/subscriber.web.js b/react/features/large-video/subscriber.web.js
index 9134010e0f..e032fbce18 100644
--- a/react/features/large-video/subscriber.web.js
+++ b/react/features/large-video/subscriber.web.js
@@ -1,7 +1,7 @@
// @flow
-import { StateListenerRegistry } from '../base/redux';
import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
+import { StateListenerRegistry } from '../base/redux';
/**
* Updates the on stage participant video.
diff --git a/react/features/local-recording/components/LocalRecordingInfoDialog.js b/react/features/local-recording/components/LocalRecordingInfoDialog.js
index f98f2a601a..6f0938cfb9 100644
--- a/react/features/local-recording/components/LocalRecordingInfoDialog.js
+++ b/react/features/local-recording/components/LocalRecordingInfoDialog.js
@@ -11,7 +11,6 @@ import {
getLocalParticipant
} from '../../base/participants';
import { connect } from '../../base/redux';
-
import { statsUpdate } from '../actions';
import { recordingController } from '../controller';
diff --git a/react/features/local-recording/controller/RecordingController.js b/react/features/local-recording/controller/RecordingController.js
index 923e242178..4b95514d98 100644
--- a/react/features/local-recording/controller/RecordingController.js
+++ b/react/features/local-recording/controller/RecordingController.js
@@ -1,7 +1,6 @@
/* @flow */
import { i18next } from '../../base/i18n';
-
import logger from '../logger';
import {
FlacAdapter,
diff --git a/react/features/local-recording/recording/AbstractAudioContextAdapter.js b/react/features/local-recording/recording/AbstractAudioContextAdapter.js
index 6416e93c8c..b92babd06b 100644
--- a/react/features/local-recording/recording/AbstractAudioContextAdapter.js
+++ b/react/features/local-recording/recording/AbstractAudioContextAdapter.js
@@ -1,4 +1,5 @@
import logger from '../logger';
+
import { RecordingAdapter } from './RecordingAdapter';
/**
diff --git a/react/features/local-recording/recording/OggAdapter.js b/react/features/local-recording/recording/OggAdapter.js
index 781f652ed7..5f381b1434 100644
--- a/react/features/local-recording/recording/OggAdapter.js
+++ b/react/features/local-recording/recording/OggAdapter.js
@@ -1,4 +1,5 @@
import logger from '../logger';
+
import { RecordingAdapter } from './RecordingAdapter';
/**
diff --git a/react/features/local-recording/recording/WavAdapter.js b/react/features/local-recording/recording/WavAdapter.js
index 37bde7df7c..0c78dca41c 100644
--- a/react/features/local-recording/recording/WavAdapter.js
+++ b/react/features/local-recording/recording/WavAdapter.js
@@ -1,4 +1,5 @@
import logger from '../logger';
+
import { AbstractAudioContextAdapter } from './AbstractAudioContextAdapter';
const WAV_BITS_PER_SAMPLE = 16;
diff --git a/react/features/local-recording/recording/flac/FlacAdapter.js b/react/features/local-recording/recording/flac/FlacAdapter.js
index a76697aceb..f299db69a4 100644
--- a/react/features/local-recording/recording/flac/FlacAdapter.js
+++ b/react/features/local-recording/recording/flac/FlacAdapter.js
@@ -1,4 +1,6 @@
import logger from '../../logger';
+import { AbstractAudioContextAdapter } from '../AbstractAudioContextAdapter';
+
import {
DEBUG,
MAIN_THREAD_FINISH,
@@ -8,7 +10,6 @@ import {
WORKER_LIBFLAC_READY
} from './messageTypes';
-import { AbstractAudioContextAdapter } from '../AbstractAudioContextAdapter';
/**
* Recording adapter that uses libflac.js in the background.
diff --git a/react/features/local-recording/reducer.js b/react/features/local-recording/reducer.js
index c6447c7bbe..70a4878173 100644
--- a/react/features/local-recording/reducer.js
+++ b/react/features/local-recording/reducer.js
@@ -1,6 +1,7 @@
/* @flow */
import { ReducerRegistry } from '../base/redux';
+
import {
LOCAL_RECORDING_ENGAGED,
LOCAL_RECORDING_STATS_UPDATE,
diff --git a/react/features/mobile/audio-mode/middleware.js b/react/features/mobile/audio-mode/middleware.js
index 6eb56d4ded..189870ec32 100644
--- a/react/features/mobile/audio-mode/middleware.js
+++ b/react/features/mobile/audio-mode/middleware.js
@@ -2,8 +2,8 @@
import { NativeEventEmitter, NativeModules } from 'react-native';
-import { SET_AUDIO_ONLY } from '../../base/audio-only';
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';
+import { SET_AUDIO_ONLY } from '../../base/audio-only';
import {
CONFERENCE_FAILED,
CONFERENCE_LEFT,
diff --git a/react/features/mobile/background/middleware.native.js b/react/features/mobile/background/middleware.native.js
index 2566b78ed6..1d787e33f6 100644
--- a/react/features/mobile/background/middleware.native.js
+++ b/react/features/mobile/background/middleware.native.js
@@ -6,11 +6,11 @@ import type { Dispatch } from 'redux';
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';
import { MiddlewareRegistry } from '../../base/redux';
+import { _SET_APP_STATE_LISTENER } from './actionTypes';
import {
_setAppStateListener as _setAppStateListenerA,
appStateChanged
} from './actions';
-import { _SET_APP_STATE_LISTENER } from './actionTypes';
/**
* Middleware that captures App lifetime actions and subscribes to application
diff --git a/react/features/mobile/call-integration/middleware.js b/react/features/mobile/call-integration/middleware.js
index f92ac8339d..815567f919 100644
--- a/react/features/mobile/call-integration/middleware.js
+++ b/react/features/mobile/call-integration/middleware.js
@@ -30,10 +30,9 @@ import {
isLocalTrackMuted
} from '../../base/tracks';
-import { _SET_CALL_INTEGRATION_SUBSCRIPTIONS } from './actionTypes';
-
import CallKit from './CallKit';
import ConnectionService from './ConnectionService';
+import { _SET_CALL_INTEGRATION_SUBSCRIPTIONS } from './actionTypes';
import { isCallIntegrationEnabled } from './functions';
const { AudioMode } = NativeModules;
diff --git a/react/features/mobile/call-integration/reducer.js b/react/features/mobile/call-integration/reducer.js
index 2983827e1b..5a87e3c1af 100644
--- a/react/features/mobile/call-integration/reducer.js
+++ b/react/features/mobile/call-integration/reducer.js
@@ -1,8 +1,8 @@
import { assign, ReducerRegistry } from '../../base/redux';
-import { _SET_CALL_INTEGRATION_SUBSCRIPTIONS } from './actionTypes';
import CallKit from './CallKit';
import ConnectionService from './ConnectionService';
+import { _SET_CALL_INTEGRATION_SUBSCRIPTIONS } from './actionTypes';
(CallKit || ConnectionService) && ReducerRegistry.register(
'features/call-integration',
diff --git a/react/features/mobile/full-screen/middleware.js b/react/features/mobile/full-screen/middleware.js
index 889d425579..93a5a0fa40 100644
--- a/react/features/mobile/full-screen/middleware.js
+++ b/react/features/mobile/full-screen/middleware.js
@@ -8,8 +8,8 @@ import { isAnyDialogOpen } from '../../base/dialog/functions';
import { Platform } from '../../base/react';
import { MiddlewareRegistry, StateListenerRegistry } from '../../base/redux';
-import { _setImmersiveListener as _setImmersiveListenerA } from './actions';
import { _SET_IMMERSIVE_LISTENER } from './actionTypes';
+import { _setImmersiveListener as _setImmersiveListenerA } from './actions';
/**
* Middleware that captures conference actions and activates or deactivates the
diff --git a/react/features/mobile/incoming-call/components/AnswerButton.js b/react/features/mobile/incoming-call/components/AnswerButton.js
index 1d4d9cba26..783af7f5d7 100644
--- a/react/features/mobile/incoming-call/components/AnswerButton.js
+++ b/react/features/mobile/incoming-call/components/AnswerButton.js
@@ -5,7 +5,6 @@ import { IconHangup } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
-
import { incomingCallAnswered } from '../actions';
/**
diff --git a/react/features/mobile/incoming-call/components/DeclineButton.js b/react/features/mobile/incoming-call/components/DeclineButton.js
index 988c4c5ecc..3e48e3c63f 100644
--- a/react/features/mobile/incoming-call/components/DeclineButton.js
+++ b/react/features/mobile/incoming-call/components/DeclineButton.js
@@ -5,7 +5,6 @@ import { IconHangup } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
-
import { incomingCallDeclined } from '../actions';
/**
diff --git a/react/features/mobile/incoming-call/components/IncomingCallApp.js b/react/features/mobile/incoming-call/components/IncomingCallApp.js
index 5b4fe6e813..c3ebad06ad 100644
--- a/react/features/mobile/incoming-call/components/IncomingCallApp.js
+++ b/react/features/mobile/incoming-call/components/IncomingCallApp.js
@@ -1,8 +1,8 @@
// @flow
import { BaseApp } from '../../../base/app';
-
import { incomingCallReceived } from '../actions';
+
import IncomingCallPage from './IncomingCallPage';
/**
diff --git a/react/features/mobile/incoming-call/middleware.js b/react/features/mobile/incoming-call/middleware.js
index fc1acb081a..e4e5cba7be 100644
--- a/react/features/mobile/incoming-call/middleware.js
+++ b/react/features/mobile/incoming-call/middleware.js
@@ -1,7 +1,6 @@
// @flow
import { MiddlewareRegistry } from '../../base/redux';
-
import { sendEvent } from '../external-api';
import { INCOMING_CALL_ANSWERED, INCOMING_CALL_DECLINED } from './actionTypes';
diff --git a/react/features/mobile/permissions/middleware.js b/react/features/mobile/permissions/middleware.js
index 694461fb54..94ad336f85 100644
--- a/react/features/mobile/permissions/middleware.js
+++ b/react/features/mobile/permissions/middleware.js
@@ -2,12 +2,13 @@
import { Alert } from 'react-native';
-import { openSettings } from './functions';
import { isRoomValid } from '../../base/conference';
import { MiddlewareRegistry } from '../../base/redux';
import { TRACK_CREATE_ERROR } from '../../base/tracks';
+import { openSettings } from './functions';
+
/**
* Middleware that captures track permission errors and alerts the user so they
* can enable the permission themselves.
diff --git a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js
index b00b655b1c..2212b7d1b8 100644
--- a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js
+++ b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js
@@ -8,7 +8,6 @@ import { IconMenuDown } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
-
import { enterPictureInPicture } from '../actions';
type Props = AbstractButtonProps & {
diff --git a/react/features/mobile/watchos/middleware.js b/react/features/mobile/watchos/middleware.js
index 4cabd6cb26..336952cbda 100644
--- a/react/features/mobile/watchos/middleware.js
+++ b/react/features/mobile/watchos/middleware.js
@@ -4,7 +4,6 @@ import { Platform } from 'react-native';
import * as watch from 'react-native-watch-connectivity';
import { appNavigate } from '../../app';
-
import { APP_WILL_MOUNT } from '../../base/app';
import { CONFERENCE_JOINED } from '../../base/conference';
import { getCurrentConferenceUrl } from '../../base/connection';
diff --git a/react/features/mobile/watchos/reducer.js b/react/features/mobile/watchos/reducer.js
index 4f3c5adc92..1251b727db 100644
--- a/react/features/mobile/watchos/reducer.js
+++ b/react/features/mobile/watchos/reducer.js
@@ -1,6 +1,7 @@
// @flow
import { assign, ReducerRegistry } from '../../base/redux';
+
import { SET_CONFERENCE_TIMESTAMP, SET_SESSION_ID, SET_WATCH_REACHABLE } from './actionTypes';
const INITIAL_STATE = {
diff --git a/react/features/no-audio-signal/components/DialInLink.js b/react/features/no-audio-signal/components/DialInLink.js
index 90c8429a26..9f12a6b8aa 100644
--- a/react/features/no-audio-signal/components/DialInLink.js
+++ b/react/features/no-audio-signal/components/DialInLink.js
@@ -2,8 +2,8 @@
import React, { Component } from 'react';
-import { connect } from '../../base/redux';
import { translate } from '../../base/i18n';
+import { connect } from '../../base/redux';
import { getDialInfoPageURL, shouldDisplayDialIn } from '../../invite';
/**
diff --git a/react/features/notifications/actions.js b/react/features/notifications/actions.js
index 30c99826b1..5bbd2fdfc9 100644
--- a/react/features/notifications/actions.js
+++ b/react/features/notifications/actions.js
@@ -1,7 +1,6 @@
// @flow
import throttle from 'lodash/throttle';
-
import type { Dispatch } from 'redux';
import {
@@ -10,7 +9,6 @@ import {
SET_NOTIFICATIONS_ENABLED,
SHOW_NOTIFICATION
} from './actionTypes';
-
import { NOTIFICATION_TIMEOUT, NOTIFICATION_TYPE } from './constants';
/**
diff --git a/react/features/notifications/components/native/Notification.js b/react/features/notifications/components/native/Notification.js
index 6b36ccac7c..9f09be3ce7 100644
--- a/react/features/notifications/components/native/Notification.js
+++ b/react/features/notifications/components/native/Notification.js
@@ -5,7 +5,6 @@ import { Text, TouchableOpacity, View } from 'react-native';
import { translate } from '../../../base/i18n';
import { Icon, IconClose } from '../../../base/icons';
-
import AbstractNotification, {
type Props
} from '../AbstractNotification';
diff --git a/react/features/notifications/components/native/NotificationsContainer.js b/react/features/notifications/components/native/NotificationsContainer.js
index 52a3c91f90..7952fa9890 100644
--- a/react/features/notifications/components/native/NotificationsContainer.js
+++ b/react/features/notifications/components/native/NotificationsContainer.js
@@ -4,7 +4,6 @@ import React from 'react';
import { View } from 'react-native';
import { connect } from '../../../base/redux';
-
import AbstractNotificationsContainer, {
_abstractMapStateToProps,
type Props as AbstractProps
diff --git a/react/features/notifications/components/web/Notification.js b/react/features/notifications/components/web/Notification.js
index d262cd19ac..70e0104dea 100644
--- a/react/features/notifications/components/web/Notification.js
+++ b/react/features/notifications/components/web/Notification.js
@@ -8,9 +8,7 @@ import { colors } from '@atlaskit/theme';
import React from 'react';
import { translate } from '../../../base/i18n';
-
import { NOTIFICATION_TYPE } from '../../constants';
-
import AbstractNotification, {
type Props
} from '../AbstractNotification';
diff --git a/react/features/notifications/components/web/NotificationsContainer.js b/react/features/notifications/components/web/NotificationsContainer.js
index 9649f9856c..5e75f669e2 100644
--- a/react/features/notifications/components/web/NotificationsContainer.js
+++ b/react/features/notifications/components/web/NotificationsContainer.js
@@ -4,7 +4,6 @@ import { FlagGroup } from '@atlaskit/flag';
import React from 'react';
import { connect } from '../../../base/redux';
-
import AbstractNotificationsContainer, {
_abstractMapStateToProps,
type Props as AbstractProps
diff --git a/react/features/old-client-notification/components/OldElectronAPPNotificationDescription.js b/react/features/old-client-notification/components/OldElectronAPPNotificationDescription.js
index 6a06715c27..697b2a1f06 100644
--- a/react/features/old-client-notification/components/OldElectronAPPNotificationDescription.js
+++ b/react/features/old-client-notification/components/OldElectronAPPNotificationDescription.js
@@ -1,6 +1,7 @@
// @flow
import React, { Component } from 'react';
+
import { translate } from '../../base/i18n';
/**
diff --git a/react/features/old-client-notification/middleware.js b/react/features/old-client-notification/middleware.js
index 5339eafbcf..807fc1b980 100644
--- a/react/features/old-client-notification/middleware.js
+++ b/react/features/old-client-notification/middleware.js
@@ -6,8 +6,8 @@ import { APP_WILL_MOUNT } from '../base/app';
import { MiddlewareRegistry } from '../base/redux';
import { showErrorNotification } from '../notifications';
-import { isOldJitsiMeetElectronApp } from './functions';
import { OldElectronAPPNotificationDescription } from './components';
+import { isOldJitsiMeetElectronApp } from './functions';
declare var interfaceConfig: Object;
diff --git a/react/features/overlay/components/AbstractPageReloadOverlay.js b/react/features/overlay/components/AbstractPageReloadOverlay.js
index 878f24ff2c..fca34348ef 100644
--- a/react/features/overlay/components/AbstractPageReloadOverlay.js
+++ b/react/features/overlay/components/AbstractPageReloadOverlay.js
@@ -13,8 +13,8 @@ import {
isFatalJitsiConferenceError,
isFatalJitsiConnectionError
} from '../../base/lib-jitsi-meet';
-
import logger from '../logger';
+
import ReloadButton from './web/ReloadButton';
declare var APP: Object;
diff --git a/react/features/overlay/components/OverlayContainer.js b/react/features/overlay/components/OverlayContainer.js
index f519a233ea..602c7f1eb2 100644
--- a/react/features/overlay/components/OverlayContainer.js
+++ b/react/features/overlay/components/OverlayContainer.js
@@ -3,7 +3,6 @@
import React, { Component } from 'react';
import { connect } from '../../base/redux';
-
import { getOverlayToRender } from '../functions';
declare var interfaceConfig: Object;
diff --git a/react/features/overlay/components/native/PageReloadOverlay.js b/react/features/overlay/components/native/PageReloadOverlay.js
index 01c37347a0..e194b8d13f 100644
--- a/react/features/overlay/components/native/PageReloadOverlay.js
+++ b/react/features/overlay/components/native/PageReloadOverlay.js
@@ -9,9 +9,7 @@ import { ConfirmDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
-
import { setFatalError } from '../../actions';
-
import AbstractPageReloadOverlay, {
abstractMapStateToProps,
type Props as AbstractProps
diff --git a/react/features/overlay/components/web/PageReloadFilmstripOnlyOverlay.js b/react/features/overlay/components/web/PageReloadFilmstripOnlyOverlay.js
index 19e6fc4a76..0d527bbd67 100644
--- a/react/features/overlay/components/web/PageReloadFilmstripOnlyOverlay.js
+++ b/react/features/overlay/components/web/PageReloadFilmstripOnlyOverlay.js
@@ -4,7 +4,6 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractPageReloadOverlay, { type Props, abstractMapStateToProps }
from '../AbstractPageReloadOverlay';
diff --git a/react/features/overlay/components/web/PageReloadOverlay.js b/react/features/overlay/components/web/PageReloadOverlay.js
index 2e6941445a..e1e251026c 100644
--- a/react/features/overlay/components/web/PageReloadOverlay.js
+++ b/react/features/overlay/components/web/PageReloadOverlay.js
@@ -4,7 +4,6 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractPageReloadOverlay, {
abstractMapStateToProps,
type Props
diff --git a/react/features/power-monitor/actions.js b/react/features/power-monitor/actions.js
index 6f30d6c4a7..7c5bbf5725 100644
--- a/react/features/power-monitor/actions.js
+++ b/react/features/power-monitor/actions.js
@@ -1,10 +1,11 @@
// @flow
+import { Transport } from '../../../modules/transport';
+
import {
SET_TRANSPORT,
SUSPEND_DETECTED
} from './actionTypes';
-import { Transport } from '../../../modules/transport';
/**
* Signals that suspend was detected.
diff --git a/react/features/power-monitor/middleware.js b/react/features/power-monitor/middleware.js
index cc06b3049e..3b9ab49440 100644
--- a/react/features/power-monitor/middleware.js
+++ b/react/features/power-monitor/middleware.js
@@ -1,22 +1,23 @@
// @flow
-import {
- setTransport,
- suspendDetected
-} from './actions';
-import { SUSPEND_DETECTED } from './actionTypes';
+import {
+ PostMessageTransportBackend,
+ Transport
+} from '../../../modules/transport';
import {
CONFERENCE_JOINED,
CONFERENCE_LEFT
} from '../base/conference';
import { MiddlewareRegistry } from '../base/redux';
-import {
- PostMessageTransportBackend,
- Transport
-} from '../../../modules/transport';
import { destroyLocalTracks } from '../base/tracks';
+import { SUSPEND_DETECTED } from './actionTypes';
+import {
+ setTransport,
+ suspendDetected
+} from './actions';
+
declare var APP: Object;
MiddlewareRegistry.register(store => next => action => {
diff --git a/react/features/power-monitor/reducer.js b/react/features/power-monitor/reducer.js
index 3aadacf03f..4bdc743b23 100644
--- a/react/features/power-monitor/reducer.js
+++ b/react/features/power-monitor/reducer.js
@@ -1,7 +1,7 @@
// @flow
-import { ReducerRegistry, set } from '../base/redux';
import { Transport } from '../../../modules/transport';
+import { ReducerRegistry, set } from '../base/redux';
import {
SET_TRANSPORT,
diff --git a/react/features/prejoin/actions.js b/react/features/prejoin/actions.js
index 6b1212f19c..ff790dbc91 100644
--- a/react/features/prejoin/actions.js
+++ b/react/features/prejoin/actions.js
@@ -3,6 +3,12 @@
import uuid from 'uuid';
import { getRoomName } from '../base/conference';
+import { getDialOutStatusUrl, getDialOutUrl } from '../base/config/functions';
+import { createLocalTrack } from '../base/lib-jitsi-meet';
+import { openURLInBrowser } from '../base/util';
+import { executeDialOutRequest, executeDialOutStatusRequest, getDialInfoPageURL } from '../invite/functions';
+import { showErrorNotification } from '../notifications';
+
import {
ADD_PREJOIN_AUDIO_TRACK,
ADD_PREJOIN_CONTENT_SHARING_TRACK,
@@ -21,13 +27,6 @@ import {
SET_PREJOIN_VIDEO_DISABLED,
SET_PREJOIN_VIDEO_MUTED
} from './actionTypes';
-import { getDialOutStatusUrl, getDialOutUrl } from '../base/config/functions';
-import { createLocalTrack } from '../base/lib-jitsi-meet';
-import { openURLInBrowser } from '../base/util';
-import { executeDialOutRequest, executeDialOutStatusRequest, getDialInfoPageURL } from '../invite/functions';
-import logger from './logger';
-import { showErrorNotification } from '../notifications';
-
import {
getFullDialOutNumber,
getAudioTrack,
@@ -36,6 +35,7 @@ import {
getVideoTrack,
isJoinByPhoneDialogVisible
} from './functions';
+import logger from './logger';
const dialOutStatusToKeyMap = {
INITIATED: 'presenceStatus.calling',
diff --git a/react/features/prejoin/components/Prejoin.js b/react/features/prejoin/components/Prejoin.js
index fd06a77ccb..2b91e8e0c6 100644
--- a/react/features/prejoin/components/Prejoin.js
+++ b/react/features/prejoin/components/Prejoin.js
@@ -1,31 +1,33 @@
// @flow
-import React, { Component } from 'react';
import InlineDialog from '@atlaskit/inline-dialog';
+import React, { Component } from 'react';
+
+import { getRoomName } from '../../base/conference';
+import { translate } from '../../base/i18n';
+import { Icon, IconPhone, IconVolumeOff } from '../../base/icons';
+import { connect } from '../../base/redux';
+import { getDisplayName, updateSettings } from '../../base/settings';
+import { isGuest } from '../../invite';
+import { VideoSettingsButton, AudioSettingsButton } from '../../toolbox';
import {
joinConference as joinConferenceAction,
joinConferenceWithoutAudio as joinConferenceWithoutAudioAction,
setSkipPrejoin as setSkipPrejoinAction,
setJoinByPhoneDialogVisiblity as setJoinByPhoneDialogVisiblityAction
} from '../actions';
-import { getRoomName } from '../../base/conference';
-import { Icon, IconPhone, IconVolumeOff } from '../../base/icons';
-import { translate } from '../../base/i18n';
-import { connect } from '../../base/redux';
-import { getDisplayName, updateSettings } from '../../base/settings';
-import ActionButton from './buttons/ActionButton';
import {
isJoinByPhoneButtonVisible,
isDeviceStatusVisible,
isJoinByPhoneDialogVisible
} from '../functions';
-import { isGuest } from '../../invite';
+
+import ActionButton from './buttons/ActionButton';
+import JoinByPhoneDialog from './dialogs/JoinByPhoneDialog';
import CopyMeetingUrl from './preview/CopyMeetingUrl';
import DeviceStatus from './preview/DeviceStatus';
import ParticipantName from './preview/ParticipantName';
import Preview from './preview/Preview';
-import { VideoSettingsButton, AudioSettingsButton } from '../../toolbox';
-import JoinByPhoneDialog from './dialogs/JoinByPhoneDialog';
type Props = {
diff --git a/react/features/prejoin/components/buttons/ActionButton.js b/react/features/prejoin/components/buttons/ActionButton.js
index c477153058..cefc8a825e 100644
--- a/react/features/prejoin/components/buttons/ActionButton.js
+++ b/react/features/prejoin/components/buttons/ActionButton.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Icon, IconArrowDown } from '../../../base/icons';
const classNameByType = {
diff --git a/react/features/prejoin/components/country-picker/CountryDropdown.js b/react/features/prejoin/components/country-picker/CountryDropdown.js
index 7fe1f8b260..eec726f1f2 100644
--- a/react/features/prejoin/components/country-picker/CountryDropdown.js
+++ b/react/features/prejoin/components/country-picker/CountryDropdown.js
@@ -1,7 +1,9 @@
// @flow
import React from 'react';
+
import { countries } from '../../utils';
+
import CountryRow from './CountryRow';
type Props = {
diff --git a/react/features/prejoin/components/country-picker/CountryPicker.js b/react/features/prejoin/components/country-picker/CountryPicker.js
index 1c96826d9e..5cfc5e36bf 100644
--- a/react/features/prejoin/components/country-picker/CountryPicker.js
+++ b/react/features/prejoin/components/country-picker/CountryPicker.js
@@ -1,15 +1,15 @@
// @flow
-import React, { PureComponent } from 'react';
import InlineDialog from '@atlaskit/inline-dialog';
+import React, { PureComponent } from 'react';
import { connect } from '../../../base/redux';
import { setDialOutCountry, setDialOutNumber } from '../../actions';
import { getDialOutCountry, getDialOutNumber } from '../../functions';
import { getCountryFromDialCodeText } from '../../utils';
-import CountrySelector from './CountrySelector';
import CountryDropDown from './CountryDropdown';
+import CountrySelector from './CountrySelector';
const PREFIX_REG = /^(00)|\+/;
diff --git a/react/features/prejoin/components/country-picker/CountrySelector.js b/react/features/prejoin/components/country-picker/CountrySelector.js
index 74e45cf9d8..e5ba950a6f 100644
--- a/react/features/prejoin/components/country-picker/CountrySelector.js
+++ b/react/features/prejoin/components/country-picker/CountrySelector.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Icon, IconArrowDown } from '../../../base/icons';
type Props = {
diff --git a/react/features/prejoin/components/dialogs/CallingDialog.js b/react/features/prejoin/components/dialogs/CallingDialog.js
index 135216922c..eb6d6c1495 100644
--- a/react/features/prejoin/components/dialogs/CallingDialog.js
+++ b/react/features/prejoin/components/dialogs/CallingDialog.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Avatar } from '../../../base/avatar';
import { translate } from '../../../base/i18n';
import { Icon, IconClose } from '../../../base/icons';
diff --git a/react/features/prejoin/components/dialogs/DialInDialog.js b/react/features/prejoin/components/dialogs/DialInDialog.js
index 325a12a7ab..7d23a3dd58 100644
--- a/react/features/prejoin/components/dialogs/DialInDialog.js
+++ b/react/features/prejoin/components/dialogs/DialInDialog.js
@@ -1,11 +1,12 @@
// @flow
import React from 'react';
+
import { translate } from '../../../base/i18n';
import { Icon, IconArrowLeft } from '../../../base/icons';
import { getCountryCodeFromPhone } from '../../utils';
-import ActionButton from '../buttons/ActionButton';
import Label from '../Label';
+import ActionButton from '../buttons/ActionButton';
type Props = {
diff --git a/react/features/prejoin/components/dialogs/DialOutDialog.js b/react/features/prejoin/components/dialogs/DialOutDialog.js
index ba93e44fde..49a333fc2e 100644
--- a/react/features/prejoin/components/dialogs/DialOutDialog.js
+++ b/react/features/prejoin/components/dialogs/DialOutDialog.js
@@ -4,9 +4,9 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { Icon, IconClose } from '../../../base/icons';
+import Label from '../Label';
import ActionButton from '../buttons/ActionButton';
import CountryPicker from '../country-picker/CountryPicker';
-import Label from '../Label';
type Props = {
diff --git a/react/features/prejoin/components/preview/CopyMeetingUrl.js b/react/features/prejoin/components/preview/CopyMeetingUrl.js
index a839e68776..548904ffda 100644
--- a/react/features/prejoin/components/preview/CopyMeetingUrl.js
+++ b/react/features/prejoin/components/preview/CopyMeetingUrl.js
@@ -1,10 +1,11 @@
// @flow
import React, { Component } from 'react';
-import { connect } from '../../../base/redux';
-import { translate } from '../../../base/i18n';
+
import { getCurrentConferenceUrl } from '../../../base/connection';
+import { translate } from '../../../base/i18n';
import { Icon, IconCopy, IconCheck } from '../../../base/icons';
+import { connect } from '../../../base/redux';
import logger from '../../logger';
type Props = {
diff --git a/react/features/prejoin/components/preview/DeviceStatus.js b/react/features/prejoin/components/preview/DeviceStatus.js
index 1d56d121cb..ccfcffefd1 100644
--- a/react/features/prejoin/components/preview/DeviceStatus.js
+++ b/react/features/prejoin/components/preview/DeviceStatus.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { translate } from '../../../base/i18n';
import { Icon, IconCheck, IconExclamation } from '../../../base/icons';
import { connect } from '../../../base/redux';
diff --git a/react/features/prejoin/components/preview/ParticipantName.js b/react/features/prejoin/components/preview/ParticipantName.js
index a0f4577c69..a1b1c8b1d0 100644
--- a/react/features/prejoin/components/preview/ParticipantName.js
+++ b/react/features/prejoin/components/preview/ParticipantName.js
@@ -1,6 +1,7 @@
// @flow
import React, { Component } from 'react';
+
import { translate } from '../../../base/i18n';
type Props = {
diff --git a/react/features/prejoin/components/preview/Preview.js b/react/features/prejoin/components/preview/Preview.js
index a210c67a81..2e04721fe0 100644
--- a/react/features/prejoin/components/preview/Preview.js
+++ b/react/features/prejoin/components/preview/Preview.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Avatar } from '../../../base/avatar';
import { Video } from '../../../base/media';
import { connect } from '../../../base/redux';
diff --git a/react/features/prejoin/middleware.js b/react/features/prejoin/middleware.js
index 9e2a7f2d9b..96daede05b 100644
--- a/react/features/prejoin/middleware.js
+++ b/react/features/prejoin/middleware.js
@@ -1,14 +1,15 @@
// @flow
+import { SET_AUDIO_MUTED, SET_VIDEO_MUTED } from '../base/media';
+import { MiddlewareRegistry } from '../base/redux';
+import { updateSettings } from '../base/settings';
+
import {
ADD_PREJOIN_AUDIO_TRACK,
ADD_PREJOIN_VIDEO_TRACK,
PREJOIN_START_CONFERENCE
} from './actionTypes';
import { setPrejoinAudioMuted, setPrejoinVideoMuted } from './actions';
-import { updateSettings } from '../base/settings';
-import { SET_AUDIO_MUTED, SET_VIDEO_MUTED } from '../base/media';
-import { MiddlewareRegistry } from '../base/redux';
import { getAllPrejoinConfiguredTracks } from './functions';
declare var APP: Object;
diff --git a/react/features/presence-status/components/PresenceLabel.js b/react/features/presence-status/components/PresenceLabel.js
index 419d5a2c5b..f480ea52e0 100644
--- a/react/features/presence-status/components/PresenceLabel.js
+++ b/react/features/presence-status/components/PresenceLabel.js
@@ -6,7 +6,6 @@ import { translate } from '../../base/i18n';
import { getParticipantById } from '../../base/participants';
import { Text } from '../../base/react';
import { connect } from '../../base/redux';
-
import { STATUS_TO_I18N_KEY } from '../constants';
import { presenceStatusDisabled } from '../functions';
diff --git a/react/features/recent-list/components/RecentList.native.js b/react/features/recent-list/components/RecentList.native.js
index 8434cf2376..d737ebb8c9 100644
--- a/react/features/recent-list/components/RecentList.native.js
+++ b/react/features/recent-list/components/RecentList.native.js
@@ -10,9 +10,9 @@ import { NavigateSectionList, type Section } from '../../base/react';
import { connect } from '../../base/redux';
import { ColorPalette } from '../../base/styles';
import { DIAL_IN_SUMMARY_VIEW_ID } from '../../invite/constants';
-
import { deleteRecentListEntry } from '../actions';
import { isRecentListEnabled, toDisplayableList } from '../functions';
+
import AbstractRecentList from './AbstractRecentList';
/**
diff --git a/react/features/recent-list/components/RecentList.web.js b/react/features/recent-list/components/RecentList.web.js
index 79268b6202..cc4fc79403 100644
--- a/react/features/recent-list/components/RecentList.web.js
+++ b/react/features/recent-list/components/RecentList.web.js
@@ -6,9 +6,9 @@ import type { Dispatch } from 'redux';
import { translate } from '../../base/i18n';
import { MeetingsList } from '../../base/react';
import { connect } from '../../base/redux';
+import { isRecentListEnabled, toDisplayableList } from '../functions';
import AbstractRecentList from './AbstractRecentList';
-import { isRecentListEnabled, toDisplayableList } from '../functions';
/**
* The type of the React {@code Component} props of {@link RecentList}
diff --git a/react/features/recording/components/AbstractRecordingLabel.js b/react/features/recording/components/AbstractRecordingLabel.js
index 227e58cf73..7a67d02e49 100644
--- a/react/features/recording/components/AbstractRecordingLabel.js
+++ b/react/features/recording/components/AbstractRecordingLabel.js
@@ -3,7 +3,6 @@
import { Component } from 'react';
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
-
import { getSessionStatusToShow } from '../functions';
/**
diff --git a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
index 445d027b55..efe9604c6b 100644
--- a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
+++ b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
@@ -7,7 +7,6 @@ import {
AbstractButton,
type AbstractButtonProps
} from '../../../base/toolbox';
-
import { getActiveSession } from '../../functions';
import {
diff --git a/react/features/recording/components/LiveStream/AbstractStopLiveStreamDialog.js b/react/features/recording/components/LiveStream/AbstractStopLiveStreamDialog.js
index edf9d98944..dd0c186f5f 100644
--- a/react/features/recording/components/LiveStream/AbstractStopLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/AbstractStopLiveStreamDialog.js
@@ -7,7 +7,6 @@ import {
sendAnalytics
} from '../../../analytics';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
-
import { getActiveSession } from '../../functions';
/**
diff --git a/react/features/recording/components/LiveStream/native/GoogleSigninForm.js b/react/features/recording/components/LiveStream/native/GoogleSigninForm.js
index 6f0249aefc..50aca6c72c 100644
--- a/react/features/recording/components/LiveStream/native/GoogleSigninForm.js
+++ b/react/features/recording/components/LiveStream/native/GoogleSigninForm.js
@@ -7,7 +7,6 @@ import { _abstractMapStateToProps } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
import { StyleType } from '../../../../base/styles';
-
import {
GOOGLE_API_STATES,
GOOGLE_SCOPE_YOUTUBE,
@@ -15,7 +14,6 @@ import {
GoogleSignInButton,
setGoogleAPIState
} from '../../../../google-api';
-
import logger from '../../../logger';
import styles from './styles';
diff --git a/react/features/recording/components/LiveStream/native/LiveStreamButton.js b/react/features/recording/components/LiveStream/native/LiveStreamButton.js
index 08bad8ff4e..8f70ae8604 100644
--- a/react/features/recording/components/LiveStream/native/LiveStreamButton.js
+++ b/react/features/recording/components/LiveStream/native/LiveStreamButton.js
@@ -1,10 +1,9 @@
// @flow
+import { LIVE_STREAMING_ENABLED, getFeatureFlag } from '../../../../base/flags';
import { translate } from '../../../../base/i18n';
import { IconLiveStreaming } from '../../../../base/icons';
-import { LIVE_STREAMING_ENABLED, getFeatureFlag } from '../../../../base/flags';
import { connect } from '../../../../base/redux';
-
import AbstractLiveStreamButton, {
_mapStateToProps as _abstractMapStateToProps,
type Props
diff --git a/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js b/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
index ce0e2ac49b..b9ae4e90bb 100644
--- a/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
@@ -7,10 +7,7 @@ import { CustomSubmitDialog } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
import { googleApi } from '../../../../google-api';
-
-
import { setLiveStreamKey } from '../../../actions';
-
import AbstractStartLiveStreamDialog,
{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';
diff --git a/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js
index 54a954692d..19170434b0 100644
--- a/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { ConfirmDialog } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStopLiveStreamDialog, {
_mapStateToProps
} from '../AbstractStopLiveStreamDialog';
diff --git a/react/features/recording/components/LiveStream/native/StreamKeyForm.js b/react/features/recording/components/LiveStream/native/StreamKeyForm.js
index 35004e81fb..29a73a28d5 100644
--- a/react/features/recording/components/LiveStream/native/StreamKeyForm.js
+++ b/react/features/recording/components/LiveStream/native/StreamKeyForm.js
@@ -7,7 +7,6 @@ import { _abstractMapStateToProps } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
import { StyleType } from '../../../../base/styles';
-
import AbstractStreamKeyForm, {
type Props as AbstractProps
} from '../AbstractStreamKeyForm';
diff --git a/react/features/recording/components/LiveStream/native/StreamKeyPicker.js b/react/features/recording/components/LiveStream/native/StreamKeyPicker.js
index d3eeccf134..ed07d94362 100644
--- a/react/features/recording/components/LiveStream/native/StreamKeyPicker.js
+++ b/react/features/recording/components/LiveStream/native/StreamKeyPicker.js
@@ -13,7 +13,6 @@ import { _abstractMapStateToProps } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
import { StyleType } from '../../../../base/styles';
-
import { YOUTUBE_LIVE_DASHBOARD_URL } from '../constants';
import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';
diff --git a/react/features/recording/components/LiveStream/web/LiveStreamButton.js b/react/features/recording/components/LiveStream/web/LiveStreamButton.js
index 4e62fb631f..6d780a3861 100644
--- a/react/features/recording/components/LiveStream/web/LiveStreamButton.js
+++ b/react/features/recording/components/LiveStream/web/LiveStreamButton.js
@@ -3,7 +3,6 @@
import { translate } from '../../../../base/i18n';
import { IconLiveStreaming } from '../../../../base/icons';
import { connect } from '../../../../base/redux';
-
import AbstractLiveStreamButton, {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
diff --git a/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js b/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js
index d3ce0e0eb7..b46a025902 100644
--- a/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js
@@ -6,7 +6,6 @@ import React from 'react';
import { Dialog } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import {
GOOGLE_API_STATES,
GoogleSignInButton,
@@ -17,14 +16,13 @@ import {
signIn,
updateProfile
} from '../../../../google-api';
-
import AbstractStartLiveStreamDialog, {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
} from '../AbstractStartLiveStreamDialog';
-import StreamKeyPicker from './StreamKeyPicker';
import StreamKeyForm from './StreamKeyForm';
+import StreamKeyPicker from './StreamKeyPicker';
type Props = AbstractProps & {
diff --git a/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js b/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
index 751e641fde..0f4feb54d3 100644
--- a/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { Dialog } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStopLiveStreamDialog, {
_mapStateToProps
} from '../AbstractStopLiveStreamDialog';
diff --git a/react/features/recording/components/LiveStream/web/StreamKeyForm.js b/react/features/recording/components/LiveStream/web/StreamKeyForm.js
index 2335c8e8ff..e35d93eba4 100644
--- a/react/features/recording/components/LiveStream/web/StreamKeyForm.js
+++ b/react/features/recording/components/LiveStream/web/StreamKeyForm.js
@@ -4,7 +4,6 @@ import { FieldTextStateless } from '@atlaskit/field-text';
import React from 'react';
import { translate } from '../../../../base/i18n';
-
import AbstractStreamKeyForm, {
type Props
} from '../AbstractStreamKeyForm';
diff --git a/react/features/recording/components/LiveStream/web/StreamKeyPicker.js b/react/features/recording/components/LiveStream/web/StreamKeyPicker.js
index b0d7937717..bfe61b7838 100644
--- a/react/features/recording/components/LiveStream/web/StreamKeyPicker.js
+++ b/react/features/recording/components/LiveStream/web/StreamKeyPicker.js
@@ -8,7 +8,6 @@ import {
import React, { PureComponent } from 'react';
import { translate } from '../../../../base/i18n';
-
import { YOUTUBE_LIVE_DASHBOARD_URL } from '../constants';
/**
diff --git a/react/features/recording/components/Recording/AbstractRecordButton.js b/react/features/recording/components/Recording/AbstractRecordButton.js
index a27faca482..716873be62 100644
--- a/react/features/recording/components/Recording/AbstractRecordButton.js
+++ b/react/features/recording/components/Recording/AbstractRecordButton.js
@@ -4,7 +4,6 @@ import {
createToolbarEvent,
sendAnalytics
} from '../../../analytics';
-
import { openDialog } from '../../../base/dialog';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import {
@@ -15,7 +14,6 @@ import {
AbstractButton,
type AbstractButtonProps
} from '../../../base/toolbox';
-
import { getActiveSession } from '../../functions';
import { StartRecordingDialog, StopRecordingDialog } from './_';
diff --git a/react/features/recording/components/Recording/AbstractStartRecordingDialog.js b/react/features/recording/components/Recording/AbstractStartRecordingDialog.js
index dd921cfd78..073d143c01 100644
--- a/react/features/recording/components/Recording/AbstractStartRecordingDialog.js
+++ b/react/features/recording/components/Recording/AbstractStartRecordingDialog.js
@@ -11,8 +11,8 @@ import {
getDropboxData,
isEnabled as isDropboxEnabled
} from '../../../dropbox';
-import { RECORDING_TYPES } from '../../constants';
import { toggleRequestingSubtitles } from '../../../subtitles';
+import { RECORDING_TYPES } from '../../constants';
type Props = {
diff --git a/react/features/recording/components/Recording/AbstractStopRecordingDialog.js b/react/features/recording/components/Recording/AbstractStopRecordingDialog.js
index 5dbcfe2165..bc74a74073 100644
--- a/react/features/recording/components/Recording/AbstractStopRecordingDialog.js
+++ b/react/features/recording/components/Recording/AbstractStopRecordingDialog.js
@@ -7,7 +7,6 @@ import {
sendAnalytics
} from '../../../analytics';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
-
import { getActiveSession } from '../../functions';
/**
diff --git a/react/features/recording/components/Recording/StartRecordingDialogContent.js b/react/features/recording/components/Recording/StartRecordingDialogContent.js
index 0d4438cec5..843ba60530 100644
--- a/react/features/recording/components/Recording/StartRecordingDialogContent.js
+++ b/react/features/recording/components/Recording/StartRecordingDialogContent.js
@@ -22,7 +22,6 @@ import {
import { connect } from '../../../base/redux';
import { ColorPalette, StyleType } from '../../../base/styles';
import { authorizeDropbox, updateDropboxToken } from '../../../dropbox';
-
import { RECORDING_TYPES } from '../../constants';
import { getRecordingDurationEstimation } from '../../functions';
diff --git a/react/features/recording/components/Recording/native/RecordButton.js b/react/features/recording/components/Recording/native/RecordButton.js
index fd6b88055e..986c06f1e7 100644
--- a/react/features/recording/components/Recording/native/RecordButton.js
+++ b/react/features/recording/components/Recording/native/RecordButton.js
@@ -6,7 +6,6 @@ import { IOS_RECORDING_ENABLED, RECORDING_ENABLED, getFeatureFlag } from '../../
import { translate } from '../../../../base/i18n';
import { IconToggleRecording } from '../../../../base/icons';
import { connect } from '../../../../base/redux';
-
import AbstractRecordButton, {
_mapStateToProps as _abstractMapStateToProps,
type Props
diff --git a/react/features/recording/components/Recording/native/StartRecordingDialog.js b/react/features/recording/components/Recording/native/StartRecordingDialog.js
index fb79e3efd3..5ccf1d5e29 100644
--- a/react/features/recording/components/Recording/native/StartRecordingDialog.js
+++ b/react/features/recording/components/Recording/native/StartRecordingDialog.js
@@ -2,10 +2,9 @@
import React from 'react';
-import { translate } from '../../../../base/i18n';
import { CustomSubmitDialog } from '../../../../base/dialog';
+import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStartRecordingDialog, {
mapStateToProps
} from '../AbstractStartRecordingDialog';
diff --git a/react/features/recording/components/Recording/native/StopRecordingDialog.js b/react/features/recording/components/Recording/native/StopRecordingDialog.js
index ccd7bfb7c3..a66581bd85 100644
--- a/react/features/recording/components/Recording/native/StopRecordingDialog.js
+++ b/react/features/recording/components/Recording/native/StopRecordingDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { ConfirmDialog } from '../../../../base/dialog';
import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStopRecordingDialog, {
type Props,
_mapStateToProps
diff --git a/react/features/recording/components/Recording/styles.native.js b/react/features/recording/components/Recording/styles.native.js
index e0fd8adbc8..19ffc6262e 100644
--- a/react/features/recording/components/Recording/styles.native.js
+++ b/react/features/recording/components/Recording/styles.native.js
@@ -3,16 +3,14 @@
import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';
import { BoxModel, ColorPalette } from '../../../base/styles';
-// XXX The "standard" {@code BoxModel.padding} has been deemed insufficient in
-// the special case(s) of the recording feature bellow.
-const _PADDING = BoxModel.padding * 1.5;
-
export const DROPBOX_LOGO = require('../../../../../images/dropboxLogo_square.png');
-
export const ICON_SHARE = require('../../../../../images/icon-users.png');
-
export const JITSI_LOGO = require('../../../../../images/jitsiLogo_square.png');
+// XXX The "standard" {@code BoxModel.padding} has been deemed insufficient in
+// the special case(s) of the recording feature bellow.
+const _PADDING = BoxModel.padding * 1.5;
+
/**
* Color schemed styles for the @{code StartRecordingDialogContent} component.
*/
diff --git a/react/features/recording/components/Recording/web/RecordButton.js b/react/features/recording/components/Recording/web/RecordButton.js
index 3fb8de6181..a184957b2e 100644
--- a/react/features/recording/components/Recording/web/RecordButton.js
+++ b/react/features/recording/components/Recording/web/RecordButton.js
@@ -3,7 +3,6 @@
import { translate } from '../../../../base/i18n';
import { IconToggleRecording } from '../../../../base/icons';
import { connect } from '../../../../base/redux';
-
import AbstractRecordButton, {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
diff --git a/react/features/recording/components/Recording/web/StartRecordingDialog.js b/react/features/recording/components/Recording/web/StartRecordingDialog.js
index b8453572b7..b762a6e6af 100644
--- a/react/features/recording/components/Recording/web/StartRecordingDialog.js
+++ b/react/features/recording/components/Recording/web/StartRecordingDialog.js
@@ -2,10 +2,9 @@
import React from 'react';
-import { translate } from '../../../../base/i18n';
import { Dialog } from '../../../../base/dialog';
+import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStartRecordingDialog, {
mapStateToProps
} from '../AbstractStartRecordingDialog';
diff --git a/react/features/recording/components/Recording/web/StopRecordingDialog.js b/react/features/recording/components/Recording/web/StopRecordingDialog.js
index 6957f303ea..20a3647ff6 100644
--- a/react/features/recording/components/Recording/web/StopRecordingDialog.js
+++ b/react/features/recording/components/Recording/web/StopRecordingDialog.js
@@ -2,10 +2,9 @@
import React from 'react';
-import { translate } from '../../../../base/i18n';
import { Dialog } from '../../../../base/dialog';
+import { translate } from '../../../../base/i18n';
import { connect } from '../../../../base/redux';
-
import AbstractStopRecordingDialog, {
type Props,
_mapStateToProps
diff --git a/react/features/recording/components/native/RecordingExpandedLabel.js b/react/features/recording/components/native/RecordingExpandedLabel.js
index b14849c246..54f46cf469 100644
--- a/react/features/recording/components/native/RecordingExpandedLabel.js
+++ b/react/features/recording/components/native/RecordingExpandedLabel.js
@@ -1,13 +1,12 @@
// @flow
import { translate } from '../../../base/i18n';
-import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import {
ExpandedLabel,
type Props as AbstractProps
} from '../../../base/label';
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import { connect } from '../../../base/redux';
-
import { getSessionStatusToShow } from '../../functions';
import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';
diff --git a/react/features/recording/components/native/RecordingLabel.js b/react/features/recording/components/native/RecordingLabel.js
index 89bebd3f0c..68672ad0e9 100644
--- a/react/features/recording/components/native/RecordingLabel.js
+++ b/react/features/recording/components/native/RecordingLabel.js
@@ -6,7 +6,6 @@ import { translate } from '../../../base/i18n';
import { CircularLabel } from '../../../base/label';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import { connect } from '../../../base/redux';
-
import AbstractRecordingLabel, {
_mapStateToProps
} from '../AbstractRecordingLabel';
diff --git a/react/features/recording/components/web/RecordingLabel.js b/react/features/recording/components/web/RecordingLabel.js
index 9378d87c87..362da391cc 100644
--- a/react/features/recording/components/web/RecordingLabel.js
+++ b/react/features/recording/components/web/RecordingLabel.js
@@ -2,11 +2,10 @@
import React from 'react';
+import { translate } from '../../../base/i18n';
import { CircularLabel } from '../../../base/label';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
-import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractRecordingLabel, {
_mapStateToProps
} from '../AbstractRecordingLabel';
diff --git a/react/features/recording/middleware.js b/react/features/recording/middleware.js
index 2ab53300ed..c680c33643 100644
--- a/react/features/recording/middleware.js
+++ b/react/features/recording/middleware.js
@@ -20,6 +20,7 @@ import {
unregisterSound
} from '../base/sounds';
+import { RECORDING_SESSION_UPDATED } from './actionTypes';
import {
clearRecordingSessions,
hidePendingRecordingNotification,
@@ -29,7 +30,6 @@ import {
showStoppedRecordingNotification,
updateRecordingSessionData
} from './actions';
-import { RECORDING_SESSION_UPDATED } from './actionTypes';
import {
LIVE_STREAMING_OFF_SOUND_ID,
LIVE_STREAMING_ON_SOUND_ID,
diff --git a/react/features/recording/reducer.js b/react/features/recording/reducer.js
index 486036c758..71bd3aa31b 100644
--- a/react/features/recording/reducer.js
+++ b/react/features/recording/reducer.js
@@ -1,4 +1,5 @@
import { ReducerRegistry } from '../base/redux';
+
import {
CLEAR_RECORDING_SESSIONS,
RECORDING_SESSION_UPDATED,
diff --git a/react/features/rejoin/middleware.js b/react/features/rejoin/middleware.js
index fb8158ae27..4a64940ada 100644
--- a/react/features/rejoin/middleware.js
+++ b/react/features/rejoin/middleware.js
@@ -1,5 +1,4 @@
import { createRejoinedEvent, sendAnalytics } from '../analytics';
-
import { StateListenerRegistry } from '../base/redux';
StateListenerRegistry.register(
diff --git a/react/features/remote-video-menu/actions.js b/react/features/remote-video-menu/actions.js
index 736780f8b5..8594c0db12 100644
--- a/react/features/remote-video-menu/actions.js
+++ b/react/features/remote-video-menu/actions.js
@@ -1,6 +1,7 @@
// @flow
import type { Dispatch } from 'redux';
+import UIEvents from '../../../service/UI/UIEvents';
import {
AUDIO_MUTE,
createRemoteMuteConfirmedEvent,
@@ -8,12 +9,11 @@ import {
sendAnalytics
} from '../analytics';
import { hideDialog } from '../base/dialog';
+import { setAudioMuted } from '../base/media';
import {
getLocalParticipant,
muteRemoteParticipant
} from '../base/participants';
-import { setAudioMuted } from '../base/media';
-import UIEvents from '../../../service/UI/UIEvents';
import { RemoteVideoMenu } from './components';
diff --git a/react/features/remote-video-menu/components/native/KickButton.js b/react/features/remote-video-menu/components/native/KickButton.js
index ec73b14b35..6c72287a48 100644
--- a/react/features/remote-video-menu/components/native/KickButton.js
+++ b/react/features/remote-video-menu/components/native/KickButton.js
@@ -3,7 +3,6 @@
import { translate } from '../../../base/i18n';
import { isLocalParticipantModerator } from '../../../base/participants';
import { connect } from '../../../base/redux';
-
import AbstractKickButton from '../AbstractKickButton';
/**
diff --git a/react/features/remote-video-menu/components/native/KickRemoteParticipantDialog.js b/react/features/remote-video-menu/components/native/KickRemoteParticipantDialog.js
index a3de7fd14f..65a88ce525 100644
--- a/react/features/remote-video-menu/components/native/KickRemoteParticipantDialog.js
+++ b/react/features/remote-video-menu/components/native/KickRemoteParticipantDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { ConfirmDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractKickRemoteParticipantDialog
from '../AbstractKickRemoteParticipantDialog';
diff --git a/react/features/remote-video-menu/components/native/MuteButton.js b/react/features/remote-video-menu/components/native/MuteButton.js
index 3215f8efa3..bebd7ebfa8 100644
--- a/react/features/remote-video-menu/components/native/MuteButton.js
+++ b/react/features/remote-video-menu/components/native/MuteButton.js
@@ -3,7 +3,6 @@
import { translate } from '../../../base/i18n';
import { isLocalParticipantModerator } from '../../../base/participants';
import { connect } from '../../../base/redux';
-
import AbstractMuteButton, { _mapStateToProps as _abstractMapStateToProps } from '../AbstractMuteButton';
/**
diff --git a/react/features/remote-video-menu/components/native/MuteRemoteParticipantDialog.js b/react/features/remote-video-menu/components/native/MuteRemoteParticipantDialog.js
index 297446f19a..727dc857c3 100644
--- a/react/features/remote-video-menu/components/native/MuteRemoteParticipantDialog.js
+++ b/react/features/remote-video-menu/components/native/MuteRemoteParticipantDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { ConfirmDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractMuteRemoteParticipantDialog
from '../AbstractMuteRemoteParticipantDialog';
diff --git a/react/features/remote-video-menu/components/native/RemoteVideoMenu.js b/react/features/remote-video-menu/components/native/RemoteVideoMenu.js
index 1745d4bd95..1fe8da96cd 100644
--- a/react/features/remote-video-menu/components/native/RemoteVideoMenu.js
+++ b/react/features/remote-video-menu/components/native/RemoteVideoMenu.js
@@ -10,7 +10,6 @@ import { getParticipantDisplayName } from '../../../base/participants';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
import { PrivateMessageButton } from '../../../chat';
-
import { hideRemoteVideoMenu } from '../../actions';
import KickButton from './KickButton';
diff --git a/react/features/remote-video-menu/components/web/KickButton.js b/react/features/remote-video-menu/components/web/KickButton.js
index 12272e48ca..eeae2d6ec2 100644
--- a/react/features/remote-video-menu/components/web/KickButton.js
+++ b/react/features/remote-video-menu/components/web/KickButton.js
@@ -5,7 +5,6 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { IconKick } from '../../../base/icons';
import { connect } from '../../../base/redux';
-
import AbstractKickButton, {
type Props
} from '../AbstractKickButton';
diff --git a/react/features/remote-video-menu/components/web/KickRemoteParticipantDialog.js b/react/features/remote-video-menu/components/web/KickRemoteParticipantDialog.js
index 0b4be4fbf4..8b053b4f4d 100644
--- a/react/features/remote-video-menu/components/web/KickRemoteParticipantDialog.js
+++ b/react/features/remote-video-menu/components/web/KickRemoteParticipantDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { Dialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractKickRemoteParticipantDialog
from '../AbstractKickRemoteParticipantDialog';
diff --git a/react/features/remote-video-menu/components/web/MuteButton.js b/react/features/remote-video-menu/components/web/MuteButton.js
index 45e8b0c1df..40c9694c01 100644
--- a/react/features/remote-video-menu/components/web/MuteButton.js
+++ b/react/features/remote-video-menu/components/web/MuteButton.js
@@ -5,7 +5,6 @@ import React from 'react';
import { translate } from '../../../base/i18n';
import { IconMicDisabled } from '../../../base/icons';
import { connect } from '../../../base/redux';
-
import AbstractMuteButton, {
_mapStateToProps,
type Props
diff --git a/react/features/remote-video-menu/components/web/MuteEveryoneDialog.js b/react/features/remote-video-menu/components/web/MuteEveryoneDialog.js
index 39ff9186e2..fe729bc1bf 100644
--- a/react/features/remote-video-menu/components/web/MuteEveryoneDialog.js
+++ b/react/features/remote-video-menu/components/web/MuteEveryoneDialog.js
@@ -5,11 +5,10 @@ import React from 'react';
import { Dialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
+import { muteAllParticipants } from '../../actions';
import AbstractMuteRemoteParticipantDialog, {
type Props as AbstractProps
} from '../AbstractMuteRemoteParticipantDialog';
-import { muteAllParticipants } from '../../actions';
declare var APP: Object;
diff --git a/react/features/remote-video-menu/components/web/MuteEveryoneElseButton.js b/react/features/remote-video-menu/components/web/MuteEveryoneElseButton.js
index 08a3283c58..723c5e062e 100644
--- a/react/features/remote-video-menu/components/web/MuteEveryoneElseButton.js
+++ b/react/features/remote-video-menu/components/web/MuteEveryoneElseButton.js
@@ -7,11 +7,11 @@ import { openDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { IconMuteEveryoneElse } from '../../../base/icons';
import { connect } from '../../../base/redux';
-
import AbstractMuteButton, {
_mapStateToProps,
type Props
} from '../AbstractMuteButton';
+
import MuteEveryoneDialog from './MuteEveryoneDialog';
import RemoteVideoMenuButton from './RemoteVideoMenuButton';
diff --git a/react/features/remote-video-menu/components/web/MuteRemoteParticipantDialog.js b/react/features/remote-video-menu/components/web/MuteRemoteParticipantDialog.js
index 15b89ecbff..e1aef92ea4 100644
--- a/react/features/remote-video-menu/components/web/MuteRemoteParticipantDialog.js
+++ b/react/features/remote-video-menu/components/web/MuteRemoteParticipantDialog.js
@@ -5,7 +5,6 @@ import React from 'react';
import { Dialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
-
import AbstractMuteRemoteParticipantDialog
from '../AbstractMuteRemoteParticipantDialog';
diff --git a/react/features/room-lock/actions.js b/react/features/room-lock/actions.js
index aaa55f694f..a3cd588661 100644
--- a/react/features/room-lock/actions.js
+++ b/react/features/room-lock/actions.js
@@ -12,6 +12,7 @@ import {
setPassword
} from '../base/conference';
import { hideDialog, openDialog } from '../base/dialog';
+
import { PasswordRequiredPrompt, RoomLockPrompt } from './components';
declare var APP: Object;
diff --git a/react/features/room-lock/components/PasswordRequiredPrompt.native.js b/react/features/room-lock/components/PasswordRequiredPrompt.native.js
index 5aa419fda4..5946b1b3c4 100644
--- a/react/features/room-lock/components/PasswordRequiredPrompt.native.js
+++ b/react/features/room-lock/components/PasswordRequiredPrompt.native.js
@@ -6,7 +6,6 @@ import type { Dispatch } from 'redux';
import { setPassword } from '../../base/conference';
import { InputDialog } from '../../base/dialog';
import { connect } from '../../base/redux';
-
import { _cancelPasswordRequiredPrompt } from '../actions';
/**
diff --git a/react/features/room-lock/components/PasswordRequiredPrompt.web.js b/react/features/room-lock/components/PasswordRequiredPrompt.web.js
index 0d5d5e6cfb..31f8782692 100644
--- a/react/features/room-lock/components/PasswordRequiredPrompt.web.js
+++ b/react/features/room-lock/components/PasswordRequiredPrompt.web.js
@@ -8,7 +8,6 @@ import { setPassword } from '../../base/conference';
import { Dialog } from '../../base/dialog';
import { translate } from '../../base/i18n';
import { connect } from '../../base/redux';
-
import { _cancelPasswordRequiredPrompt } from '../actions';
/**
diff --git a/react/features/room-lock/components/RoomLockButton.js b/react/features/room-lock/components/RoomLockButton.js
index 6afd5a0078..ce092de184 100644
--- a/react/features/room-lock/components/RoomLockButton.js
+++ b/react/features/room-lock/components/RoomLockButton.js
@@ -7,7 +7,6 @@ import { isLocalParticipantModerator } from '../../base/participants';
import { connect } from '../../base/redux';
import { AbstractButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
-
import { beginRoomLockRequest, unlockRoom } from '../actions';
type Props = AbstractButtonProps & {
diff --git a/react/features/room-lock/components/RoomLockPrompt.native.js b/react/features/room-lock/components/RoomLockPrompt.native.js
index a369c68839..fb5f91a8f2 100644
--- a/react/features/room-lock/components/RoomLockPrompt.native.js
+++ b/react/features/room-lock/components/RoomLockPrompt.native.js
@@ -5,7 +5,6 @@ import type { Dispatch } from 'redux';
import { InputDialog } from '../../base/dialog';
import { connect } from '../../base/redux';
-
import { endRoomLockRequest } from '../actions';
/**
diff --git a/react/features/room-lock/middleware.js b/react/features/room-lock/middleware.js
index 47ab2d53f7..d9c42ea067 100644
--- a/react/features/room-lock/middleware.js
+++ b/react/features/room-lock/middleware.js
@@ -1,5 +1,6 @@
// @flow
+import UIEvents from '../../../service/UI/UIEvents';
import {
CONFERENCE_FAILED,
CONFERENCE_JOINED,
@@ -13,7 +14,6 @@ import {
NOTIFICATION_TIMEOUT,
showNotification
} from '../notifications';
-import UIEvents from '../../../service/UI/UIEvents';
import { _openPasswordRequiredPrompt } from './actions';
import { PasswordRequiredPrompt, RoomLockPrompt } from './components';
diff --git a/react/features/screenshot-capture/actions.js b/react/features/screenshot-capture/actions.js
index 211f182a7e..dfd557e5ed 100644
--- a/react/features/screenshot-capture/actions.js
+++ b/react/features/screenshot-capture/actions.js
@@ -1,9 +1,10 @@
// @flow
-import { createScreenshotCaptureEffect } from '../stream-effects/screenshot-capture';
import { getLocalVideoTrack } from '../../features/base/tracks';
-import logger from './logger';
+import { createScreenshotCaptureEffect } from '../stream-effects/screenshot-capture';
+
import { SET_SCREENSHOT_CAPTURE } from './actionTypes';
+import logger from './logger';
let ongoingEffect;
diff --git a/react/features/security/actions.js b/react/features/security/actions.js
index 00949d2fb2..0efccde32d 100644
--- a/react/features/security/actions.js
+++ b/react/features/security/actions.js
@@ -1,6 +1,7 @@
// @flow
import { openDialog } from '../base/dialog';
+
import { SecurityDialog } from './components/security-dialog';
/**
diff --git a/react/features/security/components/security-dialog/SecurityDialogButton.js b/react/features/security/components/security-dialog/SecurityDialogButton.js
index 3078029702..ad888c7cea 100644
--- a/react/features/security/components/security-dialog/SecurityDialogButton.js
+++ b/react/features/security/components/security-dialog/SecurityDialogButton.js
@@ -5,7 +5,6 @@ import { translate } from '../../../base/i18n';
import { IconLockPassword, IconUnlockPassword } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
-
import { openSecurityDialog } from '../../actions';
diff --git a/react/features/settings/components/native/SettingsView.js b/react/features/settings/components/native/SettingsView.js
index 95b30a0910..cfa8fedf72 100644
--- a/react/features/settings/components/native/SettingsView.js
+++ b/react/features/settings/components/native/SettingsView.js
@@ -6,10 +6,8 @@ import { Alert, NativeModules, ScrollView, Switch, Text, TextInput } from 'react
import { translate } from '../../../base/i18n';
import { JitsiModal } from '../../../base/modal';
import { connect } from '../../../base/redux';
-
import { SETTINGS_VIEW_ID } from '../../constants';
import { normalizeUserInputURL } from '../../functions';
-
import {
AbstractSettingsView,
_mapStateToProps as _abstractMapStateToProps,
diff --git a/react/features/settings/components/web/CalendarTab.js b/react/features/settings/components/web/CalendarTab.js
index 4934a07c91..8b20728ee9 100644
--- a/react/features/settings/components/web/CalendarTab.js
+++ b/react/features/settings/components/web/CalendarTab.js
@@ -15,7 +15,6 @@ import {
signIn
} from '../../../calendar-sync';
import { GoogleSignInButton } from '../../../google-api';
-
import logger from '../../logger';
declare var interfaceConfig: Object;
diff --git a/react/features/settings/components/web/DeviceSelectionPopup.js b/react/features/settings/components/web/DeviceSelectionPopup.js
index 1c6ce2756b..c2927dd4e2 100644
--- a/react/features/settings/components/web/DeviceSelectionPopup.js
+++ b/react/features/settings/components/web/DeviceSelectionPopup.js
@@ -5,10 +5,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next';
-import {
- PostMessageTransportBackend,
- Transport
-} from '../../../../../modules/transport';
import {
getAvailableDevices,
getCurrentDevices,
@@ -19,7 +15,10 @@ import {
setAudioOutputDevice,
setVideoInputDevice
} from '../../../../../modules/API/external/functions';
-
+import {
+ PostMessageTransportBackend,
+ Transport
+} from '../../../../../modules/transport';
import DialogWithTabs from '../../../base/dialog/components/web/DialogWithTabs';
import { parseURLParams } from '../../../base/util/parseURLParams';
import DeviceSelection from '../../../device-selection/components/DeviceSelection';
diff --git a/react/features/settings/components/web/ProfileTab.js b/react/features/settings/components/web/ProfileTab.js
index 2df74dd23f..af30d1de13 100644
--- a/react/features/settings/components/web/ProfileTab.js
+++ b/react/features/settings/components/web/ProfileTab.js
@@ -4,14 +4,14 @@ import Button from '@atlaskit/button';
import { FieldTextStateless } from '@atlaskit/field-text';
import React from 'react';
-import { AbstractDialogTab } from '../../../base/dialog';
-import type { Props as AbstractDialogTabProps } from '../../../base/dialog';
-import { translate } from '../../../base/i18n';
import UIEvents from '../../../../../service/UI/UIEvents';
import {
sendAnalytics,
createProfilePanelButtonEvent
} from '../../../analytics';
+import { AbstractDialogTab } from '../../../base/dialog';
+import type { Props as AbstractDialogTabProps } from '../../../base/dialog';
+import { translate } from '../../../base/i18n';
declare var APP: Object;
diff --git a/react/features/settings/components/web/SettingsButton.js b/react/features/settings/components/web/SettingsButton.js
index e8be346574..f7791799ef 100644
--- a/react/features/settings/components/web/SettingsButton.js
+++ b/react/features/settings/components/web/SettingsButton.js
@@ -7,7 +7,6 @@ import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { openDeviceSelectionPopup } from '../../../device-selection';
-
import { openSettingsDialog } from '../../actions';
import { SETTINGS_TABS } from '../../constants';
diff --git a/react/features/settings/components/web/SettingsDialog.js b/react/features/settings/components/web/SettingsDialog.js
index ea2d7de11b..7a0633dbdc 100644
--- a/react/features/settings/components/web/SettingsDialog.js
+++ b/react/features/settings/components/web/SettingsDialog.js
@@ -11,13 +11,13 @@ import {
getDeviceSelectionDialogProps,
submitDeviceSelectionTab
} from '../../../device-selection';
+import { submitMoreTab, submitProfileTab } from '../../actions';
+import { SETTINGS_TABS } from '../../constants';
+import { getMoreTabProps, getProfileTabProps } from '../../functions';
import CalendarTab from './CalendarTab';
import MoreTab from './MoreTab';
import ProfileTab from './ProfileTab';
-import { getMoreTabProps, getProfileTabProps } from '../../functions';
-import { submitMoreTab, submitProfileTab } from '../../actions';
-import { SETTINGS_TABS } from '../../constants';
declare var APP: Object;
declare var interfaceConfig: Object;
diff --git a/react/features/settings/components/web/audio/AudioSettingsContent.js b/react/features/settings/components/web/audio/AudioSettingsContent.js
index cf2783ba02..ac1d4bde7c 100644
--- a/react/features/settings/components/web/audio/AudioSettingsContent.js
+++ b/react/features/settings/components/web/audio/AudioSettingsContent.js
@@ -2,10 +2,11 @@
import React, { Component } from 'react';
-import AudioSettingsHeader from './AudioSettingsHeader';
import { translate } from '../../../../base/i18n';
import { IconMicrophoneEmpty, IconVolumeEmpty } from '../../../../base/icons';
import { createLocalAudioTrack } from '../../../functions';
+
+import AudioSettingsHeader from './AudioSettingsHeader';
import MicrophoneEntry from './MicrophoneEntry';
import SpeakerEntry from './SpeakerEntry';
diff --git a/react/features/settings/components/web/audio/AudioSettingsHeader.js b/react/features/settings/components/web/audio/AudioSettingsHeader.js
index 7119e7ed1d..27abf4f7aa 100644
--- a/react/features/settings/components/web/audio/AudioSettingsHeader.js
+++ b/react/features/settings/components/web/audio/AudioSettingsHeader.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Icon } from '../../../../base/icons';
/**
diff --git a/react/features/settings/components/web/audio/AudioSettingsPopup.js b/react/features/settings/components/web/audio/AudioSettingsPopup.js
index af15a86608..52aae7d7ce 100644
--- a/react/features/settings/components/web/audio/AudioSettingsPopup.js
+++ b/react/features/settings/components/web/audio/AudioSettingsPopup.js
@@ -1,10 +1,8 @@
// @flow
-import React from 'react';
import InlineDialog from '@atlaskit/inline-dialog';
+import React from 'react';
-import AudioSettingsContent, { type Props as AudioSettingsContentProps } from './AudioSettingsContent';
-import { toggleAudioSettings } from '../../../actions';
import {
getAudioInputDeviceData,
getAudioOutputDeviceData,
@@ -12,11 +10,14 @@ import {
setAudioOutputDevice as setAudioOutputDeviceAction
} from '../../../../base/devices';
import { connect } from '../../../../base/redux';
-import { getAudioSettingsVisibility } from '../../../functions';
import {
getCurrentMicDeviceId,
getCurrentOutputDeviceId
} from '../../../../base/settings';
+import { toggleAudioSettings } from '../../../actions';
+import { getAudioSettingsVisibility } from '../../../functions';
+
+import AudioSettingsContent, { type Props as AudioSettingsContentProps } from './AudioSettingsContent';
type Props = AudioSettingsContentProps & {
diff --git a/react/features/settings/components/web/audio/Meter.js b/react/features/settings/components/web/audio/Meter.js
index e9ba0e5c82..77ed81db19 100644
--- a/react/features/settings/components/web/audio/Meter.js
+++ b/react/features/settings/components/web/audio/Meter.js
@@ -1,6 +1,7 @@
// @flow
import React from 'react';
+
import { Icon, IconMeter } from '../../../../base/icons';
type Props = {
diff --git a/react/features/settings/components/web/audio/MicrophoneEntry.js b/react/features/settings/components/web/audio/MicrophoneEntry.js
index 56b6891319..180bab975a 100644
--- a/react/features/settings/components/web/audio/MicrophoneEntry.js
+++ b/react/features/settings/components/web/audio/MicrophoneEntry.js
@@ -2,8 +2,9 @@
import React, { Component } from 'react';
-import AudioSettingsEntry, { type Props as AudioSettingsEntryProps } from './AudioSettingsEntry';
import JitsiMeetJS from '../../../../base/lib-jitsi-meet/_';
+
+import AudioSettingsEntry, { type Props as AudioSettingsEntryProps } from './AudioSettingsEntry';
import Meter from './Meter';
const JitsiTrackEvents = JitsiMeetJS.events.track;
diff --git a/react/features/settings/components/web/audio/SpeakerEntry.js b/react/features/settings/components/web/audio/SpeakerEntry.js
index e4fe381777..5a3da57e32 100644
--- a/react/features/settings/components/web/audio/SpeakerEntry.js
+++ b/react/features/settings/components/web/audio/SpeakerEntry.js
@@ -2,8 +2,9 @@
import React, { Component } from 'react';
-import AudioSettingsEntry from './AudioSettingsEntry';
import logger from '../../../logger';
+
+import AudioSettingsEntry from './AudioSettingsEntry';
import TestButton from './TestButton';
const TEST_SOUND_PATH = 'sounds/ring.wav';
diff --git a/react/features/settings/components/web/video/VideoSettingsContent.js b/react/features/settings/components/web/video/VideoSettingsContent.js
index 7a0c542542..c188a2fb7a 100644
--- a/react/features/settings/components/web/video/VideoSettingsContent.js
+++ b/react/features/settings/components/web/video/VideoSettingsContent.js
@@ -3,8 +3,8 @@
import React, { Component } from 'react';
import { translate } from '../../../../base/i18n';
-import { equals } from '../../../../base/redux';
import Video from '../../../../base/media/components/Video';
+import { equals } from '../../../../base/redux';
import { createLocalVideoTracks } from '../../../functions';
diff --git a/react/features/settings/components/web/video/VideoSettingsPopup.js b/react/features/settings/components/web/video/VideoSettingsPopup.js
index b891f6a535..c3b2830aa0 100644
--- a/react/features/settings/components/web/video/VideoSettingsPopup.js
+++ b/react/features/settings/components/web/video/VideoSettingsPopup.js
@@ -1,16 +1,17 @@
// @flow
-import React from 'react';
import InlineDialog from '@atlaskit/inline-dialog';
+import React from 'react';
-import { toggleVideoSettings } from '../../../actions';
import {
getVideoDeviceIds,
setVideoInputDeviceAndUpdateSettings
} from '../../../../base/devices';
-import { getVideoSettingsVisibility } from '../../../functions';
import { connect } from '../../../../base/redux';
import { getCurrentCameraDeviceId } from '../../../../base/settings';
+import { toggleVideoSettings } from '../../../actions';
+import { getVideoSettingsVisibility } from '../../../functions';
+
import VideoSettingsContent, { type Props as VideoSettingsProps } from './VideoSettingsContent';
diff --git a/react/features/settings/functions.js b/react/features/settings/functions.js
index 4bd3a66af3..4dfd58e245 100644
--- a/react/features/settings/functions.js
+++ b/react/features/settings/functions.js
@@ -1,12 +1,12 @@
// @flow
-import { toState } from '../base/redux';
-import { parseStandardURIString } from '../base/util';
import { i18next, DEFAULT_LANGUAGE, LANGUAGES } from '../base/i18n';
import { createLocalTrack } from '../base/lib-jitsi-meet/functions';
import {
getLocalParticipant,
isLocalParticipantModerator
} from '../base/participants';
+import { toState } from '../base/redux';
+import { parseStandardURIString } from '../base/util';
import { isFollowMeActive } from '../follow-me';
declare var interfaceConfig: Object;
diff --git a/react/features/share-room/middleware.js b/react/features/share-room/middleware.js
index 09c27eb516..3763ca0095 100644
--- a/react/features/share-room/middleware.js
+++ b/react/features/share-room/middleware.js
@@ -6,8 +6,8 @@ import { getName } from '../app';
import { MiddlewareRegistry } from '../base/redux';
import { getShareInfoText } from '../invite';
-import { endShareRoom } from './actions';
import { BEGIN_SHARE_ROOM } from './actionTypes';
+import { endShareRoom } from './actions';
import logger from './logger';
/**
diff --git a/react/features/shared-video/middleware.js b/react/features/shared-video/middleware.js
index 74669ceb5e..76f83350ef 100644
--- a/react/features/shared-video/middleware.js
+++ b/react/features/shared-video/middleware.js
@@ -1,7 +1,6 @@
// @flow
import UIEvents from '../../../service/UI/UIEvents';
-
import { MiddlewareRegistry } from '../base/redux';
import { TOGGLE_SHARED_VIDEO } from './actionTypes';
diff --git a/react/features/stream-effects/blur/JitsiStreamBlurEffect.js b/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
index 105d541fb7..e432a3f81f 100644
--- a/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
+++ b/react/features/stream-effects/blur/JitsiStreamBlurEffect.js
@@ -1,6 +1,7 @@
// @flow
import * as bodyPix from '@tensorflow-models/body-pix';
+
import {
CLEAR_INTERVAL,
INTERVAL_TIMEOUT,
diff --git a/react/features/stream-effects/blur/index.js b/react/features/stream-effects/blur/index.js
index 0f0f8a26d5..62a4f0b791 100644
--- a/react/features/stream-effects/blur/index.js
+++ b/react/features/stream-effects/blur/index.js
@@ -1,6 +1,7 @@
// @flow
import * as bodyPix from '@tensorflow-models/body-pix';
+
import JitsiStreamBlurEffect from './JitsiStreamBlurEffect';
/**
diff --git a/react/features/stream-effects/rnnoise/index.js b/react/features/stream-effects/rnnoise/index.js
index 23fadefa4b..33e69652c0 100644
--- a/react/features/stream-effects/rnnoise/index.js
+++ b/react/features/stream-effects/rnnoise/index.js
@@ -3,6 +3,7 @@
// Script expects to find rnnoise webassembly binary in the same public path root, otherwise it won't load
// During the build phase this needs to be taken care of manually
import rnnoiseWasmInit from 'rnnoise-wasm';
+
import RnnoiseProcessor from './RnnoiseProcessor';
export { RNNOISE_SAMPLE_LENGTH } from './RnnoiseProcessor';
diff --git a/react/features/stream-effects/screenshot-capture/ScreenshotCaptureEffect.js b/react/features/stream-effects/screenshot-capture/ScreenshotCaptureEffect.js
index 021100cb0e..dbf84201e5 100644
--- a/react/features/stream-effects/screenshot-capture/ScreenshotCaptureEffect.js
+++ b/react/features/stream-effects/screenshot-capture/ScreenshotCaptureEffect.js
@@ -2,6 +2,8 @@
import pixelmatch from 'pixelmatch';
+import { getCurrentConference } from '../../base/conference';
+
import {
CLEAR_INTERVAL,
INTERVAL_TIMEOUT,
@@ -9,8 +11,6 @@ import {
POLL_INTERVAL,
SET_INTERVAL
} from './constants';
-
-import { getCurrentConference } from '../../base/conference';
import { processScreenshot } from './processScreenshot';
import { timerWorkerScript } from './worker';
diff --git a/react/features/stream-effects/screenshot-capture/index.js b/react/features/stream-effects/screenshot-capture/index.js
index 430a6fa837..fc88ad1448 100644
--- a/react/features/stream-effects/screenshot-capture/index.js
+++ b/react/features/stream-effects/screenshot-capture/index.js
@@ -1,8 +1,9 @@
// @flow
-import ScreenshotCaptureEffect from './ScreenshotCaptureEffect';
import { toState } from '../../base/redux';
+import ScreenshotCaptureEffect from './ScreenshotCaptureEffect';
+
/**
* Creates a new instance of ScreenshotCaptureEffect.
*
diff --git a/react/features/subtitles/components/AbstractClosedCaptionButton.js b/react/features/subtitles/components/AbstractClosedCaptionButton.js
index e57af21808..cd197acf78 100644
--- a/react/features/subtitles/components/AbstractClosedCaptionButton.js
+++ b/react/features/subtitles/components/AbstractClosedCaptionButton.js
@@ -2,7 +2,6 @@
import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
-
import { toggleRequestingSubtitles } from '../actions';
export type AbstractProps = AbstractButtonProps & {
diff --git a/react/features/subtitles/middleware.js b/react/features/subtitles/middleware.js
index 30198de5d8..e5a80b11fa 100644
--- a/react/features/subtitles/middleware.js
+++ b/react/features/subtitles/middleware.js
@@ -2,14 +2,14 @@
import { MiddlewareRegistry } from '../base/redux';
-import {
- removeTranscriptMessage,
- updateTranscriptMessage
-} from './actions';
import {
ENDPOINT_MESSAGE_RECEIVED,
TOGGLE_REQUESTING_SUBTITLES
} from './actionTypes';
+import {
+ removeTranscriptMessage,
+ updateTranscriptMessage
+} from './actions';
import logger from './logger';
/**
diff --git a/react/features/toolbox/actions.web.js b/react/features/toolbox/actions.web.js
index 583726b528..3e6deaea3b 100644
--- a/react/features/toolbox/actions.web.js
+++ b/react/features/toolbox/actions.web.js
@@ -2,16 +2,16 @@
import type { Dispatch } from 'redux';
+import {
+ FULL_SCREEN_CHANGED,
+ SET_FULL_SCREEN
+} from './actionTypes';
import {
clearToolboxTimeout,
setToolboxTimeout,
setToolboxTimeoutMS,
setToolboxVisible
} from './actions.native';
-import {
- FULL_SCREEN_CHANGED,
- SET_FULL_SCREEN
-} from './actionTypes';
declare var interfaceConfig: Object;
diff --git a/react/features/toolbox/components/DownloadButton.js b/react/features/toolbox/components/DownloadButton.js
index 67dba5badd..71c66c7619 100644
--- a/react/features/toolbox/components/DownloadButton.js
+++ b/react/features/toolbox/components/DownloadButton.js
@@ -4,8 +4,8 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { translate } from '../../base/i18n';
import { IconDownload } from '../../base/icons';
import { connect } from '../../base/redux';
-import { openURLInBrowser } from '../../base/util';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
+import { openURLInBrowser } from '../../base/util';
type Props = AbstractButtonProps & {
diff --git a/react/features/toolbox/components/HelpButton.js b/react/features/toolbox/components/HelpButton.js
index cf42dbdc2d..a23afcc59d 100644
--- a/react/features/toolbox/components/HelpButton.js
+++ b/react/features/toolbox/components/HelpButton.js
@@ -4,8 +4,8 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { translate } from '../../base/i18n';
import { IconHelp } from '../../base/icons';
import { connect } from '../../base/redux';
-import { openURLInBrowser } from '../../base/util';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
+import { openURLInBrowser } from '../../base/util';
type Props = AbstractButtonProps & {
diff --git a/react/features/toolbox/components/VideoMuteButton.js b/react/features/toolbox/components/VideoMuteButton.js
index ccc26b74ff..e6b33fa09b 100644
--- a/react/features/toolbox/components/VideoMuteButton.js
+++ b/react/features/toolbox/components/VideoMuteButton.js
@@ -1,5 +1,6 @@
// @flow
+import UIEvents from '../../../../service/UI/UIEvents';
import {
ACTION_SHORTCUT_TRIGGERED,
VIDEO_MUTE,
@@ -22,7 +23,6 @@ import {
isPrejoinVideoDisabled,
isPrejoinVideoMuted
} from '../../prejoin/functions';
-import UIEvents from '../../../../service/UI/UIEvents';
declare var APP: Object;
diff --git a/react/features/toolbox/components/native/OverflowMenu.js b/react/features/toolbox/components/native/OverflowMenu.js
index a2442d171a..27ebd127b4 100644
--- a/react/features/toolbox/components/native/OverflowMenu.js
+++ b/react/features/toolbox/components/native/OverflowMenu.js
@@ -16,7 +16,6 @@ import { LiveStreamButton, RecordButton } from '../../../recording';
import { RoomLockButton } from '../../../room-lock';
import { ClosedCaptionButton } from '../../../subtitles';
import { TileViewButton } from '../../../video-layout';
-
import HelpButton from '../HelpButton';
import AudioOnlyButton from './AudioOnlyButton';
diff --git a/react/features/toolbox/components/native/RaiseHandButton.js b/react/features/toolbox/components/native/RaiseHandButton.js
index 7e3fd85b78..b6bc11030b 100644
--- a/react/features/toolbox/components/native/RaiseHandButton.js
+++ b/react/features/toolbox/components/native/RaiseHandButton.js
@@ -6,6 +6,7 @@ import {
createToolbarEvent,
sendAnalytics
} from '../../../analytics';
+import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags';
import { translate } from '../../../base/i18n';
import { IconRaisedHand } from '../../../base/icons';
import {
@@ -15,7 +16,6 @@ import {
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
-import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags';
/**
* The type of the React {@code Component} props of {@link RaiseHandButton}.
diff --git a/react/features/toolbox/components/native/Toolbox.js b/react/features/toolbox/components/native/Toolbox.js
index c688df37f2..40b13d656b 100644
--- a/react/features/toolbox/components/native/Toolbox.js
+++ b/react/features/toolbox/components/native/Toolbox.js
@@ -8,15 +8,13 @@ import { Container } from '../../../base/react';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
import { ChatButton } from '../../../chat';
-
import { isToolboxVisible } from '../../functions';
-
import AudioMuteButton from '../AudioMuteButton';
import HangupButton from '../HangupButton';
+import VideoMuteButton from '../VideoMuteButton';
import OverflowMenuButton from './OverflowMenuButton';
import styles from './styles';
-import VideoMuteButton from '../VideoMuteButton';
/**
* The type of {@link Toolbox}'s React {@code Component} props.
diff --git a/react/features/toolbox/components/web/AudioSettingsButton.js b/react/features/toolbox/components/web/AudioSettingsButton.js
index 40e42c3bfb..dd2af92189 100644
--- a/react/features/toolbox/components/web/AudioSettingsButton.js
+++ b/react/features/toolbox/components/web/AudioSettingsButton.js
@@ -2,14 +2,14 @@
import React, { Component } from 'react';
-import AudioMuteButton from '../AudioMuteButton';
-import { isAudioSettingsButtonDisabled } from '../../functions';
import { IconArrowDown } from '../../../base/icons';
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
-import { ToolboxButtonWithIcon } from '../../../base/toolbox';
import { connect } from '../../../base/redux';
+import { ToolboxButtonWithIcon } from '../../../base/toolbox';
import { getMediaPermissionPromptVisibility } from '../../../overlay';
import { AudioSettingsPopup, toggleAudioSettings } from '../../../settings';
+import { isAudioSettingsButtonDisabled } from '../../functions';
+import AudioMuteButton from '../AudioMuteButton';
type Props = {
diff --git a/react/features/toolbox/components/web/ToolbarButton.js b/react/features/toolbox/components/web/ToolbarButton.js
index 5b779d5304..e3d2998611 100644
--- a/react/features/toolbox/components/web/ToolbarButton.js
+++ b/react/features/toolbox/components/web/ToolbarButton.js
@@ -4,7 +4,6 @@ import Tooltip from '@atlaskit/tooltip';
import React from 'react';
import { Icon } from '../../../base/icons';
-
import AbstractToolbarButton from '../AbstractToolbarButton';
import type { Props as AbstractToolbarButtonProps }
from '../AbstractToolbarButton';
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index 9b594ca0b8..5aacc46c8a 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -54,6 +54,9 @@ import {
} from '../../../settings';
import { toggleSharedVideo } from '../../../shared-video';
import { SpeakerStats } from '../../../speaker-stats';
+import {
+ ClosedCaptionButton
+} from '../../../subtitles';
import {
TileViewButton,
toggleTileView
@@ -62,25 +65,22 @@ import {
OverflowMenuVideoQualityItem,
VideoQualityDialog
} from '../../../video-quality';
-
import {
setFullScreen,
setOverflowMenuVisible,
setToolbarHovered
} from '../../actions';
-import AudioSettingsButton from './AudioSettingsButton';
-import DownloadButton from '../DownloadButton';
import { isToolboxVisible } from '../../functions';
+import DownloadButton from '../DownloadButton';
import HangupButton from '../HangupButton';
import HelpButton from '../HelpButton';
+
+import AudioSettingsButton from './AudioSettingsButton';
+import MuteEveryoneButton from './MuteEveryoneButton';
import OverflowMenuButton from './OverflowMenuButton';
import OverflowMenuProfileItem from './OverflowMenuProfileItem';
-import MuteEveryoneButton from './MuteEveryoneButton';
import ToolbarButton from './ToolbarButton';
import VideoSettingsButton from './VideoSettingsButton';
-import {
- ClosedCaptionButton
-} from '../../../subtitles';
/**
* The type of the React {@code Component} props of {@link Toolbox}.
diff --git a/react/features/toolbox/components/web/VideoSettingsButton.js b/react/features/toolbox/components/web/VideoSettingsButton.js
index bff6efe282..bedd212232 100644
--- a/react/features/toolbox/components/web/VideoSettingsButton.js
+++ b/react/features/toolbox/components/web/VideoSettingsButton.js
@@ -1,14 +1,15 @@
// @flow
import React, { Component } from 'react';
-import { isVideoSettingsButtonDisabled } from '../../functions';
-import { toggleVideoSettings, VideoSettingsPopup } from '../../../settings';
-import VideoMuteButton from '../VideoMuteButton';
-import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
+
import { IconArrowDown } from '../../../base/icons';
+import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
import { connect } from '../../../base/redux';
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
import { getMediaPermissionPromptVisibility } from '../../../overlay';
+import { toggleVideoSettings, VideoSettingsPopup } from '../../../settings';
+import { isVideoSettingsButtonDisabled } from '../../functions';
+import VideoMuteButton from '../VideoMuteButton';
type Props = {
diff --git a/react/features/toolbox/functions.web.js b/react/features/toolbox/functions.web.js
index adbc1af900..62cf32b02a 100644
--- a/react/features/toolbox/functions.web.js
+++ b/react/features/toolbox/functions.web.js
@@ -1,11 +1,11 @@
// @flow
+import { hasAvailableDevices } from '../base/devices';
import {
isAudioDisabled,
isPrejoinPageVisible,
isPrejoinVideoDisabled
} from '../prejoin';
-import { hasAvailableDevices } from '../base/devices';
declare var interfaceConfig: Object;
diff --git a/react/features/transcribing/actions.js b/react/features/transcribing/actions.js
index 9b4c208203..7439392c01 100644
--- a/react/features/transcribing/actions.js
+++ b/react/features/transcribing/actions.js
@@ -1,11 +1,5 @@
// @flow
-import {
- _POTENTIAL_TRANSCRIBER_JOINED,
- _TRANSCRIBER_JOINED,
- _TRANSCRIBER_LEFT,
- SET_PENDING_TRANSCRIBING_NOTIFICATION_UID
-} from './actionTypes';
import {
NOTIFICATION_TIMEOUT,
hideNotification,
@@ -13,6 +7,13 @@ import {
showNotification
} from '../notifications';
+import {
+ _POTENTIAL_TRANSCRIBER_JOINED,
+ _TRANSCRIBER_JOINED,
+ _TRANSCRIBER_LEFT,
+ SET_PENDING_TRANSCRIBING_NOTIFICATION_UID
+} from './actionTypes';
+
/**
* Notify that the transcriber, with a unique ID, has joined.
*
diff --git a/react/features/transcribing/middleware.js b/react/features/transcribing/middleware.js
index 86de36b75c..266ae64431 100644
--- a/react/features/transcribing/middleware.js
+++ b/react/features/transcribing/middleware.js
@@ -2,6 +2,11 @@
import { MiddlewareRegistry } from '../base/redux';
+import {
+ HIDDEN_PARTICIPANT_JOINED,
+ HIDDEN_PARTICIPANT_LEFT,
+ PARTICIPANT_UPDATED
+} from './../base/participants';
import {
_TRANSCRIBER_LEFT
} from './actionTypes';
@@ -12,11 +17,6 @@ import {
transcriberJoined,
transcriberLeft
} from './actions';
-import {
- HIDDEN_PARTICIPANT_JOINED,
- HIDDEN_PARTICIPANT_LEFT,
- PARTICIPANT_UPDATED
-} from './../base/participants';
const TRANSCRIBER_DISPLAY_NAME = 'Transcriber';
diff --git a/react/features/video-layout/components/TileViewButton.js b/react/features/video-layout/components/TileViewButton.js
index 2246c3ce0b..1436b4d5a4 100644
--- a/react/features/video-layout/components/TileViewButton.js
+++ b/react/features/video-layout/components/TileViewButton.js
@@ -6,6 +6,7 @@ import {
createToolbarEvent,
sendAnalytics
} from '../../analytics';
+import { TILE_VIEW_ENABLED, getFeatureFlag } from '../../base/flags';
import { translate } from '../../base/i18n';
import { IconTileView } from '../../base/icons';
import { connect } from '../../base/redux';
@@ -13,10 +14,8 @@ import {
AbstractButton,
type AbstractButtonProps
} from '../../base/toolbox';
-
import { setTileView } from '../actions';
import logger from '../logger';
-import { TILE_VIEW_ENABLED, getFeatureFlag } from '../../base/flags';
/**
* The type of the React {@code Component} props of {@link TileViewButton}.
diff --git a/react/features/video-layout/functions.js b/react/features/video-layout/functions.js
index 47c7bf1fa6..9bfa6c4a14 100644
--- a/react/features/video-layout/functions.js
+++ b/react/features/video-layout/functions.js
@@ -1,8 +1,9 @@
// @flow
-import { LAYOUTS } from './constants';
import { getPinnedParticipant } from '../base/participants';
+import { LAYOUTS } from './constants';
+
declare var interfaceConfig: Object;
/**
diff --git a/react/features/video-layout/middleware.web.js b/react/features/video-layout/middleware.web.js
index 5389195a2a..fa7f5320cd 100644
--- a/react/features/video-layout/middleware.web.js
+++ b/react/features/video-layout/middleware.web.js
@@ -1,7 +1,6 @@
// @flow
import VideoLayout from '../../../modules/UI/videolayout/VideoLayout.js';
-
import { CONFERENCE_JOINED, CONFERENCE_WILL_LEAVE } from '../base/conference';
import {
DOMINANT_SPEAKER_CHANGED,
diff --git a/react/features/video-layout/subscriber.js b/react/features/video-layout/subscriber.js
index a4c7a9a57d..17a74dfa5a 100644
--- a/react/features/video-layout/subscriber.js
+++ b/react/features/video-layout/subscriber.js
@@ -14,8 +14,8 @@ import { StateListenerRegistry, equals } from '../base/redux';
import { isFollowMeActive } from '../follow-me';
import { selectParticipant } from '../large-video';
-import { shouldDisplayTileView } from './functions';
import { setParticipantsWithScreenShare } from './actions';
+import { shouldDisplayTileView } from './functions';
declare var APP: Object;
declare var interfaceConfig: Object;
diff --git a/react/features/video-quality/actions.js b/react/features/video-quality/actions.js
index 662310083a..3e4e5b9d65 100644
--- a/react/features/video-quality/actions.js
+++ b/react/features/video-quality/actions.js
@@ -1,9 +1,11 @@
// @flow
+import type { Dispatch } from 'redux';
+
import { VIDEO_QUALITY_LEVELS } from '../base/conference';
+
import logger from './logger';
-import type { Dispatch } from 'redux';
/**
* Sets the maximum video size the local participant should send and receive from
diff --git a/react/features/video-quality/components/VideoQualitySlider.web.js b/react/features/video-quality/components/VideoQualitySlider.web.js
index 3fcbe4c19a..288f24475a 100644
--- a/react/features/video-quality/components/VideoQualitySlider.web.js
+++ b/react/features/video-quality/components/VideoQualitySlider.web.js
@@ -10,7 +10,6 @@ import { VIDEO_QUALITY_LEVELS, setPreferredVideoQuality } from '../../base/confe
import { translate } from '../../base/i18n';
import JitsiMeetJS from '../../base/lib-jitsi-meet';
import { connect } from '../../base/redux';
-
import logger from '../logger';
const {
diff --git a/react/features/welcome/components/WelcomePage.native.js b/react/features/welcome/components/WelcomePage.native.js
index 58135e8ca6..8272182b36 100644
--- a/react/features/welcome/components/WelcomePage.native.js
+++ b/react/features/welcome/components/WelcomePage.native.js
@@ -10,7 +10,6 @@ import {
} from 'react-native';
import { getName } from '../../app';
-
import { ColorSchemeRegistry } from '../../base/color-scheme';
import { translate } from '../../base/i18n';
import { Icon, IconMenu, IconWarning } from '../../base/icons';
@@ -25,7 +24,6 @@ import {
import { HelpView } from '../../help';
import { DialInSummary } from '../../invite';
import { SettingsView } from '../../settings';
-
import { setSideBarVisible } from '../actions';
import {
@@ -33,10 +31,10 @@ import {
_mapStateToProps as _abstractMapStateToProps
} from './AbstractWelcomePage';
import LocalVideoTrackUnderlay from './LocalVideoTrackUnderlay';
-import styles, { PLACEHOLDER_TEXT_COLOR } from './styles';
import VideoSwitch from './VideoSwitch';
import WelcomePageLists from './WelcomePageLists';
import WelcomePageSideBar from './WelcomePageSideBar';
+import styles, { PLACEHOLDER_TEXT_COLOR } from './styles';
/**
* The native container rendering the welcome page.
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index 0dc1914032..f8db57e70b 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -2,11 +2,11 @@
import React from 'react';
+import { isMobileBrowser } from '../../base/environment/utils';
import { translate } from '../../base/i18n';
import { Icon, IconWarning } from '../../base/icons';
import { Watermarks } from '../../base/react';
import { connect } from '../../base/redux';
-import { isMobileBrowser } from '../../base/environment/utils';
import { CalendarList } from '../../calendar-sync';
import { RecentList } from '../../recent-list';
import { SettingsButton, SETTINGS_TABS } from '../../settings';
diff --git a/react/features/welcome/components/WelcomePageLists.js b/react/features/welcome/components/WelcomePageLists.js
index 09edef6e6e..afcbd3ccc6 100644
--- a/react/features/welcome/components/WelcomePageLists.js
+++ b/react/features/welcome/components/WelcomePageLists.js
@@ -8,7 +8,6 @@ import { PagedList } from '../../base/react';
import { connect } from '../../base/redux';
import { CalendarList, isCalendarEnabled } from '../../calendar-sync';
import { RecentList } from '../../recent-list';
-
import { setWelcomePageListsDefaultPage } from '../actions';
/**
diff --git a/react/features/welcome/components/WelcomePageSideBar.native.js b/react/features/welcome/components/WelcomePageSideBar.native.js
index 6295739fb6..1afd69c814 100644
--- a/react/features/welcome/components/WelcomePageSideBar.native.js
+++ b/react/features/welcome/components/WelcomePageSideBar.native.js
@@ -17,8 +17,8 @@ import {
import { connect } from '../../base/redux';
import { HELP_VIEW_MODAL_ID } from '../../help';
import { SETTINGS_VIEW_ID } from '../../settings';
-
import { setSideBarVisible } from '../actions';
+
import SideBarItem from './SideBarItem';
import styles, { SIDEBAR_AVATAR_SIZE } from './styles';
diff --git a/react/index.native.js b/react/index.native.js
index ab1da731a6..87e363598f 100644
--- a/react/index.native.js
+++ b/react/index.native.js
@@ -8,10 +8,8 @@ import React, { PureComponent } from 'react';
import { AppRegistry } from 'react-native';
import { App } from './features/app';
-import { IncomingCallApp } from './features/mobile/incoming-call';
-
-// It's crucial that the native loggers are created ASAP, not to lose any data.
import { _initLogging } from './features/base/logging/functions';
+import { IncomingCallApp } from './features/mobile/incoming-call';
declare var __DEV__;