Buried cables and raceways meet minimum cover: 24 in cable, 6 in RMC/IMC, 18 in PVC, 12 in for 20 A GFCI 120 V circuits, 6 in for 30 V landscape, less under slabs and buildings (NEC 300.5(A)).
A neutral is brought to lighting switch locations in bathrooms, halls, stairs and habitable rooms (one location if the whole room is visible), with up to 5 electronic switches per circuit and 25 per feeder (NEC 404.2(C)).
No pendants, cord or chain-hung fixtures, track or fan light kits within 3 ft horizontally and 8 ft above a tub rim or shower threshold; fixtures over the tub/shower are damp- or wet-rated, wet if in spray (NEC 410.10(D)).
Searches all 4,276 IRC 2024 sections, 5,532 IBC 2024 sections and defined terms (Chapters 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 so far) and each city's local rules as they are added. Section numbers and titles from the International Residential Code and International Building Code, 2024 editions, copyrighted by the International Code Council; the IRC's electrical chapters (34 to 43) follow NFPA 70, the National Electrical Code. Requirements are summarized in our words (IRC Chapters 3 to 43, IBC Chapters 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33); read the full text at the link on each result. Local values come from each city's published documents.
Check your plans against these codes
Start an application and get every flag with its section and fix.