79347092

Date: 2025-01-10 21:38:28
Score: 0.5
Natty:
Report link

I believe the generated eslint.config.mjs contains a mistake.

typescript-eslint docs say to configure tseslint like this:

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  eslint.configs.recommended,
  tseslint.configs.recommended,
);

https://typescript-eslint.io/getting-started/

But I don't see tseslint.config() called anywhere?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ivan Rubinson