patch upper-case acronyms to be PascalCase

This commit is contained in:
Erik Krogh Kristensen
2022-03-11 11:10:33 +01:00
parent e3a15792fa
commit 69353bb014
422 changed files with 3532 additions and 2244 deletions

View File

@@ -16,9 +16,9 @@ import semmle.javascript.security.SensitiveActions
*/
predicate config(string key, string val, Locatable valElement) {
(
exists(JSONObject obj | not exists(PackageJSON p | obj = p.getADependenciesObject(_)) |
exists(JsonObject obj | not exists(PackageJson p | obj = p.getADependenciesObject(_)) |
obj.getPropValue(key) = valElement and
val = valElement.(JSONString).getValue()
val = valElement.(JsonString).getValue()
)
or
exists(YAMLMapping m, YAMLString keyElement |