You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS say that tseslint.config expects a different return value from includeIgnoreFile(gitIgnorePath):
eslint.config.ts:22:3 - error TS2345: Argument of type 'Config<RulesRecord>' is not assignable to parameter of type 'ConfigWithExtends'.
The types of 'languageOptions.ecmaVersion' are incompatible between these types.
Type 'import("/Users/xxx/project/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/types/index").Linter.EcmaVersion' is not assignable to type 'import("/Users/xxx/project/node_modules/.pnpm/@[email protected]/node_modules/@typescript-eslint/types/dist/parser-options").EcmaVersion'.
Type '16' is not assignable to type 'EcmaVersion'.
Link to Minimal Reproducible Example
don't have
Participation
I am willing to submit a pull request for this issue.
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Which packages are affected?
@eslint/compat
@eslint/config-array
@eslint/core
@eslint/migrate-config
@eslint/object-schema
@eslint/plugin-kit
Environment
Node version:
v18.20.3
npm version:
10.7.0 (pnpm version: 9.0.6)
ESLint version:
Operating System: macOS 15.0.1
What did you do?
Run command:
What did you expect to happen?
Successfully ignoring the paths in .gitignore
What actually happened?
TS say that
tseslint.config
expects a different return value fromincludeIgnoreFile(gitIgnorePath)
:Link to Minimal Reproducible Example
don't have
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: