Closed alxdean closed 1 year ago
You're right. The name of the rule should be "Avoid PascalCase on visible measures and tables".
We'll, that woukd be the correct name for the regex, but I don't agree. I find PascalCase a better standard for visible tables and measures :-)
If fixing anything, then the Regex should be fixed to match the rule :-)
On Wed, 1 Mar 2023, 14:38 Daniel Otykier, @.***> wrote:
You're right. The name of the rule should be "Avoid PascalCase on visible measures and tables".
— Reply to this email directly, view it on GitHub https://github.com/TabularEditor/BestPracticeRules/issues/54#issuecomment-1450167404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3M3QIJESQKNNL4YEJINQ3WZ5GMXANCNFSM6AAAAAAVMB4YOM . You are receiving this because you authored the thread.Message ID: @.***>
The rules are mostly inspired by this article. The good news is, however, that you are free to customize and change them anyway you see fit :)
The Rule "Avoid CamelCase on visible measures and tables" (BPA-Standard) is checking for the first letter being upper case. That would be PascalCasing and not camelCasing. in camelCasing the first letter is lower case.