Skip to content
This repository has been 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

Open
adekbadek opened this issue Feb 10, 2020 · 0 comments

Comments

@adekbadek
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant