-
Notifications
You must be signed in to change notification settings - Fork 0
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
mrc-5970 lint, codecov and other friends #230
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## mrc-5967 #230 +/- ##
===========================================
Coverage ? 99.78%
===========================================
Files ? 160
Lines ? 4110
Branches ? 939
===========================================
Hits ? 4101
Misses ? 8
Partials ? 1 ☔ View full report in Codecov by Sentry. |
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.
I don't know if you're planning on reinstating the eslint rules, but rather than removing some valid exceptions here, I think it might be better to just retain some rules which it seems are now switched off.
Specifically it feels like it would be good to retain the following to keep us tidy:
- no-explicit-any
- no-unused-vars
- no-setup-props-destructure
Not especially bothered about this others personally!
Coverage changes look great, good to deflakify that! 😆 |
have switched on the rules, i was planning to discuss the rules in more detail with you and anmol and prettier in this ticket https://mrc-ide.myjetbrains.com/youtrack/issue/mrc-5973/eslint-and-prettier-discussion-ticket but have added those three rules as they seem uncontroversial (although no-setup-props-destructure is something we do a lot and i may lean towards not having that rule but happy to put it in right now) i also went on a mission to rid the codebase of all the |
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.
Great, thanks!
main changes:
codecov
is actually deprecated which explains a lot of the flakiness and problems, the recommendation is to use the github action which is what i have switch to here