Skip to content

Commit

Permalink
9.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 30, 2024
1 parent 2dc7889 commit ac73565
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docs/rules/no-restricted-v-on.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-v-on
description: disallow specific argument in `v-on`
since: v9.21.0
---
# vue/no-restricted-v-on

> disallow specific argument in `v-on`
- :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 allows you to specify `v-on` argument names that you don't want to use in your application.
Expand Down Expand Up @@ -105,6 +104,10 @@ The following properties can be specified for the object.
[vue/no-restricted-static-attribute]: ./no-restricted-static-attribute.md
[vue/no-restricted-v-bind]: ./no-restricted-v-bind.md

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-v-on.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/require-explicit-slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/require-explicit-slots
description: require slots to be explicitly defined
since: v9.21.0
---
# vue/require-explicit-slots

> require slots to be explicitly defined
- :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 all slots used in the template to be defined once either in the `script setup` block with the [`defineSlots`](https://vuejs.org/api/sfc-script-setup.html) macro, or with the [`slots property`](https://vuejs.org/api/options-rendering.html#slots) in the Options API.
Expand Down Expand Up @@ -66,6 +65,10 @@ defineComponent({

Nothing.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/require-explicit-slots.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "9.20.1",
"version": "9.21.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit ac73565

Please sign in to comment.