Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

fix: restore remote lint and typecheck

kapishdimaaaf1e82ac5a1
diff --git a/lib/customizer-config.test.ts b/lib/customizer-config.test.ts
index d7b7ccf3..e4cae578 100644
--- a/lib/customizer-config.test.ts
+++ b/lib/customizer-config.test.ts
@@ -25,7 +25,11 @@ describe("config schemas", () => {
for (const [file, config] of await loadConfigs()) {
for (const [key, field] of Object.entries(config.controls)) {
if (field.type === "hidden") continue;
- if (!("default" in field) || field.default === undefined || field.default === null) {
+ if (
+ !("default" in field) ||
+ field.default === undefined ||
+ field.default === null
+ ) {
bad.push(`${file}: ${key}`);
}
}
diff --git a/registry/remocn/drift/index.tsx b/registry/remocn/drift/index.tsx
index dd11eaf5..f1be8a7d 100644
--- a/registry/remocn/drift/index.tsx
+++ b/registry/remocn/drift/index.tsx
@@ -17,9 +17,5 @@ export function Drift({ children, grow = 0.035 }: DriftProps) {
const frame = useCurrentFrame();
const { durationInFrames } = useVideoConfig();
const scale = interpolate(frame, [0, durationInFrames], [1, 1 + grow]);
- return (
- <AbsoluteFill style={{ scale: `${scale}` }}>
- {children}
- </AbsoluteFill>
- );
+ return <AbsoluteFill style={{ scale: `${scale}` }}>{children}</AbsoluteFill>;
}
diff --git a/tsconfig.json b/tsconfig.json
index 61743722..36056a37 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -172,5 +172,5 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
- "exclude": ["node_modules", "**/__tests__/**"]
+ "exclude": ["node_modules", "out", "**/__tests__/**"]
}