Migrate ESLint config to flat format
ESLint introduced a new flat config format back in 2022. The legacy config format has now been deprecated and support will be removed in the near future.
See: https://eslint.org/docs/latest/use/configure/configuration-files
Edited by Daniel Gerhardt