I am trying to determine if my house is up to code with respect to some holes that I found bored in the ceiling joists. The holes are about 1 inch in diameter and at least 2 inches from the top and the bottom of 2x10 joists. The holes were bored to run a NM electrical cable. The specific aspect I am concerned about is that the holes are very close (< 2 inches) to the end of the joist where it is bearing on the beam.
I read various notching and boring guides and they all specify 2 inches from the top and bottom but I can't find any guides that talk about how close they can be to the end of the joist. I assume that having a hole in the area that is bearing on the beam would weaken the joist but I am having a hard time finding the rules on this.