Skip to content

Commit ddfb904

Browse files
committed
fix lint issue: "space inside link text"
1 parent 4e55123 commit ddfb904

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/rules/no-shadow-native-events.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: disallow `emits` which would shadow native html events
1515
This rule reports emits that shadow native HTML events. (The `emits` option is a new in Vue.js 3.0.0+)
1616

1717
Using native event names for emits can lead to incorrect assumptions about an emit and cause confusion. This is caused by Vue emits behaving differently from native events. E.g. :
18+
1819
- The payload of an emit can be chosen arbitrarily
1920
- Vue emits do not bubble, while most native events do
2021
- [Event modifiers](https://vuejs.org/guide/essentials/event-handling.html#event-modifiers) only work on HTML events or when the original event is re-emitted as emit payload.
@@ -46,5 +47,5 @@ Nothing.
4647

4748
## :books: Further Reading
4849

49-
- [Components In-Depth - Events / Component Events ](https://vuejs.org/guide/components/events.html#event-arguments)
50+
- [Components In-Depth - Events / Component Events](https://vuejs.org/guide/components/events.html#event-arguments)
5051
- [Vue RFCs - 0030-emits-option](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0030-emits-option.md)

docs/rules/require-explicit-emits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default {
118118

119119
## :books: Further Reading
120120

121-
- [Components In-Depth - Events / Component Events ](https://vuejs.org/guide/components/events.html#event-arguments)
121+
- [Components In-Depth - Events / Component Events](https://vuejs.org/guide/components/events.html#event-arguments)
122122
- [Vue RFCs - 0030-emits-option](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0030-emits-option.md)
123123

124124
## :rocket: Version

0 commit comments

Comments
 (0)