Type '{ languageOptions: Linter.LanguageOptions | undefined; rules: Linter.RulesRecord; plugins: { n: ESLint.Plugin; }; }' is not assignable to type 'Config<RulesRecord>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.