You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
withInstanceId uses incorrect capitalization of “ID”. It should be “withInstanceID”. A variable used by the component, instanceId also uses incorrect capitalization.
“ID” should be correctly capitalized in all functions, variables, etc. according to camelCase standards. Assuming I understand camelCase properly, “ID” and “UID” should always be entirely capitalized unless it is the first word in a name, in which case it should be entirely lowercase.
The issue
withInstanceId
uses incorrect capitalization of “ID”. It should be “withInstanceID”. A variable used by the component,instanceId
also uses incorrect capitalization.https://github.com/WordPress/gutenberg/tree/master/components/higher-order/with-instance-id
Expected behavior
“ID” should be correctly capitalized in all functions, variables, etc. according to camelCase standards. Assuming I understand camelCase properly, “ID” and “UID” should always be entirely capitalized unless it is the first word in a name, in which case it should be entirely lowercase.
Related Issues and/or PRs
#6685
#6741
The text was updated successfully, but these errors were encountered: