mirror of https://github.com/sveltejs/svelte
parent
58053cff32
commit
b085662b8e
@ -0,0 +1,3 @@
|
|||||||
|
<div class:one,two="{true}" class:two,three="{false}">
|
||||||
|
Hello World
|
||||||
|
</div>
|
@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "class-name-multiple-attrs",
|
||||||
|
"message": "Class: avoid using class name 'two' in more than one class attribute",
|
||||||
|
"start": {
|
||||||
|
"character": 0,
|
||||||
|
"column": 0,
|
||||||
|
"line": 1
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"character": 74,
|
||||||
|
"column": 6,
|
||||||
|
"line": 3
|
||||||
|
},
|
||||||
|
"pos": 0
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
let one;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="one" class:one/>
|
@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "class-name-multiple-attrs",
|
||||||
|
"message": "Class: avoid using class name 'one' in more than one class attribute",
|
||||||
|
"start": {
|
||||||
|
"character": 30,
|
||||||
|
"column": 0,
|
||||||
|
"line": 5
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"character": 58,
|
||||||
|
"column": 28,
|
||||||
|
"line": 5
|
||||||
|
},
|
||||||
|
"pos": 30
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue