Skip to content

How to enable 'Typed Linting' in @nuxt/eslint #538

Closed
@vibonacci

Description

@vibonacci

I want to use the rule @typescript-eslint/naming-convention which requires 'Typed Linting' feature to be enabled.

According to the docs, this requires the following steps:

Add TypeChecked to the name of any preset configs you're using, namely recommended, strict, and stylistic.
Add languageOptions.parserOptions to tell our parser how to find the TSConfig for each source file.

But since @nuxt/eslint does not use a standard eslint.config.mjs format, I have no clue how to achieve this.

Has somebody succeeded in getting the Typed Linting to work?

TypeScript ESLint docs:
https://typescript-eslint.io/getting-started/typed-linting/

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