WICG / WICG/shape-detection-api
[shape-detection-api] Enum values that ignore naming conventions in Accelerated Shape Detection in Images
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 316
- Forks
- 39
- Avg merge
- 8d 3h
- Merged PRs (30d)
- 1
Description
While crawling Accelerated Shape Detection in Images, the following enum values were found to ignore naming conventions (lower case, hyphen separated words):
- The value
"code_128"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"code_39"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"code_93"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"data_matrix"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"ean_13"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"ean_8"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"qr_code"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"upc_a"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words) - The value
"upc_e"of the enumBarcodeFormatdoes not match the expected conventions (lower case, hyphen separated words)
See Use casing rules consistent with existing APIs in Web Platform Design Principles document for guidance.
This issue was detected and reported semi-automatically by Strudy based on data collected in webref.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Accelerated Shape Detection in Images specification and its BarcodeFormat enum, then read the linked W3C Web Platform Design Principles casing rules. Update the nine listed values to use lowercase, hyphen-separated names, and verify that every reported convention mismatch is resolved.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100