Remove errors

pull/8535/head
Nguyen Tran 3 years ago
parent 587c168664
commit 27a4e2f5e8

@ -96,10 +96,6 @@ export default {
code: 'illegal-attribute',
message: `'${name}' is not a valid attribute name`
}),
invalid_slot_attribute: {
code: 'invalid-slot-attribute',
message: 'slot attribute cannot have a dynamic value'
},
duplicate_slot_attribute: (name: string) => ({
code: 'duplicate-slot-attribute',
message: `Duplicate '${name}' slot`

@ -1,12 +0,0 @@
[{
"code": "invalid-slot-attribute",
"message": "slot attribute cannot have a dynamic value",
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 19
}
}]

@ -1,7 +0,0 @@
<script>
import Nested from './Nested.svelte';
</script>
<Nested>
<button slot={foo}>click me</button>
</Nested>

@ -1,12 +0,0 @@
[{
"code": "dynamic-slot-name",
"message": "<slot> name cannot be dynamic",
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 18
}
}]
Loading…
Cancel
Save