Skip to content

Commit

Permalink
style(api): lint modules files
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand committed Mar 5, 2025
1 parent 2e2cae8 commit 30b55fa
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,8 @@
"placeholder": "",
"ariaLabel": "Nom du pays :",
"defaultValue": "",
"tolerances": [
"t1"
],
"solutions": [
"Japon", "Tokyo"
]
"tolerances": ["t1"],
"solutions": ["Japon", "Tokyo"]
}
],
"feedbacks": {
Expand All @@ -368,7 +364,6 @@
"id": "0856af53-1060-478f-8416-ddbc5ed3940c",
"type": "text",
"content": "<p><span aria-hidden=\"true\">🗝️</span> Si vous avez besoin d'aide, vous pouvez cliquer sur les indices ci-dessous&nbsp;:</p><details><summary>Indice n°1&nbsp;:</summary><p>Vous pouvez faire une recherche en ligne : des sites internet existent pour cela.</p></details><details><summary>Indice n°2&nbsp;:</summary><p>Pour votre recherche, utilisez les mots-clés \"localisation\" et \"adresse IP\".</p></details>"

}
}
]
Expand Down Expand Up @@ -533,7 +528,6 @@
"id": "dc49fa68-dcdf-4a3e-ac3a-475d027fc789",
"type": "text",
"content": "<p><span aria-hidden=\"true\">🗝️</span> Si vous avez besoin d'aide, vous pouvez cliquer sur les indices ci-dessous&nbsp;:</p><details><summary>Indice n°1&nbsp;:</summary><p>Vous pouvez faire une recherche en ligne : des sites internet existent pour cela.</p></details><details><summary>Indice n°2&nbsp;:</summary><p>Pour votre recherche, utilisez les mots-clés \"trouver\" et \"mon adresse IP\".</p></details>"

}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,7 @@
"ariaLabel": "Cliquer ici",
"defaultValue": "",
"tolerances": [],
"solutions": [
"cornichons"
]
"solutions": ["cornichons"]
},
{
"type": "text",
Expand All @@ -272,9 +270,7 @@
"ariaLabel": "Cliquer ici",
"defaultValue": "",
"tolerances": [],
"solutions": [
"vide"
]
"solutions": ["vide"]
},
{
"type": "text",
Expand Down Expand Up @@ -519,9 +515,7 @@
"ariaLabel": "Cliquer ici",
"defaultValue": "",
"tolerances": [],
"solutions": [
"céleri"
]
"solutions": ["céleri"]
}
],
"feedbacks": {
Expand All @@ -538,7 +532,7 @@
"type": "qrocm",
"instruction": "pastèque",
"proposals": [
{
{
"input": "2",
"type": "input",
"inputType": "text",
Expand All @@ -548,9 +542,7 @@
"ariaLabel": "Cliquer ici",
"defaultValue": "",
"tolerances": [],
"solutions": [
"pastèque"
]
"solutions": ["pastèque"]
}
],
"feedbacks": {
Expand All @@ -577,9 +569,7 @@
"ariaLabel": "Cliquer ici",
"defaultValue": "",
"tolerances": [],
"solutions": [
"bac à glaçons"
]
"solutions": ["bac à glaçons"]
}
],
"feedbacks": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
}
},
{
"id": "e494d292-21a8-4b33-affa-96763dbe10e6",
"type": "text",
"content": "<p><span aria-hidden=\"true\">🗝️</span> Si vous avez besoin d'<strong>aide pour écrire ce symbole</strong>, cliquez sur l'indice ci-dessous&nbsp;:</p><details><summary>Indice</summary>Pour écrire le symbole arobase,<ul><li>sur PC, appuyez et maintenez la touche <code>Alt Gr</code> puis appuyez sur la touche <code>à</code> (même touche que le 0)</li><li>sur Mac, appuyez sur la touche @ déjà prévue, en haut à gauche (même touche que #)</li></ul></details>"
"id": "e494d292-21a8-4b33-affa-96763dbe10e6",
"type": "text",
"content": "<p><span aria-hidden=\"true\">🗝️</span> Si vous avez besoin d'<strong>aide pour écrire ce symbole</strong>, cliquez sur l'indice ci-dessous&nbsp;:</p><details><summary>Indice</summary>Pour écrire le symbole arobase,<ul><li>sur PC, appuyez et maintenez la touche <code>Alt Gr</code> puis appuyez sur la touche <code>à</code> (même touche que le 0)</li><li>sur Mac, appuyez sur la touche @ déjà prévue, en haut à gauche (même touche que #)</li></ul></details>"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,7 @@
"valid": "<p><span class=\"feedback__state\">Correct&nbsp;!</span></p><p>Parmi ces trois origines, les données d'entraînement sont la principale source des biais qui peuvent exister dans les résultats des LLM.</p>",
"invalid": "<p><span class=\"feedback__state\">Incorrect&nbsp;!</span></p><p>Regardez bien la vidéo précédente et réessayez&nbsp;!</p>"
},
"solutions": [
"1",
"3",
"5"
]
"solutions": ["1", "3", "5"]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,7 @@
"valid": "<p><span class=\"feedback__state\">Bonne réponse !&nbsp;🎉</span></p><p>Pour accompagner au mieux Max, Nina peut activer des options de contrôle parental sur les appareils et les plateformes en ligne.</p>",
"invalid": "<p><span class=\"feedback__state\">Mauvaise réponse.</span></p><p>🤔 Peut-être que vous n'avez pas sélectionné toutes les bonnes réponses. Relisez l’infographie et essayez à nouveau !</p>"
},
"solutions": [
"1",
"2",
"3",
"5"
]
"solutions": ["1", "2", "3", "5"]
}
}
]
Expand Down Expand Up @@ -439,4 +434,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
{
"type": "stepper",
"steps": [
{
{
"elements": [
{
"id": "5c6ec12a-f5b4-4683-ae7a-11b79fddd0a5",
Expand Down

0 comments on commit 30b55fa

Please sign in to comment.