Output on lint tasks #1918
-
In all the examples in the In my understanding, the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
So a couple things:
This is an interesting question though! I'd be curious what @vercel/turbo-oss thinks as well |
Beta Was this translation helpful? Give feedback.
-
A few things:
It's a bit confusing that it is doing this, but it is not wrong for running |
Beta Was this translation helpful? Give feedback.
A few things:
eslint --fix
is intended to be non-material changes only. In other words your code should still function identically.outputs
are intended to capture and restore generated assets that were constructed as part of that task, which can then be available for future tasks (either downstream builds, or releases, or ...) or other developers working on the same repository. Lint changes are generally not relevant to that.lint
. So even with the lint changes this is still safe.It's a bit confusing that it is doing this, but it is not wrong for running
lint
prior tobuild
, and it's useful fort…