Suing landlord for building code violations before an injury occurs.
I am renting a house and while trying to install shelves and the like we have come to realize that our house is completely not to building codes (in some places instead of studs it seems they used a sheet of plywood behind a layer of drywall). I was wondering whether it is possible to sue our landlord for negligence (or something equivalent for these circumstances) BEFORE an injury occurs. From the tiny amount of research I have done it seems that we could sue if someone is injured because of the negligence, but I'd rather not wait until someone gets injured to do something about it.