Skip to content

🎥 Make videos programmatically with React

fix whitespace

Jonny Burger67359a61afb8
diff --git a/packages/docs/.prettierrc.js b/packages/docs/.prettierrc.js
new file mode 100644
index 0000000000..887695ce17
--- /dev/null
+++ b/packages/docs/.prettierrc.js
@@ -0,0 +1,14 @@
+module.exports = {
+ singleQuote: false,
+ bracketSpacing: true,
+ useTabs: true,
+ overrides: [
+ {
+ files: ['*.yml'],
+ options: {
+ singleQuote: false,
+ },
+ },
+ ],
+ plugins: [require.resolve('prettier-plugin-organize-imports')],
+};
diff --git a/packages/docs/docs/paths/get-length.md b/packages/docs/docs/paths/get-length.md
index 04a9078f70..c8e040cd81 100644
--- a/packages/docs/docs/paths/get-length.md
+++ b/packages/docs/docs/paths/get-length.md
@@ -23,7 +23,7 @@ import { getLength } from "@remotion/paths";
getLength("remotion"); // Error: Malformed path data: ...
```
-## See also
+## See also
- [getPointAtLength()](/docs/paths/get-point-at-length)
- [getTangentAtLength()](/docs/paths/get-point-at-length)
diff --git a/packages/docs/docs/paths/get-parts.md b/packages/docs/docs/paths/get-parts.md
index 75d895d4e3..ea858cb73c 100644
--- a/packages/docs/docs/paths/get-parts.md
+++ b/packages/docs/docs/paths/get-parts.md
@@ -116,6 +116,6 @@ const parts = getParts(`
console.log(parts[0].getTangentAtLength(50)); // { x: 1, y: 0 }
```
-## See also
+## See also
- [`@remotion/paths`](/docs/paths)
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e896b8985f..25be241ab1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -278,6 +278,8 @@ importers:
hls.js: ^0.14.17
lottie-web: ^5.9.6
polished: 4.1.2
+ prettier: ^2.0.5
+ prettier-plugin-organize-imports: ^2.3.4
react: 18.0.0
react-dom: 18.0.0
react-player: ^2.9.0
@@ -330,6 +332,8 @@ importers:
'@types/node': 17.0.17
'@types/react': 18.0.1
eslint: 8.13.0
+ prettier: 2.6.2
+ prettier-plugin-organize-imports: 2.3.4_lbsuufegg2dnc4wh6qgf26kgdy
typescript: 4.7.2
url-loader: 4.1.1_csgzzuwaerdr4d7s3u52mzcn7m
@@ -563,8 +567,6 @@ importers:
'@remotion/renderer': link:../renderer
aws-policies: 1.0.1
mime-types: 2.1.34
- react: 18.0.0
- react-dom: [email protected]
remotion: link:../core
devDependencies:
'@jonny/eslint-config': 3.0.266_6hvhxfirl4y3p6nuemvvvbadcu
@@ -577,6 +579,8 @@ importers:
prettier: 2.4.1
prettier-plugin-organize-imports: 2.3.4_pxx7xhvr2bexxfjjff3nukai7m
+ react: 18.0.0
+ react-dom: [email protected]
ts-jest: 27.0.5_g2mfyom6zaxqcgedxrl4lakegu
ts-node: 10.8.0_ysvagj6uoj2jcpx4fli7niyicq
typescript: 4.7.2
@@ -626,8 +630,6 @@ importers:
remotion: 3.2.10
typescript: ^4.7.0
dependencies:
- react: 18.0.0
- react-dom: [email protected]
remotion: link:../core
devDependencies:
'@jonny/eslint-config': 3.0.266_6hvhxfirl4y3p6nuemvvvbadcu
@@ -636,6 +638,8 @@ importers:
eslint: 8.13.0
prettier: 2.4.1
prettier-plugin-organize-imports: 2.3.4_pxx7xhvr2bexxfjjff3nukai7m
+ react: 18.0.0
+ react-dom: [email protected]
typescript: 4.7.2
packages/paths: