Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Instead I will spend three days creating an automated framework to remove the semicolons in each file one at a time until the test succeeds. Fuck it.
-
Can’t you inspect the browser with react devtools to find the component that contains the semicolon?
-
I'd start by using something other than React ....
Joking, we use it at work, but didn't IDE search helping? Search for ; and do a quick overview if there is something that doesn't look right? -
Found it. 194 files changed. Remove semicolon from 88 files. Edit for loops add them back. Binary search. Rinse repeat. When in doubt use brute force. Fuck javascript.
-
I got a woohoo from the project manager. Fuck you project manager. You could not have found it.
I have an errant ; appearing in a react app screen. Hundreds of components in this friggin monstrosity.
How would you find the extra ; to remove it?
Kill me now!
rant