HowProgrammingWorks / Exams

Exams readiness test
https://youtube.com/@TimurShemsedinov
MIT License
108 stars 227 forks source link

Create auto checker #114

Open tshemsedinov opened 2 years ago

tshemsedinov commented 2 years ago

Here are hints to detect automatically https://github.com/HowProgrammingWorks/Exams/blob/master/HINTS.md

nau7ilus commented 2 years ago

What should it look like? I think we can use Eslint rules so that they will completely follow Hints.md. And the checks would be called on the creation of the PR. And not only eslint, but also unit tests. We can use Github Actions here. And there are several options here, too. Let's say, at PR creation, if the bot is added to reviewers, it will run the tasks and send a feedback message about broken rules and testing errors. Or to make it simpler: just run checks on commit, without sending messages to PR