Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qrcf opened this issue Sep 14, 2024 · 0 comments
Open

Comments

@qrcf
Copy link

qrcf commented Sep 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant