Skip to content

🎥 Make videos programmatically with React

paths

Jonny Burger2a513b1740c0
diff --git a/packages/paths/.eslintrc b/packages/paths/.eslintrc
deleted file mode 100644
index b125c4de52..0000000000
--- a/packages/paths/.eslintrc
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "extends": "@remotion/internal",
- "rules": {
- "no-bitwise": "off",
- },
-}
diff --git a/packages/paths/eslint.config.mjs b/packages/paths/eslint.config.mjs
new file mode 100644
index 0000000000..04fd4fac11
--- /dev/null
+++ b/packages/paths/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/paths/package.json b/packages/paths/package.json
index 0f9772d92f..4acc34dc96 100644
--- a/packages/paths/package.json
+++ b/packages/paths/package.json
@@ -9,7 +9,7 @@
"sideEffects": false,
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx",
+ "lint": "eslint src",
"test": "bun test src"
},
"author": "Jonny Burger <[email protected]>",
@@ -24,7 +24,7 @@
],
"devDependencies": {
"@remotion/eslint-config-internal": "workspace:*",
- "eslint": "8.56.0"
+ "eslint": "9.14.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/paths/src/helpers/bezier-values.ts b/packages/paths/src/helpers/bezier-values.ts
index 4297c31caf..3f44fb7afc 100644
--- a/packages/paths/src/helpers/bezier-values.ts
+++ b/packages/paths/src/helpers/bezier-values.ts
@@ -1,6 +1,5 @@
// Copied from: https://github.com/rveciana/svg-path-properties
-/* eslint-disable @typescript-eslint/no-loss-of-precision */
/* eslint-disable no-loss-of-precision */
// Legendre-Gauss abscissae (xi values, defined at i=n as the roots of the nth order Legendre polynomial Pn(x))
export const tValues = [
diff --git a/packages/paths/src/parse-path.ts b/packages/paths/src/parse-path.ts
index 9732cc01b9..c326daa505 100644
--- a/packages/paths/src/parse-path.ts
+++ b/packages/paths/src/parse-path.ts
@@ -2,7 +2,6 @@
import type {Instruction} from './helpers/types';
-// eslint-disable-next-line @typescript-eslint/no-unused-vars
const length: {[key in Instruction['type'] | 'z']: number} = {
a: 7,
A: 7,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b7a819399a..c60a26eccd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1491,8 +1491,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/player:
dependencies: