Skip to content

Commit

Permalink
chore(tests): Add 'Learn_web_development' slugs for front matter lint…
Browse files Browse the repository at this point in the history
…er (#36981)
  • Loading branch information
bsmth authored Nov 27, 2024
1 parent c1fd7dc commit 65b49f2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions front-matter-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,29 @@
},
"else": false
},
{
"if": {
"properties": {
"slug": { "type": "string", "pattern": "^Learn_web_development/" }
}
},
"then": {
"properties": {
"page-type": {
"enum": [
"guide",
"landing-page",
"learn-topic",
"learn-module",
"learn-module-chapter",
"learn-module-assessment",
"learn-faq"
]
}
}
},
"else": false
},
{
"if": {
"properties": { "slug": { "type": "string", "pattern": "^MDN/" } }
Expand Down

0 comments on commit 65b49f2

Please sign in to comment.