-
Notifications
You must be signed in to change notification settings - Fork 589
[Feat] Introduce linting in frontend project #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@microsoft-github-policy-service agree |
@matheusmaldaner as promised, here you are! :) Would appreciate your through review as the PR is medium-sized due to fixing the existing linting error. |
de84370
to
2ec2323
Compare
Hi @stefanoamorelli, thank you so much for all the changes! Could you review my minor commit? Your linting implementation highlighted some other cases that were failing with the Do you know why the Frontend Checks (frontend-lint) are failing in the GitHub CI workflow? I ran the code on my end and there are no errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good linting changes, do not seem to change anything that could break the code. All tests (poe check
) are still passing.
@matheusmaldaner good stuff! I've reviewed your commit, LGTM left just a couple of comments to confirm. Also, I've pushed a commit to allow warnings to allow the CI/CD to pass with warnings (given that we don't introduce more warnings). |
Requested a review from @husseinmozannar on this so we can merge it before too many changes are made to the system and also so that he can maybe shed light into why the first check is still failing |
Sounds good 👌 |
Co-authored-by: matheusmaldaner <[email protected]>
microsoft#185) Co-authored-by: 侯瑞 <[email protected]> Co-authored-by: Hussein Mozannar <[email protected]>
2c4c1ac
to
7cc2bcc
Compare
7cc2bcc
to
9d66c14
Compare
@matheusmaldaner I've rebased the branch and pushed another commit to try fix the failing linting on CI. Is there anything I can do to help unblock this? Happy to help! |
Hi @stefanoamorelli the first check still fails and I am unsure why :/ Could you look into this whenever you got the time or let me know if there is anything I can do on my end to help us solve this issue? Thank you a lot for the contributions and the help with this |
Solves: #133
We introduce
ESlint
for thefrontend/
, fix the existing issues, and add aGithub
workflow to run the linting and prevent merging of code that does not pass the linting.