Skip to content

Commit

Permalink
eslint 系のコメント削除
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Nov 17, 2023
1 parent 376ba33 commit f005bbb
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 24 deletions.
14 changes: 0 additions & 14 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@
"platformAutomerge": true,
"automerge": true
},
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"matchPackagePatterns": [
"eslint"
],
"groupName": "eslint",
"platformAutomerge": true,
"automerge": true
},
{
"matchUpdateTypes": [
"minor",
Expand Down
1 change: 0 additions & 1 deletion packages/e2ee/src/worker/e2ee.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/triple-slash-reference, @typescript-eslint/no-unused-vars */
/// <reference path="./sframe.ts"/>

type UnencryptedBytes = {
Expand Down
1 change: 0 additions & 1 deletion packages/e2ee/src/worker/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="./e2ee.ts"/>

type RemoteSecretKeyMaterial = {
Expand Down
1 change: 0 additions & 1 deletion packages/e2ee/src/worker/sframe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
const connectionIdLength = 26

function byteCount(n: number): number {
Expand Down
3 changes: 0 additions & 3 deletions packages/sdk/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,6 @@ export default class ConnectionBase {
}
}
}
// eslint-disable-next-line @typescript-eslint/no-floating-promises
;(async () => {
let signalingMessage: SignalingConnectMessage
try {
Expand Down Expand Up @@ -1488,7 +1487,6 @@ export default class ConnectionBase {
// 古い API (i.e., createEncodedStreams) を使っているブラウザ

// @ts-ignore
// eslint-disable-next-line
const senderStreams = sender.createEncodedStreams() as TransformStream
let readable = senderStreams.readable
if (isLyraCodec && this.lyra !== undefined) {
Expand Down Expand Up @@ -1547,7 +1545,6 @@ export default class ConnectionBase {
// 古い API (i.e., createEncodedStreams) を使っているブラウザ

// @ts-ignore
// eslint-disable-next-line
const receiverStreams = receiver.createEncodedStreams() as TransformStream
let writable = receiverStreams.writable
if (codecType === 'LYRA' && this.lyra !== undefined) {
Expand Down
1 change: 0 additions & 1 deletion packages/sdk/src/publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export default class ConnectionPublisher extends ConnectionBase {
return
}
const data = {
// eslint-disable-next-line @typescript-eslint/naming-convention
'stream.id': stream.id,
id: event.track.id,
label: event.track.label,
Expand Down
2 changes: 0 additions & 2 deletions packages/sdk/src/subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export default class ConnectionSubscriber extends ConnectionBase {
return
}
const data = {
// eslint-disable-next-line @typescript-eslint/naming-convention
'stream.id': streamId,
id: event.track.id,
label: event.track.label,
Expand Down Expand Up @@ -128,7 +127,6 @@ export default class ConnectionSubscriber extends ConnectionBase {
return
}
const data = {
// eslint-disable-next-line @typescript-eslint/naming-convention
'stream.id': stream.id,
id: event.track.id,
label: event.track.label,
Expand Down
1 change: 0 additions & 1 deletion packages/sdk/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ export function trace(clientId: string | null, title: string, value: unknown): v
if (record && typeof record === 'object') {
let keys = null
try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
keys = Object.keys(JSON.parse(JSON.stringify(record)))
} catch (_) {
// 何もしない
Expand Down

0 comments on commit f005bbb

Please sign in to comment.