Skip to content

Commit

Permalink
9.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 24, 2022
1 parent ec0276b commit a15d036
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docs/rules/require-prop-comment.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/require-prop-comment
description: require props to have a comment
since: v9.8.0
---
# vue/require-prop-comment

> require props to have a comment
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule enforces that every prop has a comment that documents it.
Expand Down Expand Up @@ -138,6 +137,10 @@ const badProps = defineProps({

</eslint-code-block>

## :rocket: Version

This rule was introduced in eslint-plugin-vue v9.8.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/require-prop-comment.js)
Expand Down
2 changes: 2 additions & 0 deletions lib/utils/vue3-export-names.json
Expand Up @@ -41,6 +41,7 @@
"ComponentCustomOptions",
"ComponentCustomProperties",
"ComponentCustomProps",
"ComponentInjectOptions",
"ComponentInternalInstance",
"ComponentObjectPropsOptions",
"ComponentOptions",
Expand Down Expand Up @@ -153,6 +154,7 @@
"proxyRefs",
"pushScopeId",
"queuePostFlushCb",
"Raw",
"reactive",
"ReactiveEffect",
"ReactiveEffectOptions",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "9.7.0",
"version": "9.8.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit a15d036

Please sign in to comment.