Skip to content

Commit c74e07f

Browse files
committed
Correction des erreurs de tests et de linting : Conversion de eslint.config.js en .eslintrc.json, réinstallation des dépendances avec npm install --force, tests Jest et Deno validés localement
1 parent c4e1289 commit c74e07f

File tree

4 files changed

+56
-9
lines changed

4 files changed

+56
-9
lines changed

.eslintrc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": "eslint:recommended",
7+
"parserOptions": {
8+
"ecmaVersion": 12,
9+
"sourceType": "module"
10+
},
11+
"rules": {
12+
"no-unused-vars": "warn",
13+
"no-console": "off",
14+
"semi": ["error", "always"],
15+
"quotes": ["error", "double"],
16+
"indent": ["error", 2]
17+
}
18+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Y-Picot
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@ Un fichier `.gitignore` a été ajouté pour exclure les fichiers et dossiers su
7272

7373
## Badges
7474

75-
### Exemple Badge GitHub
76-
```markdown
77-
![nom_du_badge](https://github.com/<votre-utilisateur>/<nom-du-repo>/workflows/<nom_du_workflow>/badge.svg)
78-
```
75+
### Statut des Actions GitHub
76+
![Tests Unitaires](https://github.com/Y-Picot/github-actions-html-css-js/workflows/unit_tests/badge.svg)
77+
![Linting](https://github.com/Y-Picot/github-actions-html-css-js/workflows/super_linter_hcjs/badge.svg)
78+
![Tests Deno](https://github.com/Y-Picot/github-actions-html-css-js/workflows/deno_lint/badge.svg)
7979

8080
### Exemple Badge Shield.io
81-
```markdown
82-
![nom_du_badge](https://img.shields.io/github/actions/workflow/status/<votre-utilisateur>/<nom-du-repo>/<chemin_du_workflow>.yml?branch=main)
83-
```
81+
![Statut des Actions](https://img.shields.io/github/actions/workflow/status/Y-Picot/github-actions-html-css-js/unit_tests.yml?branch=main)
8482

8583
## Contribuer
8684
Les contributions sont les bienvenues ! Veuillez suivre les étapes suivantes :

package-lock.json

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

0 commit comments

Comments
 (0)