From f71eb37648e806f4ce0a97de0d58c6bde8e43252 Mon Sep 17 00:00:00 2001 From: Jaime Torrealba Date: Sun, 8 Sep 2024 11:12:20 +0100 Subject: [PATCH] fix: lint --- docs/advanced/performance.md | 9 +- docs/advanced/primitive.md | 6 +- playground/vue/src/pages/basic/Primitives.vue | 2 +- .../pages/basic/ready/LoopCallbackWatcher.vue | 2 +- .../pages/basic/ready/OnTresReadyWatcher.vue | 4 +- .../vue/src/pages/loaders/componentDemo.vue | 2 +- pnpm-lock.yaml | 18542 +++++++--------- src/components/TresCanvas.vue | 2 +- src/composables/index.ts | 4 +- src/composables/useRenderer/index.ts | 4 +- src/composables/useSeek/useSeek.test.ts | 2 +- src/composables/useTresReady/index.ts | 2 +- src/core/loop.test.ts | 2 +- src/core/nodeOps.test.ts | 2 +- src/core/nodeOps.ts | 6 +- src/devtools/plugin.ts | 2 +- src/utils/index.ts | 4 +- 17 files changed, 8225 insertions(+), 10372 deletions(-) diff --git a/docs/advanced/performance.md b/docs/advanced/performance.md index fd88dbe68..befee1d1e 100644 --- a/docs/advanced/performance.md +++ b/docs/advanced/performance.md @@ -143,12 +143,9 @@ To avoid errors and unwanted sideeffects, resources created programatically with import { dispose } from '@tresjs/core' import { useGLTF } from '@tresjs/cientos' - const { nodes } = await useGLTF( - 'https://raw.githubusercontent.com/Tresjs/assets/main/models/gltf/blender-cube.glb', - { - draco: true, - }, - ) + const { nodes } = await useGLTF('https://raw.githubusercontent.com/Tresjs/assets/main/models/gltf/blender-cube.glb', { + draco: true, + }) const model = nodes.Cube onUnmounted(() => { diff --git a/docs/advanced/primitive.md b/docs/advanced/primitive.md index 29c2f1002..6b21f1702 100644 --- a/docs/advanced/primitive.md +++ b/docs/advanced/primitive.md @@ -32,11 +32,7 @@ The same pointer events available on the TresJS components are available on the ```html ``` diff --git a/playground/vue/src/pages/basic/Primitives.vue b/playground/vue/src/pages/basic/Primitives.vue index a9a94b2d6..317559499 100644 --- a/playground/vue/src/pages/basic/Primitives.vue +++ b/playground/vue/src/pages/basic/Primitives.vue @@ -9,8 +9,8 @@ import { Mesh, MeshToonMaterial, NoToneMapping, - SRGBColorSpace, SphereGeometry, + SRGBColorSpace, TorusGeometry, TorusKnotGeometry, } from 'three' diff --git a/playground/vue/src/pages/basic/ready/LoopCallbackWatcher.vue b/playground/vue/src/pages/basic/ready/LoopCallbackWatcher.vue index 2fc8281bd..dbe8e2c1e 100644 --- a/playground/vue/src/pages/basic/ready/LoopCallbackWatcher.vue +++ b/playground/vue/src/pages/basic/ready/LoopCallbackWatcher.vue @@ -1,6 +1,6 @@