-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add eslint
to project and fix problems
#287
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
ts complains that mediaKeyMap can be undefined because it is only set chatTribes.ts lines 682-683 |
src/network/interfaces.ts
Outdated
isTribeOwner?: boolean | ||
dest?: string | ||
owner?: any | ||
bot_id?: any |
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.
note: bot_id changed from string to any
( 292449e ) the script can be found on https://github.com/antonilol/sphinx-relay/tree/model-typer |
add it? |
this function is given a |
there are a lot of errors when running |
oops wrong button |
This comment was marked as resolved.
This comment was marked as resolved.
In file helpers.ts |
Right, 269 shouldn't have the |
Maybe dat.owner only is undefined in some test case, because the logs kevin sent show an undefined owner being passed in a function (property id of undefined) |
or |
https://github.com/stakwork/sphinx-relay/blob/master/src/tests/controllers/clearAllChats.test.ts#L30-L31
i changed it to |
will be merging and resolving conflicts here to have a diff of all this work between master every now and then when kevin merges a part with e.g. #307
|
lower warning count to 466
lower warning count to 466
lower warning count to 466
closing this PR since we've got a system working for eslint now where we decrement the warning count and slowly make our way down |
closes #286