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/6314/head
parent
17c5402e31
commit
de6d0c66d3
@ -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