Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Jan 24, 2024
1 parent fdc4d46 commit 3698652
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ For example:
| [vue/prefer-true-attribute-shorthand](./prefer-true-attribute-shorthand.md) | require shorthand form attribute when `v-bind` value is `true` | :bulb: | :hammer: |
| [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | | :hammer: |
| [vue/require-emit-validator](./require-emit-validator.md) | require type definitions in emits | :bulb: | :hammer: |
| [vue/require-explicit-slots](./require-explicit-slots.md) | require slots to be explicitly defined | | :warning: |
| [vue/require-expose](./require-expose.md) | require declare public properties using `expose` | :bulb: | :hammer: |
| [vue/require-macro-variable-name](./require-macro-variable-name.md) | require a certain macro variable name | :bulb: | :hammer: |
| [vue/require-name-property](./require-name-property.md) | require a name property in Vue components | :bulb: | :hammer: |
Expand Down
1 change: 0 additions & 1 deletion docs/rules/no-restricted-static-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ title: vue/no-restricted-static-attribute
description: disallow specific attribute
since: v7.0.0
---

# vue/no-restricted-static-attribute

> disallow specific attribute
Expand Down
1 change: 0 additions & 1 deletion docs/rules/no-restricted-v-bind.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ title: vue/no-restricted-v-bind
description: disallow specific argument in `v-bind`
since: v7.0.0
---

# vue/no-restricted-v-bind

> disallow specific argument in `v-bind`
Expand Down
8 changes: 6 additions & 2 deletions docs/rules/require-explicit-slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
pageClass: rule-details
sidebarDepth: 0
title: vue/require-explicit-slots
description: require slots to be explicitly defined with defineSlots
description: require slots to be explicitly defined
---

# vue/require-explicit-slots

> require slots to be explicitly defined
Expand Down Expand Up @@ -66,3 +65,8 @@ defineComponent({
## :wrench: Options

Nothing.

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/require-explicit-slots.js)
- [Test source](https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/require-explicit-slots.js)
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ module.exports = {
'require-direct-export': require('./rules/require-direct-export'),
'require-emit-validator': require('./rules/require-emit-validator'),
'require-explicit-emits': require('./rules/require-explicit-emits'),
'require-explicit-slots': require('./rules/require-explicit-slots'),
'require-expose': require('./rules/require-expose'),
'require-macro-variable-name': require('./rules/require-macro-variable-name'),
'require-name-property': require('./rules/require-name-property'),
Expand Down

0 comments on commit 3698652

Please sign in to comment.