I had a similar situation recently. Turns out y accidentally created a filname.d.ts file in my repository, which seemingly caused ESLint to crash.
filname.d.ts
Sharing this here in case it helps.