also match variable names to be @type when uppercased

This commit is contained in:
kiyan42 2020-09-19 12:32:28 +02:00 committed by Kiyan Yazdani
parent 1340375c90
commit b3a1ae3210

View file

@ -23,4 +23,7 @@
(jsx_self_closing_element ((identifier) @type
(#match? @type "^[A-Z]")))
(variable_declarator ((identifier) @type
(#match? @type "^[A-Z]")))
(jsx_text) @none