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

Don't ignore by default with --stdin-filepath, use --respect-ignores #912

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

JohnnyMorganz
Copy link
Owner

@JohnnyMorganz JohnnyMorganz commented Nov 16, 2024

Back in #765, we introduced --respect-ignores behaviour that would force look ups in .styluaignore even if a file was explicitly provided on the command line.

This behaviour was not switched over for --stdin-filepath due to backwards compatibility reasons, since stdin ignoring was originally added in #495

Now, as we approach v2, we make the breaking change to make --stdin-filepath not respect ignores by default. Pass --respect-ignores to preserve original behaviour.

@JohnnyMorganz JohnnyMorganz merged commit 5e4e837 into main Nov 16, 2024
17 checks passed
@JohnnyMorganz JohnnyMorganz deleted the stdin-filepath-respect-ignores branch November 16, 2024 20:18
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

Successfully merging this pull request may close these issues.

1 participant