My 1920s rowhouse has likely had a lot of not permitted, and not up to code, work done on it in the past. Last night I pulled off the baseboard in the dining room, which is one of the few rooms with multiple 3-prong electrical outlets. The baseboard was covering a sizable gap between where the floor (both the 3/4" hardwood and subfloor) and lathe and plaster walls meet. In spots I can see the wall studs and floor joists. This was not that surprising to me.
What surprised me was that the romex electrical cable was run in this gap and stapled to whatever was available (studs, joists, and subfloor) there was no conduit or anything else to protect the cable from nails/screws, although nailing into the area would be hard.
Is this to code in the US? Was it ever to code in the US? How ridiculously unsafe is it?
Can I continue with my plan to rip up the hardwood floor and replace it with an engineered floor, or do I need to address the wiring first?