Some time ago I added an outlet in the bottom/side of a kitchen cabinet. I took out the drawer, cut an access panel in bottom of cabinet and ran the wire up from the basement, through the floor. Used a plastic box and set it in the side of the cabinet about 4” up from the floor. Receptacle is under a shelf at end of cabinet (this was to have an outlet to plug in pet’s water dish that has a tiny pump in it.)
Is there anything about this that is not up to code? Does the rule about attaching the wire to a stud or something within 12” of a box apply here?
Is there any problem with the wire running through the floor like this? (tile over plywood). (Should I run it through conduit or some kind of shielding?)
Was it okay to put an outlet in this space in bottom of cabinet?