File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ pageClass: rule-details
3
3
sidebarDepth : 0
4
4
title : vue/require-prop-comment
5
5
description : require props to have a comment
6
+ since : v9.8.0
6
7
---
7
8
# vue/require-prop-comment
8
9
9
10
> require props to have a comment
10
11
11
- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
12
-
13
12
## :book : Rule Details
14
13
15
14
This rule enforces that every prop has a comment that documents it.
@@ -138,6 +137,10 @@ const badProps = defineProps({
138
137
139
138
</eslint-code-block >
140
139
140
+ ## :rocket : Version
141
+
142
+ This rule was introduced in eslint-plugin-vue v9.8.0
143
+
141
144
## :mag : Implementation
142
145
143
146
- [ Rule source] ( https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/require-prop-comment.js )
Original file line number Diff line number Diff line change 41
41
" ComponentCustomOptions" ,
42
42
" ComponentCustomProperties" ,
43
43
" ComponentCustomProps" ,
44
+ " ComponentInjectOptions" ,
44
45
" ComponentInternalInstance" ,
45
46
" ComponentObjectPropsOptions" ,
46
47
" ComponentOptions" ,
153
154
" proxyRefs" ,
154
155
" pushScopeId" ,
155
156
" queuePostFlushCb" ,
157
+ " Raw" ,
156
158
" reactive" ,
157
159
" ReactiveEffect" ,
158
160
" ReactiveEffectOptions" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-vue" ,
3
- "version" : " 9.7 .0" ,
3
+ "version" : " 9.8 .0" ,
4
4
"description" : " Official ESLint plugin for Vue.js" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments