DEV Community

Discussion on: An easy React 17 + TypeScript + Tailwind CSS + NextJS setup

Collapse
 
rtivital profile image
Vitaly Rtishchev

I think you do not need this, since you are using typescript parser:

parserOptions: {
        ecmaVersion: 2020,
        sourceType: 'module',
        ecmaFeatures: {
            jsx: true,
        },
    },
Enter fullscreen mode Exit fullscreen mode
Collapse
 
nikolovlazar profile image
Lazar Nikolov • Edited

I do actually need that. Since I'm using the @typescript-eslint/parser, the default value for ecmaVersion is 2018, and the ecmaFeatures > jsx is false by default.