Closed GKosheev closed 1 year ago
I'd also add "good first issue" and "backend" labels to that issue, but I haven't found a way to do that.
Labels added.
Hi, can I work on this? Maybe not all the files but some at least
Hey @Dun-sin! Sure, you can start working on it, but It'd be better to check all the files since there are not that many problems. If you struggle, I'll help.
There are multiple places that contain a bad practice of variable declarations or/and unused variables.
Consider the following example (server.js):
Files that have such problems:
server.js
register-subscription.js
search-court-records.js
notify.js
purge-and-update-subscription.js
update_defendants.js
app-court-search.test.js
test-webhook.js
twilio-actions.js
The suggestion is to change
var
declaration toconst
(orlet
if the declared variable is being reassigned any further) and get rid of all unused variables.