Skip to content

fix: satisfy eslint for PointCloud refs and type assertions#26

Merged
joaner merged 1 commit into
ioai-tech:mainfrom
joaner:fix/lint-pointcloud-v1.7.2
Jul 10, 2026
Merged

fix: satisfy eslint for PointCloud refs and type assertions#26
joaner merged 1 commit into
ioai-tech:mainfrom
joaner:fix/lint-pointcloud-v1.7.2

Conversation

@joaner

@joaner joaner commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move camera/controls/invalidate ref sync out of render into useEffect to satisfy react-hooks/refs.
  • Remove unnecessary non-null assertions in pointCloud.ts / pointCloud.test.ts flagged by @typescript-eslint/no-unnecessary-type-assertion.
  • Unblocks the failed v1.7.2 Release validate job.

Test plan

  • npm run lint
  • npx vitest run src/shared/utils/pointCloud.test.ts

Move camera/controls/invalidate ref sync into an effect, and drop
unnecessary non-null assertions flagged by CI lint.
@joaner joaner force-pushed the fix/lint-pointcloud-v1.7.2 branch from e5a9727 to a1b02ee Compare July 10, 2026 10:54
@joaner joaner merged commit c183677 into ioai-tech:main Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant