Skip to content

Commit

Permalink
Merge code blocks in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Aug 29, 2024
1 parent dcd4c73 commit 3616733
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/rules/require-toggle-inside-transition.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,7 @@ This rule reports elements inside `<transition>` that do not control the display
<transition><div v-if="show" /></transition>
<transition><div v-show="show" /></transition>
<transition><dialog v-dialog="show" /></transition>
<template>
```

</eslint-code-block>
<eslint-code-block :rules="{'vue/require-toggle-inside-transition': ['error', {additionalDirectives: ['dialog']}]}">

```vue
<template>
<!-- ✗ BAD -->
<transition><div /></transition>
<transition><div v-custom="show" /></transition>
Expand Down

0 comments on commit 3616733

Please sign in to comment.