Skip to content

Commit 3f45d76

Browse files
committed
docs(experimental-require-slot-types): added backticks around 517551Slots
1 parent 7d0ba5b commit 3f45d76

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.changeset/strong-wombats-worry.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"eslint-plugin-svelte": minor
33
---
44

5-
Added the experimental-require-slot-types rule
5+
feat: added the `svelte/experimental-require-slot-types` rule

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ These rules extend the rules provided by ESLint itself, or other plugins to work
379379

380380
| Rule ID | Description | |
381381
|:--------|:------------|:---|
382-
| [svelte/experimental-require-slot-types](https://ota-meshi.github.io/eslint-plugin-svelte/rules/experimental-require-slot-types/) | require slot type declaration using the $$Slots interface | |
382+
| [svelte/experimental-require-slot-types](https://ota-meshi.github.io/eslint-plugin-svelte/rules/experimental-require-slot-types/) | require slot type declaration using the `$$Slots` interface | |
383383
| [svelte/experimental-require-strict-events](https://ota-meshi.github.io/eslint-plugin-svelte/rules/experimental-require-strict-events/) | require the strictEvents attribute on `<script>` tags | |
384384

385385
## System

docs/rules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ These rules extend the rules provided by ESLint itself, or other plugins to work
9898

9999
| Rule ID | Description | |
100100
|:--------|:------------|:---|
101-
| [svelte/experimental-require-slot-types](./rules/experimental-require-slot-types.md) | require slot type declaration using the $$Slots interface | |
101+
| [svelte/experimental-require-slot-types](./rules/experimental-require-slot-types.md) | require slot type declaration using the `$$Slots` interface | |
102102
| [svelte/experimental-require-strict-events](./rules/experimental-require-strict-events.md) | require the strictEvents attribute on `<script>` tags | |
103103

104104
## System

docs/rules/experimental-require-slot-types.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/experimental-require-slot-types"
5-
description: "require slot type declaration using the $$Slots interface"
5+
description: "require slot type declaration using the `$$Slots` interface"
66
---
77

88
# svelte/experimental-require-slot-types
99

10-
> require slot type declaration using the $$Slots interface
10+
> require slot type declaration using the `$$Slots` interface
1111
1212
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
1313

src/rules/experimental-require-slot-types.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { getLangValue } from "../utils/ast-utils"
44
export default createRule("experimental-require-slot-types", {
55
meta: {
66
docs: {
7-
description: "require slot type declaration using the $$Slots interface",
7+
description:
8+
"require slot type declaration using the `$$Slots` interface",
89
category: "Experimental",
910
recommended: false,
1011
},

0 commit comments

Comments
 (0)