🎥 Make videos programmatically with React
updates
Jonny Burgera5902a4c6b88
diff --git a/packages/streaming/.eslintrc b/packages/streaming/.eslintrcdeleted file mode 100644index 2f4fe588d1..0000000000--- a/packages/streaming/.eslintrc+++ /dev/null@@ -1,3 +0,0 @@-{- "extends": "@remotion/internal",-}diff --git a/packages/streaming/eslint.config.mjs b/packages/streaming/eslint.config.mjsnew file mode 100644index 0000000000..04fd4fac11--- /dev/null+++ b/packages/streaming/eslint.config.mjs@@ -0,0 +1,7 @@+import {remotionFlatConfig} from '@remotion/eslint-config-internal';++const config = remotionFlatConfig({react: false});++export default {+ ...config,+};diff --git a/packages/streaming/src/make-streamer.ts b/packages/streaming/src/make-streamer.tsindex e7d698a223..f4ee894a7b 100644--- a/packages/streaming/src/make-streamer.ts+++ b/packages/streaming/src/make-streamer.ts@@ -21,7 +21,6 @@ export const makeStreamer = (const findSeparatorIndex = () => {let searchIndex = 0;- // eslint-disable-next-line no-constant-conditionwhile (true) {const separatorIndex = outputBuffer.indexOf(separator[0], searchIndex); // Start checking for the first byte of the separatorif (separatorIndex === -1) {@@ -53,7 +52,6 @@ export const makeStreamer = (let lengthString = '';let statusString = '';- // eslint-disable-next-line no-constant-conditionwhile (true) {if (separatorIndex > outputBuffer.length - 1) {return;@@ -69,7 +67,6 @@ export const makeStreamer = (nonceString += String.fromCharCode(nextDigit);}- // eslint-disable-next-line no-constant-conditionwhile (true) {if (separatorIndex > outputBuffer.length - 1) {return;@@ -85,7 +82,6 @@ export const makeStreamer = (lengthString += String.fromCharCode(nextDigit);}- // eslint-disable-next-line no-constant-conditionwhile (true) {if (separatorIndex > outputBuffer.length - 1) {return;