mirror of https://github.com/sveltejs/svelte
parent
0d75daa1b0
commit
1f44aa5787
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
let array;
|
||||
</script>
|
||||
{#each array as item}
|
||||
<item />
|
||||
{/each}
|
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"code": "lowercase-component-name",
|
||||
"end": {
|
||||
"character": 64,
|
||||
"column": 10,
|
||||
"line": 5
|
||||
},
|
||||
"message": "A lowercase tag <item> will be treated as a regular HTML element",
|
||||
"pos": 56,
|
||||
"start": {
|
||||
"character": 56,
|
||||
"column": 2,
|
||||
"line": 5
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import thisShouldWarnMe from './MyComponent.svelte';
|
||||
</script>
|
||||
|
||||
<thisShouldWarnMe />
|
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"code": "lowercase-component-name",
|
||||
"message": "A lowercase tag <thisShouldWarnMe> will be treated as a regular HTML element",
|
||||
"pos": 75,
|
||||
"end": {
|
||||
"character": 95,
|
||||
"column": 20,
|
||||
"line": 5
|
||||
},
|
||||
"start": {
|
||||
"character": 75,
|
||||
"column": 0,
|
||||
"line": 5
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in new issue