Skip to content

Commit c31e7e4

Browse files
ST-DDTwaynzh
authored andcommitted
docs: add links
1 parent b776597 commit c31e7e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/rules/no-deprecated-slot-attribute.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This rule reports deprecated `slot` attribute in Vue.js v2.6.0+.
5050
```
5151

5252
- `"ignore"` (`string[]`) An array of tags or regular expression patterns (e.g. `/^custom-/`) that ignore these rules. This option will check both kebab-case and PascalCase versions of the given tag names. Default is empty.
53-
- `"ignoreParents"` (`string[]`) An array of tags or regular expression patterns (e.g. `/^custom-/`) for parents that ignore these rules. This option is especially useful for Web-Components. This option will check both kebab-case and PascalCase versions of the given tag names. Default is empty.
53+
- `"ignoreParents"` (`string[]`) An array of tags or regular expression patterns (e.g. `/^custom-/`) for parents that ignore these rules. This option is especially useful for [Web-Components](https://developer.mozilla.org/en-US/docs/Web/API/Web_components). This option will check both kebab-case and PascalCase versions of the given tag names. Default is empty.
5454

5555
### `"ignore": ["my-component"]`
5656

@@ -117,6 +117,7 @@ This rule reports deprecated `slot` attribute in Vue.js v2.6.0+.
117117
## :books: Further Reading
118118

119119
- [API - slot](https://v2.vuejs.org/v2/api/#slot-deprecated)
120+
- [Web - slot](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)
120121

121122
## :rocket: Version
122123

0 commit comments

Comments
 (0)