Skip to content

Fix a semantic identifier validation rule#22804

Merged
thykel merged 4 commits intofeature/71654-semantic-converter-3from
fix_identifier_validation_rules
Apr 21, 2026
Merged

Fix a semantic identifier validation rule#22804
thykel merged 4 commits intofeature/71654-semantic-converter-3from
fix_identifier_validation_rules

Conversation

@thykel
Copy link
Copy Markdown
Contributor

@thykel thykel commented Apr 16, 2026

Ticket

What are you trying to accomplish?

The current ruleset contains a rule called starts_with_number with checks that the ID does not start with a number.

However, this does not rule out underscores -- these are allowed within semantic IDs, but not at the beginning.

Replace the rule with a more focused one.

Screenshots

What approach did you choose and why?

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@thykel thykel requested review from a team and akabiru April 16, 2026 19:31
Copy link
Copy Markdown
Contributor

@judithroth judithroth left a comment

Choose a reason for hiding this comment

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

Good catch! 🥳 🚀

@thykel thykel merged commit 148ebfd into feature/71654-semantic-converter-3 Apr 21, 2026
10 of 11 checks passed
@thykel thykel deleted the fix_identifier_validation_rules branch April 21, 2026 11:14
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants