Skip to content

Commit 812677b

Browse files
committed
feat: ajouter des tâches de linting pour YAML et Markdown, mise à jour des dépendances
1 parent f3af356 commit 812677b

File tree

4 files changed

+217
-15
lines changed

4 files changed

+217
-15
lines changed

Taskfile.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ includes:
1010
env: ./taskfiles/env/Taskfile.yml
1111
nodejs: ./taskfiles/nodejs/Taskfile.yml
1212
download: ./taskfiles/download/Taskfile.yml
13+
lint: ./taskfiles/lint/Taskfile.yml
1314

1415
vars:
1516
# Variables avec valeurs par défaut depuis .env ou valeurs de fallback
@@ -33,7 +34,12 @@ tasks:
3334
lint:all:
3435
desc: "Exécute tous les linters disponibles"
3536
cmds:
36-
- npm run lint:markdown
37+
- task: lint:yml
38+
vars:
39+
IGNORE_DIR: "taskfiles"
40+
- task: lint:md
41+
vars:
42+
IGNORE_DIR: "taskfiles"
3743

3844
info:
3945
desc: "Affiche les informations du projet avec les variables d'environnement"

package-lock.json

Lines changed: 207 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Templates pour la création d'un nouveau projet angular",
55
"scripts": {
66
"lint:markdown": "markdownlint README.md",
7+
"lint:yaml": "yamllint **/*.yml **/*.yaml",
78
"release": "release-it"
89
},
910
"repository": {
@@ -23,6 +24,6 @@
2324
"jscpd": "^4.0.5",
2425
"markdownlint-cli": "^0.45.0",
2526
"release-it": "^19.0.5",
26-
"yaml": "^2.8.1"
27+
"yaml-lint": "^1.7.0"
2728
}
2829
}

0 commit comments

Comments
 (0)