Skip to content

Custom TLint Preset does not work with --using="tlint" only with custom script #157

@qrcf

Description

@qrcf

Hello!

When I make a custom TLint preset in my own app directory, TLint works appropriately when ran from a custom script:
"scripts": { "lint": { "1CTLint": [ "./vendor/bin/tlint", "lint", "app" ] },

But fails when running vendor/bin/duster lint --using="tlint"

The error is:
The preset 'Tighten\TLint\Presets\App\Support\Linting\BackendPresetPreset' does not exist or does not implement the PresetInterface.

tlint.json:
{ "preset": "App\\Support\\Linting\\BackendPreset", "disabled": [], "excluded": [ "stubs", "bin" ], "paths": [ { "app": [ "app" ] } ] }

Driving me crazy, because --dirty does not work properly on the custom script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions