Skip to content

Commit

Permalink
fix(valid-types): require name for tutorial but disallow type
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Feb 12, 2022
1 parent 03f9c29 commit 32447f0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/getDefaultTagStructureForMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,19 @@ const getDefaultTagStructureForMode = (mode) => {
]),
],

[
'tutorial', new Map([
// (a tutorial ID)
[
'nameRequired', true,
],

[
'typeAllowed', false,
],
]),
],

[
'type', new Map([
// Shows curly brackets in the doc signature and examples
Expand Down

0 comments on commit 32447f0

Please sign in to comment.