I think that your installation is a violation of 240.4. This is not a fixture whip or fixture wire. There is no permission in 210.19 to extend #14 protected at 20 amps from the switch to a light fixture. 210.24 says you must look at 210.19 for specific requirements.
Don


Don(resqcapt19)