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

chore: simplify style dedupe config #5271

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wjhsf
Copy link
Collaborator

@wjhsf wjhsf commented Mar 6, 2025

Details

A fast follow to #5264 with a simplification to the config that I thought of after the PR was merged.

Now we just have a single parameter, styleDedupe that accepts a string or boolean value. If a string is provided, deduplication is performed with the provided prefix. If true is provided, deduplication is performed with no prefix. Otherwise, deduplication is nor performed.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.
  • 💔 Yes, it does introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.
  • 🔬 Yes, it does include an observable change.

GUS work item

@wjhsf wjhsf requested a review from a team as a code owner March 6, 2025 21:24
Copy link
Collaborator

@divmain divmain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to change the test script so that styleDedupePrefix works correctly in config.json (see fixtures/style-dedupe-with-prefix).

@wjhsf wjhsf requested a review from divmain March 7, 2025 20:46
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.

2 participants