We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93fcfc3 commit 8798787Copy full SHA for 8798787
ql/ql/src/queries/style/NoUppercaseVariables.ql
@@ -32,11 +32,11 @@ where
32
(
33
shouldBeLowerCase(node, name, kind) and
34
name.regexpMatch("[^a-z].*") and
35
- message = "lowercase"
+ message = "a lowercase"
36
or
37
shouldBeUpperCase(node, name, kind) and
38
name.regexpMatch("[^A-Z].*") and
39
- message = "uppercase"
+ message = "an uppercase"
40
) and
41
not node.hasAnnotation("deprecated")
42
-select node, prettyKind(kind) + " should start with an " + message + " letter."
+select node, prettyKind(kind) + " should start with " + message + " letter."
0 commit comments