Migrating to eslint v9 (typescript)

Eslint had a major update which caused a lot of problems with the existing configuration I had in different projects. This led me to postpone the migration until things settled down a bit. Hoping that others had time to find fixes, workaround or examples to follow.