When attempting to use camelCase for the ComponentNameChecker.case parameter I noticed it's still applying the PascalCase logic. Digging into the code it looks like the issue is an incomplete method isInvalidComponent() in ValidName.java.
Note the lack of use of the defined caseOk variable. Compare to the method just preceding isInvalid() which does utilize a similarly named variable.
Component name salesOrder is not a valid name. Please use camelCase and start with a capital letter. cflint(COMPONENT_INVALID_NAME) [1, 1]
I'm happy to tackle putting a PR together though can't tackle it immediately. If anyone else wants to tackle first, or perhaps the core team has some ideas on this one, please mention them below.
When attempting to use camelCase for the
ComponentNameChecker.case
parameter I noticed it's still applying the PascalCase logic. Digging into the code it looks like the issue is an incomplete methodisInvalidComponent()
in ValidName.java.Note the lack of use of the defined
caseOk
variable. Compare to the method just precedingisInvalid()
which does utilize a similarly named variable.I'm happy to tackle putting a PR together though can't tackle it immediately. If anyone else wants to tackle first, or perhaps the core team has some ideas on this one, please mention them below.