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

Add glossary to linting #113

Merged
merged 3 commits into from
Apr 10, 2021
Merged

Add glossary to linting #113

merged 3 commits into from
Apr 10, 2021

Conversation

ErikSchierboom
Copy link
Member

CC @ee7

@ErikSchierboom ErikSchierboom requested a review from iHiD April 9, 2021 12:38
@ee7
Copy link
Member

ee7 commented Apr 9, 2021

kebab_case: strings containing only characters in the range [a-z0-9-]

This permits strings like -integers and numeric--types.

Should the definition be a bit stricter? Maybe something like this?
^[a-z0-9]+(-[a-z0-9]+)*$

Note that the below doesn't match 05ab1e, which should be a valid slug.
^([a-z][a-z0-9]*)(-[a-z0-9]+)*$

@ErikSchierboom ErikSchierboom requested a review from iHiD April 10, 2021 07:35
@iHiD iHiD merged commit b1a1223 into main Apr 10, 2021
@iHiD iHiD deleted the lint-glossary branch April 10, 2021 14:33
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.

3 participants