fix(starlark): fields should not match uppercase-beginning names (#4734)

This commit is contained in:
Amaan Qureshi 2023-04-29 20:56:30 -04:00 committed by GitHub
parent 9bfc966769
commit 7133622c44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
((attribute
attribute: (identifier) @field)
(#lua-match? @field "^.*%l.*$"))
(#lua-match? @field "^[%l_].*$"))
((assignment
left: (identifier) @type.definition