Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Temporary directory causes issues when Eslint rule import/no-unresolved is used #316

@adekbadek

Description

@adekbadek

This lib creates a tmp directory with changed files only, in order to lint them.
However this causes issues when using Eslint rule import/no-unresolved. When a changed file (changed line, to be precise) imports another file, which was not changed (not incl. in the git diff), this rule check will fail.
The solution can be to copy the whole codebase into the tmp directory, not just the changed files.

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