Skip to content

Commit

Permalink
feat: update suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
waynzh committed Nov 19, 2024
1 parent 148cc44 commit 902db38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ For example:
| [vue/require-prop-comment](./require-prop-comment.md) | require props to have a comment | | :hammer: |
| [vue/require-typed-object-prop](./require-typed-object-prop.md) | enforce adding type declarations to object props | :bulb: | :hammer: |
| [vue/require-typed-ref](./require-typed-ref.md) | require `ref` and `shallowRef` functions to be strongly typed | | :hammer: |
| [vue/restricted-component-names](./restricted-component-names.md) | enforce consistency in component names | | :warning: |
| [vue/restricted-component-names](./restricted-component-names.md) | enforce using only specific in component names | | :warning: |
| [vue/script-indent](./script-indent.md) | enforce consistent indentation in `<script>` | :wrench: | :lipstick: |
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys in a manner that is compatible with order-in-components | | :hammer: |
| [vue/static-class-names-order](./static-class-names-order.md) | enforce static class names order | :wrench: | :hammer: |
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/restricted-component-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
pageClass: rule-details
sidebarDepth: 0
title: vue/restricted-component-names
description: enforce consistency in component names
description: enforce using only specific in component names
---

# vue/restricted-component-names

> enforce consistency in component names
> enforce using only specific in component names
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>

Expand Down
4 changes: 2 additions & 2 deletions lib/rules/restricted-component-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
meta: {
type: 'problem',
docs: {
description: 'enforce consistency in component names',
description: 'enforce using only specific in component names',
categories: undefined,
url: 'https://eslint.vuejs.org/rules/restricted-component-names.html'
},
Expand All @@ -66,7 +66,7 @@ module.exports = {
}
],
messages: {
invalidName: 'Component name "{{name}}" is not valid.'
invalidName: 'Component name "{{name}}" is not allowed.'
}
},
/** @param {RuleContext} context */
Expand Down

0 comments on commit 902db38

Please sign in to comment.