Skip to content

Commit cfa4949

Browse files
authored
Update no-empty-component-block.md
1 parent c21dde0 commit cfa4949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-empty-component-block.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See: https://vue-loader.vuejs.org/spec.html#src-imports
1717
<eslint-code-block :rules="{'vue/no-empty-component-block': ['error']}">
1818

1919
```vue
20-
// ✓ GOOD
20+
<!-- ✓ GOOD -->
2121
<template>
2222
<p>foo</p>
2323
</template>
@@ -42,7 +42,7 @@ See: https://vue-loader.vuejs.org/spec.html#src-imports
4242
<style src="./style.css" />
4343
4444
45-
// ✗ BAD
45+
<!-- ✗ BAD -->
4646
<template></template>
4747
<template />
4848
<template src="" />

0 commit comments

Comments
 (0)