What is the problem you're trying to solve?
Some rules needs to know about all the imported files to work effectively. For example, the no-unknown-animations (Related issue #2363) rule is not very useful as it currently only works for animations defined in the same file, but it's common to define animations in a separate file. This leads to a lot of annoying stylelint-disable comments, which eventually just leads to disabling those rules all together.
What solution would you like to see?
It would be great if the linter created a graph of all the files being linted, including imported ones, and rules could use that information.
Some rules needs to know about all the imported files to work effectively. For example, the
no-unknown-animations(Related issue #2363) rule is not very useful as it currently only works for animations defined in the same file, but it's common to define animations in a separate file. This leads to a lot of annoyingstylelint-disablecomments, which eventually just leads to disabling those rules all together.It would be great if the linter created a graph of all the files being linted, including imported ones, and rules could use that information.