Skip to content

Commit af4bdc7

Browse files
committed
feat(jsx-directive): support jsx_namespace_name in v-on
1 parent 8d0da9e commit af4bdc7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/utils/is-event.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ rule:
99
- kind: identifier
1010
- kind: function
1111
- kind: arrow_function
12-
follows:
13-
kind: property_identifier
12+
inside:
13+
kind: jsx_attribute
1414
regex: ^on[A-Z_]
15-
stopBy: end

0 commit comments

Comments
 (0)