jacob-macleod/Dolphin-Flashcard-App

Add Style Checking for React in CI/CD Pipeline

Aperta

#164 aperta il 16 set 2024

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (31 fork)auto 404
DevOpsgood first issue

Metriche repository

Star
 (18 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

For python, pylint is run in the pipeline to make sure the code adheres to PEP8 standards. If it does not, black can be run manually to make it conform by formatting the files. Your task is to:

  • Find equivalent tools for the React code
  • Implement the equivalent of Pylint but for React in the pipeline
  • Find a formatter (like black, but for React, following React standards), and manually run it on the React code in the frontend folder

Let me know if you have any questions or want any more information!

Guida contributor