Skip to content

Modernize codebase: fix "cannot read properties of undefined" error, update dependencies, enable strict mode#5

Open
dizzlkheinz wants to merge 2 commits into
Mitra98t:masterfrom
dizzlkheinz:master
Open

Modernize codebase: fix "cannot read properties of undefined" error, update dependencies, enable strict mode#5
dizzlkheinz wants to merge 2 commits into
Mitra98t:masterfrom
dizzlkheinz:master

Conversation

@dizzlkheinz
Copy link
Copy Markdown

The plugin wasn't working for me so I asked claude to vibe code a fix and in general update the dependencies and it did and it now works for me so I thought I would submit it back to you.

  • Fix async checkFile bug causing "Cannot read properties of undefined" error
  • Update all dependencies to latest stable versions (TS 5.6, esbuild 0.25, ESLint v8)
  • Enable TypeScript strict mode with all type-checking options
  • Add stricter ESLint rules with type-aware linting
  • Fix 35+ code quality issues from stricter checks
  • Add CLAUDE.md documentation for future development
  • Resolve all 7 security vulnerabilities

🤖 Generated with Claude Code

- Fix async checkFile bug causing "Cannot read properties of undefined" error
- Update all dependencies to latest stable versions (TS 5.6, esbuild 0.25, ESLint v8)
- Enable TypeScript strict mode with all type-checking options
- Add stricter ESLint rules with type-aware linting
- Fix 35+ code quality issues from stricter checks
- Add CLAUDE.md documentation for future development
- Resolve all 7 security vulnerabilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Mitra98t
Copy link
Copy Markdown
Owner

Mitra98t commented Nov 1, 2025

Hello, thanks for the pr!

After a quick inspection is seems that the code is ok so no problem there.
The only modification is that I would like to not have the dedicated .md files for claude in the repo.

If you prefer, please add a section to the readme file noting the usage of claude and listing the feature and fixed it has worked on.

dizzlkheinz added a commit to dizzlkheinz/vault2book-plugin that referenced this pull request Nov 8, 2025
Per maintainer feedback on PR Mitra98t#5, remove dedicated CLAUDE.md file and add
a Development section to README documenting Claude Code's contributions:
- Bug fixes (async checkFile error)
- Code quality improvements (strict mode, ESLint rules)
- Dependency updates and security fixes
- Build commands reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dizzlkheinz
Copy link
Copy Markdown
Author

Okay; I gave claude your comment and it did it's thing. I hope that it's helpful.

Per maintainer feedback on PR Mitra98t#5, remove dedicated CLAUDE.md file and add
a Development section to README documenting Claude Code's contributions:
- Bug fixes (async checkFile error)
- Code quality improvements (strict mode, ESLint rules)
- Dependency updates and security fixes
- Build commands reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants