Open
Conversation
feat: integrate Sentry for error tracking and monitoring
Implement code changes to enhance functionality and improve performance
feat: integrate Sentry for error tracking and enhance error handling …
fix: update server log message format and remove unused idInit parsing
feat: refactor parseFormIdPlanning to use regex for improved ID extra…
feat: add sidebar menu ID extraction for 'Mon Planning' in PageParser
fix: update error handling in parseSidebarMenuIdForMonPlanning to log…
… + added eslint rules for readability + created a check-service.yml to ensure code is always pretty and exempt from vulnerabilities before merging
Author
|
Hi Milo, you should ensure approving the workflow if you're okay with that. Github prevent me to run new actions without your permission :) |
Contributor
|
Je suis vraiment pas fan du tab size 2: Le reste, yes pourquoi pas ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Objectif
Améliorer la qualité et la maintenabilité du projet API grâce à l’ajout d’ESLint et à une meilleure organisation du build.
🔍 Contexte
Pour garantir un code plus propre et éviter l’introduction de vulnérabilités, j’ai intégré des vérifications automatiques via GitHub Actions. De plus, j’ai modifié l’organisation du projet afin de séparer le code source et le code buildé pour plus de lisibilité.
🛠️ Changements apportés
check-service.ymldans GitHub Actions qui :dist/au lieu desource/📦 Dépendances
dist/avant chaque build✅ Comment tester
pnpm run build) et vérifier que les fichiers se génèrent dansdist/pnpm run lint) et s’assurer que les règles sont bien respectées (normalement c'est censé lint au save du fichier. Si non, ctrl + maj + p et restart eslint server sur vscode)check-service.ymlsur GitHub lors d’une PR sur preprod📌 Notes complémentaires
NB sur les nouvelles dépendances: