Skip to content

Can't enable besides tseslint recommended #90

@NomarCub

Description

@NomarCub

I have an existing config that has some recommended tseslint rules enabled. When I try to add this plugin, my config is always invalid. I tried tseslint.config, eslint's defineConfig, and putting this one in any order, but it always screws up the parser options and results in an error. How can I do it?

A common error:

Oops! Something went wrong! :(

ESLint: 9.39.2

Error: Error while loading rule '@typescript-eslint/await-thenable': You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.
Parser: typescript-eslint/parser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions