obsidian-importer
obsidian-importer copied to clipboard
Upgrade TypeScript and enhance type safety
- Upgrade TypeScript to version 5.9.2 and address type errors.
- Improve type strictness in
src/formats/yarleby replacinganywith specific types, applying valibot schemas to XML-related objects, and refining function signatures. - Migrate ESLint configuration to Flat Config and update ESLint and TypeScript ESLint versions.
I can split upgrade([TS,ESLint]) part from this PR so please tell me.
There are some very nice improvements in this pull request, but it covers a lot of surface area and has several unrelated changes. Can you please break this up into smaller chunks so that they can be reviewed and merged separately. For example, the ESLint format change should be one, the Evernote/yarle changes should be separate, the typing enhancements could be separate too.
Thank you!