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.