Skip to content

Commit 60b8da0

Browse files
committed
style(api): lint module file
1 parent a2d5b67 commit 60b8da0

File tree

6 files changed

+428
-465
lines changed

6 files changed

+428
-465
lines changed

api/src/devcomp/infrastructure/datasources/learning-content/modules/bases-clavier-ordinateur-2.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,7 @@
8787
"ariaLabel": "zone de saisie",
8888
"defaultValue": "",
8989
"tolerances": [],
90-
"solutions": [
91-
"voilà le zèbre déçu",
92-
"« voilà le zèbre déçu »"
93-
]
90+
"solutions": ["voilà le zèbre déçu", "« voilà le zèbre déçu »"]
9491
}
9592
],
9693
"feedbacks": {
@@ -316,12 +313,8 @@
316313
"placeholder": "recopiez la phrase ",
317314
"ariaLabel": "zone de saisie",
318315
"defaultValue": "",
319-
"tolerances": [
320-
"t1"
321-
],
322-
"solutions": [
323-
"Coucou, peux-tu mettre ces 3 pommes à cet endroit ?"
324-
]
316+
"tolerances": ["t1"],
317+
"solutions": ["Coucou, peux-tu mettre ces 3 pommes à cet endroit ?"]
325318
}
326319
],
327320
"feedbacks": {
@@ -357,7 +350,7 @@
357350
"content": "<p>La <strong>touche Alt&nbsp;Gr</strong> permet de faire apparaître les caractères situés en bas à droite des touches. Elle s’utilise de la même manière que la touche majuscule.</p>"
358351
}
359352
},
360-
{
353+
{
361354
"type": "element",
362355
"element": {
363356
"id": "172ad359-9878-4308-940a-5cdf64019769",

api/src/devcomp/infrastructure/datasources/learning-content/modules/comment-envoyer-un-mail.json

+3-9
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,7 @@
322322
"content": "Rayan"
323323
}
324324
],
325-
"solutions": [
326-
"1"
327-
]
325+
"solutions": ["1"]
328326
},
329327
{
330328
"type": "text",
@@ -356,9 +354,7 @@
356354
"content": "Jennifer, Marine, Clément, Rayan"
357355
}
358356
],
359-
"solutions": [
360-
"3"
361-
]
357+
"solutions": ["3"]
362358
},
363359
{
364360
"type": "text",
@@ -390,9 +386,7 @@
390386
"content": "Costumes pour le 27 octobre"
391387
}
392388
],
393-
"solutions": [
394-
"4"
395-
]
389+
"solutions": ["4"]
396390
}
397391
],
398392
"feedbacks": {

api/src/devcomp/infrastructure/datasources/learning-content/modules/decouverte-de-l-ent.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"slug": "decouverte-de-l-ent",
33
"title": "À la découverte de l’ENT",
44
"isBeta": true,
5-
"details": {
5+
"details": {
66
"image": "https://images.pix.fr/modulix/placeholder-details.svg",
77
"description": "<p>Aujourd’hui, le numérique fait partie du quotidien des familles, à la maison comme à l’école&#8239;! <span aria-hidden=\"true\">🎒</span></p><p>Dans ce module, partez à la découverte de l’espace numérique de travail (ENT), l’outil numérique utilisé dans les établissements scolaires.</p>",
88
"duration": 10,

api/src/devcomp/infrastructure/datasources/learning-content/modules/tmp08ef.json

+5-11
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,7 @@
317317
"content": "code"
318318
}
319319
],
320-
"solutions": [
321-
"1"
322-
]
320+
"solutions": ["1"]
323321
},
324322
{
325323
"type": "text",
@@ -347,9 +345,7 @@
347345
"content": "superviser"
348346
}
349347
],
350-
"solutions": [
351-
"4"
352-
]
348+
"solutions": ["4"]
353349
},
354350
{
355351
"type": "text",
@@ -377,13 +373,11 @@
377373
"content": "tergiversation"
378374
}
379375
],
380-
"solutions": [
381-
"8"
382-
]
376+
"solutions": ["8"]
383377
},
384378
{
385-
"type": "text",
386-
"content": "<span>. Le modèle n'est pas capable de réfléchir comme un humain. Il produit juste un discours \"très probable\"</span>"
379+
"type": "text",
380+
"content": "<span>. Le modèle n'est pas capable de réfléchir comme un humain. Il produit juste un discours \"très probable\"</span>"
387381
}
388382
],
389383
"feedbacks": {

api/src/devcomp/infrastructure/datasources/learning-content/modules/tri-multicritere-tableau.json

+8-26
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,8 @@
278278
"placeholder": "prénom",
279279
"ariaLabel": "écrivez le prénom ici",
280280
"defaultValue": "",
281-
"tolerances": [
282-
"t3"
283-
],
284-
"solutions": [
285-
"emma"
286-
]
281+
"tolerances": ["t3"],
282+
"solutions": ["emma"]
287283
},
288284
{
289285
"type": "text",
@@ -298,13 +294,8 @@
298294
"placeholder": "lot",
299295
"ariaLabel": "écrivez le lot ici",
300296
"defaultValue": "",
301-
"tolerances": [
302-
"t3"
303-
],
304-
"solutions": [
305-
"glace",
306-
"glaces"
307-
]
297+
"tolerances": ["t3"],
298+
"solutions": ["glace", "glaces"]
308299
}
309300
],
310301
"feedbacks": {
@@ -460,12 +451,8 @@
460451
"placeholder": "prénom",
461452
"ariaLabel": "écrivez ici le prénom",
462453
"defaultValue": "",
463-
"tolerances": [
464-
"t3"
465-
],
466-
"solutions": [
467-
"inès"
468-
]
454+
"tolerances": ["t3"],
455+
"solutions": ["inès"]
469456
},
470457
{
471458
"type": "text",
@@ -480,13 +467,8 @@
480467
"placeholder": "trésor",
481468
"ariaLabel": "écrivez ici le contenu du trésor",
482469
"defaultValue": "",
483-
"tolerances": [
484-
"t3"
485-
],
486-
"solutions": [
487-
"des bonbons",
488-
"bonbons"
489-
]
470+
"tolerances": ["t3"],
471+
"solutions": ["des bonbons", "bonbons"]
490472
}
491473
],
492474
"feedbacks": {

0 commit comments

Comments
 (0)