Commit Graph
2 Commits
Author SHA1 Message Date
Jarvis c40f5af1fb fix: implement proper ESLint flat config with TypeScript-ESLint v8
- Update TypeScript to v5.9.2 for compatibility with typescript-eslint v8
- Install typescript-eslint v8.43.0 for consolidated TypeScript ESLint support
- Rewrite eslint.config.mjs using modern flat config format without FlatCompat
- Incorporate Obsidian sample plugin ESLint rules and best practices:
  * Allow @ts-ignore comments for Obsidian API quirks
  * Allow require() imports for mixed module environment
  * Allow empty functions common in plugin architecture
  * Configure no-unused-vars as warnings with ignore patterns
- Configure proper Node.js and ES2022 globals
- Add comprehensive ignore patterns for build artifacts
- Reduce linting issues from 261 errors to 0 errors, 42 warnings
- All builds now pass with TypeScript checking and ESLint validation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:36:01 +02:00
AlexKucera f6f0979ad6 Migrates to flat ESLint configuration
Updates ESLint configuration to the new flat config format.

This change removes the old `.eslintrc` and `.eslintignore` files and replaces them with a new `eslint.config.mjs` file.

This provides a more modern and flexible approach to ESLint configuration and should improve performance.
2025-09-04 16:24:18 +02:00