Skip to content

Commit 24eccfb

Browse files
authored
Upgrade vue-eslint-parser (#1422)
1 parent 3168819 commit 24eccfb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"eslint-utils": "^2.1.0",
5757
"natural-compare": "^1.4.0",
5858
"semver": "^7.3.2",
59-
"vue-eslint-parser": "^7.3.0"
59+
"vue-eslint-parser": "^7.4.1"
6060
},
6161
"devDependencies": {
6262
"@types/eslint": "^7.2.0",

tests/lib/rules/no-parsing-error.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ tester.run('no-parsing-error', rule, {
249249
filename: 'test.vue',
250250
code: '<template><div v-for="foo">hello</div></template>',
251251
errors: [
252-
{ message: 'Parsing error: Unexpected end of expression.', column: 26 }
252+
{
253+
message: 'Parsing error: Expected to be an alias, but got empty.',
254+
column: 23
255+
}
253256
]
254257
},
255258
{

0 commit comments

Comments
 (0)