Skip to content

Commit 0d8b594

Browse files
authored
fix(no-multiple-slot-args): improve grammar of description (#2659)
1 parent 3e8120f commit 0d8b594

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: docs/rules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
179179
| [vue/attributes-order] | enforce order of attributes | :wrench: | :three::two::hammer: |
180180
| [vue/component-tags-order] | enforce order of component top-level elements | :wrench::no_entry_sign: | :three::two::hammer: |
181181
| [vue/no-lone-template] | disallow unnecessary `<template>` | | :three::two::warning: |
182-
| [vue/no-multiple-slot-args] | disallow to pass multiple arguments to scoped slots | | :three::two::warning: |
182+
| [vue/no-multiple-slot-args] | disallow passing multiple arguments to scoped slots | | :three::two::warning: |
183183
| [vue/no-v-html] | disallow use of v-html to prevent XSS attack | | :three::two::hammer: |
184184
| [vue/order-in-components] | enforce order of properties in components | :wrench::bulb: | :three::two::hammer: |
185185
| [vue/this-in-template] | disallow usage of `this` in template | :wrench: | :three::two::hammer: |

Diff for: docs/rules/no-multiple-slot-args.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-multiple-slot-args
5-
description: disallow to pass multiple arguments to scoped slots
5+
description: disallow passing multiple arguments to scoped slots
66
since: v7.0.0
77
---
88

99
# vue/no-multiple-slot-args
1010

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

Diff for: lib/rules/no-multiple-slot-args.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
meta: {
1212
type: 'problem',
1313
docs: {
14-
description: 'disallow to pass multiple arguments to scoped slots',
14+
description: 'disallow passing multiple arguments to scoped slots',
1515
categories: ['vue3-recommended', 'vue2-recommended'],
1616
url: 'https://eslint.vuejs.org/rules/no-multiple-slot-args.html'
1717
},

0 commit comments

Comments
 (0)