Skip to content

Commit 5cf0e12

Browse files
authored
fix(no-multiple-objects-in-class): improve grammar of description (#2658)
1 parent 0d8b594 commit 5cf0e12

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
@@ -233,7 +233,7 @@ For example:
233233
| [vue/no-deprecated-model-definition] | disallow deprecated `model` definition (in Vue.js 3.0.0+) | :bulb: | :warning: |
234234
| [vue/no-duplicate-attr-inheritance] | enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"` | | :hammer: |
235235
| [vue/no-empty-component-block] | disallow the `<template>` `<script>` `<style>` block to be empty | :wrench: | :hammer: |
236-
| [vue/no-multiple-objects-in-class] | disallow to pass multiple objects into array to class | | :hammer: |
236+
| [vue/no-multiple-objects-in-class] | disallow passing multiple objects in an array to class | | :hammer: |
237237
| [vue/no-potential-component-option-typo] | disallow a potential typo in your component property | :bulb: | :hammer: |
238238
| [vue/no-ref-object-reactivity-loss] | disallow usages of ref objects that can lead to loss of reactivity | | :warning: |
239239
| [vue/no-required-prop-with-default] | enforce props with default values to be optional | :wrench::bulb: | :warning: |

Diff for: docs/rules/no-multiple-objects-in-class.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-objects-in-class
5-
description: disallow to pass multiple objects into array to class
5+
description: disallow passing multiple objects in an array to class
66
since: v7.0.0
77
---
88

99
# vue/no-multiple-objects-in-class
1010

11-
> disallow to pass multiple objects into array to class
11+
> disallow passing multiple objects in an array to class
1212
1313
## :book: Rule Details
1414

Diff for: lib/rules/no-multiple-objects-in-class.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
meta: {
2222
type: 'suggestion',
2323
docs: {
24-
description: 'disallow to pass multiple objects into array to class',
24+
description: 'disallow passing multiple objects in an array to class',
2525
categories: undefined,
2626
url: 'https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html'
2727
},

0 commit comments

Comments
 (0)