Skip to content

fix: resolve lint errors - missing import and unused imports#52

Open
0xAxiom wants to merge 1 commit intomainfrom
fix/lint-errors-unused-imports-missing-import
Open

fix: resolve lint errors - missing import and unused imports#52
0xAxiom wants to merge 1 commit intomainfrom
fix/lint-errors-unused-imports-missing-import

Conversation

@0xAxiom
Copy link
Owner

@0xAxiom 0xAxiom commented Feb 26, 2026

What

Fix all 5 lint errors in the codebase (down from 5 errors to 0).

Changes

  • scripts/render-demo-video.mjs: Added missing writeFileSync to the node:fs import. This was a runtime bug - calling writeFileSync at line 368 would throw ReferenceError: writeFileSync is not defined.
  • claw-pipeline/scripts/run.mjs: Removed unused imports readdirSync (from fs) and relative (from path).

Testing

  • npm run lint: 0 errors (was 5), 53 warnings unchanged
  • npm test: 252/252 tests passing

- scripts/render-demo-video.mjs: add missing writeFileSync to fs import
- claw-pipeline/scripts/run.mjs: remove unused readdirSync and relative imports

Reduces lint errors from 5 to 0.
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