-
Notifications
You must be signed in to change notification settings - Fork 80
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
chore(core): enable eslint/strict-boolean-expressions & strictNullChecks #1096
chore(core): enable eslint/strict-boolean-expressions & strictNullChecks #1096
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1096 +/- ##
==========================================
- Coverage 75.52% 75.50% -0.02%
==========================================
Files 80 80
Lines 16167 16150 -17
Branches 1517 1517
==========================================
- Hits 12210 12194 -16
+ Misses 3918 3917 -1
Partials 39 39
☔ View full report in Codecov by Sentry. |
/home/runner/work/node-wot/node-wot/packages/core/src/helpers.ts Error: 256:50 error Unexpected any value in conditional. An explicit comparison or type cast is required @typescript-eslint/strict-boolean-expressions Note: Locally I do not see this issue!?
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.
Thank you, looks good to me already :) See a couple of mostly optional suggestions that further simplify a couple of lines below.
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
Co-authored-by: Jan Romann <[email protected]>
…github.com/danielpeintner/thingweb.node-wot into issue-1046-strict-boolean-expressions-core
Co-authored-by: Jan Romann <[email protected]>
I was about to approve this, but there is a leftover comment from @JKRhb, to a quick glance I would commit it. Is that ok @danielpeintner? |
Co-authored-by: Jan Romann <[email protected]>
Sorry, I missed that.... I think it is fine now.. |
This PR addresses one checkmark in #1046.