Skip to content

files from node_modules getting resloved despite being in .eslintignore #606

Closed
@olessavluk

Description

@olessavluk

Hi 👋

After updating to 6.2.6 which includes #602 I've got this error eslint/eslint#14533. My config is:

eslint: {
    files: ['**/*.{js,jsx,ts,tsx}'],
},

But I also have node_modules ignored and when running from CLI yarn eslint --fix '**/*.{js,jsx,ts,tsx}' it works just fine.

Do you think it can be fixed? Or maybe I can specify this blob differently to not include node_modules in the first place?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions