remove not needed eslint hints

This commit is contained in:
nklhrstv 2020-12-15 13:06:32 +02:00
parent f2d8c517cf
commit 017cf4fb3d
6 changed files with 0 additions and 11 deletions

View file

@ -23,7 +23,6 @@ const Video = React.forwardRef(({ className, ...props }, ref) => {
try {
videoRef.current.dispatch(action);
} catch (error) {
// eslint-disable-next-line no-console
console.error('StremioVideo', error);
}
}

View file

@ -6,7 +6,6 @@ const ChromecastTransport = require('./ChromecastTransport');
let castAPIAvailable = null;
const castAPIEvents = new EventEmitter();
castAPIEvents.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});
window['__onGCastApiAvailable'] = function(available) {
@ -23,7 +22,6 @@ function Chromecast() {
const events = new EventEmitter();
events.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});

View file

@ -7,7 +7,6 @@ const MESSAGE_NAMESPACE = 'urn:x-cast:com.stremio';
function ChromecastTransport() {
const events = new EventEmitter();
events.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});

View file

@ -8,21 +8,18 @@ let transport = null;
let apiInitialized = null;
const apiEvents = new EventEmitter();
apiEvents.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});
initialize_api()
.then(() => {
const transportEvents = new EventEmitter();
transportEvents.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});
return initialize_runtime(({ name, args }) => {
try {
transportEvents.emit(name, args);
} catch (error) {
/* eslint-disable-next-line no-console */
console.error(error);
}
}).then(() => {
@ -34,7 +31,6 @@ initialize_api()
apiEvents.emit('initialized');
})
.catch((error) => {
/* eslint-disable-next-line no-console */
console.error(error);
apiInitialized = false;
apiEvents.emit('initialized');
@ -48,7 +44,6 @@ function Core() {
const events = new EventEmitter();
events.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});

View file

@ -7,7 +7,6 @@ function KeyboardShortcuts() {
const events = new EventEmitter();
events.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});

View file

@ -9,7 +9,6 @@ function Shell() {
const events = new EventEmitter();
events.on('error', (error) => {
/* eslint-disable-next-line no-console */
console.error(error);
});