feat(javascript): move shorthand prop to property

This commit is contained in:
Steven Sojka 2021-01-26 07:54:49 -06:00 committed by Thomas Vigouroux
parent 76d4a2a0c4
commit db033f7239

View file

@ -11,13 +11,11 @@
;----------- ;-----------
(property_identifier) @property (property_identifier) @property
(shorthand_property_identifier) @variable (shorthand_property_identifier) @property
; Special identifiers ; Special identifiers
;-------------------- ;--------------------
(identifier) @variable
((identifier) @constructor ((identifier) @constructor
(#match? @constructor "^[A-Z]")) (#match? @constructor "^[A-Z]"))