Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface VDirectiveKeyV5 extends AST.HasLocation, AST.HasParent {
name: string
argument: string | null
modifiers: string[]
parent: AST.VAttribute
parent: AST.VDirective
shorthand: boolean
raw: {
name: string
Expand All @@ -47,7 +47,7 @@ export interface VDirectiveKeyV5 extends AST.HasLocation, AST.HasParent {
}
export interface VDirectiveKeyV6 extends AST.HasLocation, AST.HasParent {
type: "VDirectiveKey"
parent: AST.VAttribute
parent: AST.VDirective
name: AST.VIdentifier
argument: AST.VExpressionContainer | AST.VIdentifier | null
modifiers: AST.VIdentifier[]
Expand Down
42 changes: 11 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-regexp": "^0.1.1",
"eslint-plugin-vue": "^7.3.0",
"eslint-plugin-vue-scoped-css": "^0.5.0",
"eslint-plugin-vue-scoped-css": "^1.0.0",
"eslint4b": "^7.5.0",
"mocha": "^7.0.0",
"nyc": "^15.1.0",
Expand All @@ -82,6 +82,7 @@
"ts-node": "^8.10.2",
"typescript": "^4.1.3",
"vue-eslint-editor": "^1.1.0",
"vue-eslint-parser": "^7.4.1",
"vuepress": "^1.7.1"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/rules/no-parsing-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ tester.run("no-parsing-error", rule as any, {
<style scoped>
.item {
</style>
<doc></doc`,
<doc></doc `,
errors: [
{
message: "Parsing error: eof-in-tag.",
line: 5,
column: 23,
column: 25,
},
],
},
Expand Down