fix(ts) fix mysterious linting errors

We have a rule that should apply here, but somehow it doesn't...
This commit is contained in:
Saúl Ibarra Corretgé 2022-11-01 22:12:33 +01:00 committed by Saúl Ibarra Corretgé
parent 7cd39b7983
commit edf5e1c094
4 changed files with 13 additions and 8 deletions

View File

@ -162,14 +162,10 @@ export function appNavigate(uri?: string) {
* If we have a close page enabled, redirect to it without * If we have a close page enabled, redirect to it without
* showing any other dialog. * showing any other dialog.
* *
* @param {Object} _options - Used to decide which particular close page to show * @param {Object} options - Ignored.
* or if close page is disabled, whether we should show the thankyou dialog.
* @param {boolean} options.showThankYou - Whether we should
* show thank you dialog.
* @param {boolean} options.feedbackSubmitted - Whether feedback was submitted.
* @returns {Function} * @returns {Function}
*/ */
export function maybeRedirectToWelcomePage(_options: { feedbackSubmitted?: boolean; showThankYou?: boolean; } = {}) { export function maybeRedirectToWelcomePage(options: any) { // eslint-disable-line @typescript-eslint/no-unused-vars
// Dummy. // Dummy.
} }

View File

@ -1,10 +1,12 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/** /**
* Checks whether the chrome extensions defined in the config file are installed or not. * Checks whether the chrome extensions defined in the config file are installed or not.
* *
* @param {Object} _config - Objects containing info about the configured extensions. * @param {Object} config - Objects containing info about the configured extensions.
* *
* @returns {Promise[]} * @returns {Promise[]}
*/ */
export default function checkChromeExtensionsInstalled(_config: any = {}) { export default function checkChromeExtensionsInstalled(config: any = {}) {
return Promise.resolve([]); return Promise.resolve([]);
} }

View File

@ -1,4 +1,5 @@
/* eslint-disable lines-around-comment */ /* eslint-disable lines-around-comment */
import { IReduxState, IStore } from '../../app/types'; import { IReduxState, IStore } from '../../app/types';
// @ts-ignore // @ts-ignore
import { setPictureInPictureEnabled } from '../../mobile/picture-in-picture/functions'; import { setPictureInPictureEnabled } from '../../mobile/picture-in-picture/functions';
@ -11,6 +12,8 @@ import { getLocalVideoTrack, isLocalVideoTrackDesktop } from './functions';
export * from './actions.any'; export * from './actions.any';
/* eslint-disable @typescript-eslint/no-unused-vars */
/** /**
* Signals that the local participant is ending screensharing or beginning the screensharing flow. * Signals that the local participant is ending screensharing or beginning the screensharing flow.
* *
@ -37,6 +40,8 @@ export function toggleScreensharing(enabled: boolean, _ignore1?: boolean, _ignor
}; };
} }
/* eslint-enable @typescript-eslint/no-unused-vars */
/** /**
* Creates desktop track and replaces the local one. * Creates desktop track and replaces the local one.
* *

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { Linking } from 'react-native'; import { Linking } from 'react-native';
import logger from './logger'; import logger from './logger';