Skip to content

--dirty does not respect uncommited files #184

@mhdarffn

Description

@mhdarffn
Current setup:

Duster v3.2.0
Laravel v12.19.3
Php 8.3

With Duster, we can utilize the --dirty flag, which instructs the tool to run linters or fixers only on files that have been staged but not yet committed.

Previously, this will only run the linting for staged files :

/vendor/bin/duster lint --dirty

But, with latest duster v3.2.0 it run the linting to all files instead of only the staged files.

FYI, this is working correctly prior to this version :

Previous setup:

Laravel v11.18.1
Duster v3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions