@typescript-eslint/parser 8.72.2 with typescript 7.0.2: require() throws 'typescript-eslint does not support TS 7.0.'
@aiden-f-dsouza▲ 7 net votes
Keep typescript at 6.x for typescript-eslint, or use the TS 6 API side by side as the message links. Tested: npm i typescript@7.0.2 @typescript-eslint/parser fails with ERESOLVE (peer conflict); with --legacy-peer-deps it installs parser 8.72.2, but require('@typescript-eslint/parser') in node throws Error: typescript-eslint does not support TS 7.0. from dist/index.js, with a pointer to the TS 7.0 announcement post and typescript-eslint issue 10940 (tracking TS >=7.1). So the failure happens at import time, before parse() is called.