diff --git a/biome.json b/biome.json index 5dda7011..90482e50 100644 --- a/biome.json +++ b/biome.json @@ -8,7 +8,7 @@ "lineEnding": "lf", "lineWidth": 100, "attributePosition": "auto", - "ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"] + "ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"] }, "organizeImports": { "enabled": true @@ -33,7 +33,7 @@ "noBannedTypes": "off" } }, - "ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"] + "ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"] }, "javascript": { "formatter": { diff --git a/front/packages/ui/src/player/video.web.tsx b/front/packages/ui/src/player/video.web.tsx index 1e431edc..fd5f90dc 100644 --- a/front/packages/ui/src/player/video.web.tsx +++ b/front/packages/ui/src/player/video.web.tsx @@ -150,6 +150,7 @@ const Video = forwardRef<{ seek: (value: number) => void }, VideoProps>(function const subtitle = useAtomValue(subtitleAtom); useSubtitle(ref, subtitle, fonts); + // biome-ignore lint/correctness/useExhaustiveDependencies: do not restart on startPosition change useLayoutEffect(() => { if (!ref?.current || !source.uri) return; if (!hls || oldHls.current !== source.hls) {