Skip to content

Add resolver to configuration #4088

@sindresorhus

Description

@sindresorhus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: wipis being worked on by someone
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions