Skip to content

Commit

Permalink
chore: remove eslint-disable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
steabert committed Apr 1, 2024
1 parent 5285f38 commit 32f80cb
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion cypress/e2e/html5video.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// We need to disable specific linting because of Chai assertions:
// https://github.com/standard/standard/issues/690#issuecomment-278533482
/* eslint-disable no-unused-expressions */

const PRESENTATION_START = 0
const MAX_LATENCY = 0.25
Expand Down
1 change: 0 additions & 1 deletion example-streams-node/mjpeg-player.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-require-imports */
const yargs = require('yargs')

const { pipelines } = require('../../lib/index.node.js')
Expand Down
1 change: 0 additions & 1 deletion example-streams-node/player.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-require-imports */
const yargs = require('yargs')

const { pipelines } = require('media-stream-library')
Expand Down
1 change: 0 additions & 1 deletion player/src/MediaStreamPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ export class MediaStreamPlayer extends HTMLElement {
.then(() => {
this._root?.render(
<PlayerComponent
// eslint-disable-next-line react/jsx-no-bind
subscribeAttributesChanged={(cb) =>
this.attributeChangeSubscriber(cb)
}
Expand Down
1 change: 0 additions & 1 deletion player/src/playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { createRoot } from 'react-dom/client'

import { Player } from './Player'

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const appRoot = createRoot(document.querySelector('#root')!)

appRoot.render(
Expand Down
1 change: 0 additions & 1 deletion scripts/tcp-ws-proxy.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-require-imports */
const { pipelines } = require('media-stream-library')
const yargs = require('yargs')
const { hideBin } = require('yargs/helpers')
Expand Down
1 change: 0 additions & 1 deletion streams/src/components/helpers/stream-factory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Readable, Transform, Writable } from 'stream'

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export default class StreamFactory {
/**
* Creates a writable stream that sends all messages written to the stream
Expand Down
2 changes: 0 additions & 2 deletions streams/src/components/mp4muxer/helpers/isom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ const createParameterSetArrayClass = function (sizeMask = 0x00) {
[new UInt8(sizeMask | array.length)]
)
this.byteLength = this.value.reduce(
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
(total, element) => total + element.byteLength,
0
)
Expand Down Expand Up @@ -1008,7 +1007,6 @@ QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-124774'
* All boxes have a length and type, where so-called full boxes have an
* additional 4-bytes (1-byte version and 3-byte flags fields).
*/
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
class Header {
static None() {
return []
Expand Down
1 change: 0 additions & 1 deletion streams/src/utils/protocols/rtcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ const parseSDES = (buffer: Buffer, base: Rtcp): RtcpSDES => {
}
offset += 4

// eslint-disable-next-line no-constant-condition
while (true) {
const itemType = buffer.readUInt8(offset++)

Expand Down
1 change: 0 additions & 1 deletion streams/tests/h264depay-parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ describe('h264 parser', (test) => {
})

test('parses a FU-A frame split on two RTP packages', (ctx) => {
/*eslint-disable */
const fuaPart1 = Buffer.from(
'gGBwUAkfABNeSvUmfIWIgwAAv7fhaOZ7/8I48OQXY7Fpl6o9HpvJiYz5b2JyowHtuVDBxLY9ZL8FHJOD6rs6h91CSMQmA9fgnTDCVgJ5vdm99c7OMzF3l4K9+VJeZ4eKyC32WVXoVh3h+KVVJERORlYXJDq+1IlMC0EzAqltdPKwC1UmwbsMgtz6fjR/v19wZf0DXOfxTBnb0OnN83kR5G8TffuGm2njvkWsEX7ecpJDzhu0Wn0RZ9Z0I39RuOT5hHrKKSMQSfwWbITrzL+j5bneysE7nAD9mPsEQxqH99GPZodENIbuYhog8TS/Qlv+Ty20GkAZfbZILfjoELO9ahh2wQgLaGd031W4Z7bmM7WACu7fPVm4blRP1rhomufuUAD8ceqjqxcivy5CxeyWS764bBNkffWBVHL7PpzXPhd4e56YduXnWwQO1REIs2MiPfyx7UumMIwDCCKhgDf3BUxWuSXVqcORn0aSp7k8SFCM/767e1peyADK+WKuWVDbrDvPW2igZKBADyashVjvNhdaHJBCWPOpVwfghRhSjeaK2k6/OdY6ebpRDv4J7ZnUCGnNspqy6fo5WbUoQwc4+3xXbq8lN7kYP9zSH4iExe7f//+9flejgJql61Z4A34bwazQ/KlCmySYm/cbIyWuZVQo0R8=',
'base64'
Expand Down

0 comments on commit 32f80cb

Please sign in to comment.