I don't know about a violation, but I would have wrapped the conductor the opposite way under the screw head.