Skip to content

Commit d592875

Browse files
committed
Ignore MarkdownEditor
1 parent 766e389 commit d592875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rules/direct-slot-children.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ const slotParentToChildMap = {
55
PageLayout: ['PageLayout.Header', 'PageLayout.Footer'],
66
SplitPageLayout: ['SplitPageLayout.Header', 'SplitPageLayout.Footer'],
77
FormControl: ['FormControl.Label', 'FormControl.Caption', 'FormControl.LeadingVisual', 'FormControl.TrailingVisual'],
8-
MarkdownEditor: ['MarkdownEditor.Toolbar', 'MarkdownEditor.Actions', 'MarkdownEditor.Label'],
98
'ActionList.Item': ['ActionList.LeadingVisual', 'ActionList.TrailingVisual', 'ActionList.Description'],
109
'TreeView.Item': ['TreeView.LeadingVisual', 'TreeView.TrailingVisual'],
1110
RadioGroup: ['RadioGroup.Label', 'RadioGroup.Caption', 'RadioGroup.Validation'],
1211
CheckboxGroup: ['CheckboxGroup.Label', 'CheckboxGroup.Caption', 'CheckboxGroup.Validation']
12+
// Ignore `MarkdownEditor` for now because it's still in drafts
13+
// MarkdownEditor: ['MarkdownEditor.Toolbar', 'MarkdownEditor.Actions', 'MarkdownEditor.Label'],
1314
}
1415

1516
const slotChildToParentMap = Object.entries(slotParentToChildMap).reduce((acc, [parent, children]) => {

0 commit comments

Comments
 (0)