Skip to content

Using the --path option ignores included/excluded paths in the config file #987

@ghost

Description

This change was made about 3 weeks ago: 3568245

It makes files passed with --path ignore the config file. However, we would like to be able to lint single files but make it also respect the configuration file. For example, if it's in the ignored files, linting would just succeed without even checking the file. Likewise if it is not in the included files.

Keeping this behaviour by default seems fine, but if the --config flag is also specified, it could overwrite the default behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTopics that cannot be categorized as bugs or enhancements yet. They require further discussions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions