yeslint/example/wrong.svelte
2023-07-27 21:56:03 +02:00

16 lines
365 B
Svelte

<script>
export let property // unused
const anotherObject ={
"properties" : `This is ugly, the whitespace is too much, and the backticks are unnecessary`,
object:{spacing:'required!'},
functions: [( env )=> console.log(env.password),function ({password}) { console.log( password )}]
};
</script>
<div class="{anotherObject.className}"></div>