-
Notifications
You must be signed in to change notification settings - Fork 14
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
style: Least intrusive lint rules #679
Conversation
a804c6b
to
58b352e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #679 +/- ##
===========================================
+ Coverage 62.82% 79.69% +16.87%
===========================================
Files 77 77
Lines 5928 5935 +7
Branches 1284 1286 +2
===========================================
+ Hits 3724 4730 +1006
+ Misses 2106 1187 -919
+ Partials 98 18 -80 ☔ View full report in Codecov by Sentry. |
src/api/axiosWrapper.ts
Outdated
resolve?: Function | null, | ||
timeout?: number | null, | ||
additionalHeaders = {} | ||
resolve?: undefined | null, // XXX: We should remove or use this parameter |
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.
We should remove if it is not used
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.
This would be a breaking change to a method that is used in many places, both in the lib and in its clients: I took the path of just mapping the situation instead of acting now.
Do you agree with this approach?
Without a target to at least es2018, AsyncGenerator usage would trigger `no-undef` errors.
de3e775
to
44bea46
Compare
…-config * origin/master: style: Least intrusive lint rules (#679)
Acceptance Criteria
eslint-disable-*
command should have a comment explaining why it was usedNote
To fix the
no-undef
rule it was necessary to upgradetsconfig.json
target fromes6
toes2018
.Security Checklist