Skip to content

Commit

Permalink
fix(no-multiple-slot-args): improve grammar of description (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Dec 22, 2024
1 parent 3e8120f commit 0d8b594
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
| [vue/attributes-order] | enforce order of attributes | :wrench: | :three::two::hammer: |
| [vue/component-tags-order] | enforce order of component top-level elements | :wrench::no_entry_sign: | :three::two::hammer: |
| [vue/no-lone-template] | disallow unnecessary `<template>` | | :three::two::warning: |
| [vue/no-multiple-slot-args] | disallow to pass multiple arguments to scoped slots | | :three::two::warning: |
| [vue/no-multiple-slot-args] | disallow passing multiple arguments to scoped slots | | :three::two::warning: |
| [vue/no-v-html] | disallow use of v-html to prevent XSS attack | | :three::two::hammer: |
| [vue/order-in-components] | enforce order of properties in components | :wrench::bulb: | :three::two::hammer: |
| [vue/this-in-template] | disallow usage of `this` in template | :wrench: | :three::two::hammer: |
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/no-multiple-slot-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
pageClass: rule-details
sidebarDepth: 0
title: vue/no-multiple-slot-args
description: disallow to pass multiple arguments to scoped slots
description: disallow passing multiple arguments to scoped slots
since: v7.0.0
---

# vue/no-multiple-slot-args

> disallow to pass multiple arguments to scoped slots
> disallow passing multiple arguments to scoped slots
- :gear: This rule is included in all of `"plugin:vue/vue3-recommended"`, `*.configs["flat/recommended"]`, `"plugin:vue/recommended"` and `*.configs["flat/vue2-recommended"]`.

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-multiple-slot-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
meta: {
type: 'problem',
docs: {
description: 'disallow to pass multiple arguments to scoped slots',
description: 'disallow passing multiple arguments to scoped slots',
categories: ['vue3-recommended', 'vue2-recommended'],
url: 'https://eslint.vuejs.org/rules/no-multiple-slot-args.html'
},
Expand Down

0 comments on commit 0d8b594

Please sign in to comment.