Skip to content

Commit e1747fc

Browse files
committed
9.12.0
1 parent 1a0bd29 commit e1747fc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/rules/no-root-v-if.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-root-v-if
55
description: disallow `v-if` directives on root element
6+
since: v9.12.0
67
---
7-
88
# vue/no-root-v-if
99

1010
> disallow `v-if` directives on root element
1111
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
13-
1412
This rule reports template roots with `v-if`. Rendering of the whole component could be made conditional in the parent component (with a `v-if` there) instead.
1513

1614
## :book: Rule Details
@@ -31,6 +29,10 @@ This rule reports the template root in the following cases:
3129

3230
Nothing.
3331

32+
## :rocket: Version
33+
34+
This rule was introduced in eslint-plugin-vue v9.12.0
35+
3436
## :mag: Implementation
3537

3638
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-root-v-if.js)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-vue",
3-
"version": "9.11.1",
3+
"version": "9.12.0",
44
"description": "Official ESLint plugin for Vue.js",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)