8000 fix: shorthand camelize should be used in `rawName` · waynzh/vue-eslint-parser@2c6536c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c6536c

Browse files
committed
fix: shorthand camelize should be used in rawName
1 parent 7b1f6a1 commit 2c6536c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/template/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ function convertForVBindSameNameShorthandValue(
703703
}
704704
// v-bind same-name shorthand (Vue 3.4+)
705705
const vId = directive.key.argument
706-
const camelName = camelize(vId.name)
706+
const camelName = camelize(vId.rawName)
707707
let result: ESLintExtendedProgram | null = null
708708
try {
709709
result = parseScriptFragment(

0 commit comments

Comments
 (0)
0