mirror of https://github.com/sveltejs/svelte
Add a more descriptive message for the error generated by an empty shorthand attribute (#6217)
Added error message "empty-attribute-shorthand" for when the shorthand attribute is empty, giving a more explicit error for #6086pull/7738/head
parent
a6f3dc3a4d
commit
a4d0125592
@ -0,0 +1,10 @@
|
||||
{
|
||||
"code": "empty-attribute-shorthand",
|
||||
"message": "Attribute shorthand cannot be empty",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 6,
|
||||
"character": 6
|
||||
},
|
||||
"pos": 6
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<span {}></span>
|
||||
Loading…
Reference in new issue