web-platform-dx / web-features

Exploring how to present Web platform features adoptability
https://web-platform-dx.github.io/web-features/
Apache License 2.0
364 stars 72 forks source link

Features not following proper casing #1541

Open npm1 opened 3 months ago

npm1 commented 3 months ago

It seems https://github.com/web-platform-dx/web-features/tree/main/features uses dash for each word (even if a word is a method composed of many words). So for example canvas-createconicgradient.yml. This translates to incorrectly named enums as in https://chromium-review.googlesource.com/c/chromium/src/+/5734512.

foolip commented 3 months ago

For the most part feature IDs separate each word, as in request-video-frame-callback. But you're right that we have some exceptions:

How do we avoid doing this again (linting?) and should we change the existing identifiers?

cc @ddbeck @Elchi3 @captainbrosset