Skip to content

🎥 Make videos programmatically with React

eslint config

Jonny Burger2ac70a699a29
diff --git a/packages/fonts/.eslintrc b/packages/fonts/.eslintrc
deleted file mode 100644
index 2f4fe588d1..0000000000
--- a/packages/fonts/.eslintrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "@remotion/internal",
-}
diff --git a/packages/fonts/eslint.config.mjs b/packages/fonts/eslint.config.mjs
new file mode 100644
index 0000000000..04fd4fac11
--- /dev/null
+++ b/packages/fonts/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/fonts/package.json b/packages/fonts/package.json
index c9d0d8f65a..bb2cd7c6b6 100644
--- a/packages/fonts/package.json
+++ b/packages/fonts/package.json
@@ -11,7 +11,7 @@
"sideEffects": false,
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx",
+ "lint": "eslint src",
"make": "bun --env-file=../.env.bundle bundle.ts"
},
"keywords": [
@@ -28,7 +28,7 @@
},
"devDependencies": {
"@remotion/eslint-config-internal": "workspace:*",
- "eslint": "8.56.0"
+ "eslint": "9.14.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/skia/.eslintrc b/packages/skia/.eslintrc
deleted file mode 100644
index 7cf98f9507..0000000000
--- a/packages/skia/.eslintrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "@remotion/internal/react",
-}
diff --git a/packages/skia/eslint.config.mjs b/packages/skia/eslint.config.mjs
new file mode 100644
index 0000000000..ab29acaba0
--- /dev/null
+++ b/packages/skia/eslint.config.mjs
@@ -0,0 +1,7 @@
+import {remotionFlatConfig} from '@remotion/eslint-config-internal';
+
+const config = remotionFlatConfig({react: true});
+
+export default {
+ ...config,
+};
diff --git a/packages/skia/package.json b/packages/skia/package.json
index ed364ddb9c..7a82255402 100644
--- a/packages/skia/package.json
+++ b/packages/skia/package.json
@@ -11,7 +11,7 @@
"sideEffects": false,
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx",
+ "lint": "eslint src",
"make": "bun --env-file=../.env.bundle bundle.ts"
},
"author": "Jonny Burger <[email protected]>, William Candillon <[email protected]>",
@@ -37,7 +37,7 @@
"react-dom": "18.3.1",
"remotion": "workspace:*",
"@remotion/eslint-config-internal": "workspace:*",
- "eslint": "8.56.0"
+ "eslint": "9.14.0"
},
"keywords": [
"remotion",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 346beb1f3c..6b76eb16ff 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1116,8 +1116,8 @@ importers:
specifier: workspace:*
version: link:../eslint-config-internal
eslint:
- specifier: 8.56.0
- version: 8.56.0
+ specifier: 9.14.0
+ version: 9.14.0
packages/gif:
dependencies:
@@ -1726,8 +1726,8 @@ importers:
specifier: 0.39.1
version: 0.39.1
eslint:
- specifier: 8.56.0
- version: 8.56.0
+ specifier: 9.14.0
+ version: 9.14.0
react:
specifier: 18.3.1
version: 18.3.1