Even though the documentation says that recommendedConfig is optional, I'm getting this error for ESLint:
TypeError: Missing parameter 'recommendedConfig' in FlatCompat constructor
I think this is because a Nuxt config uses a non-flat file and is using 'eslint:recommended'. But the documentation doesn't make clear when you would / would not need that option.