I live right on the Pacific Ocean. Two of my 10/22s were left in my gun safe for 15 years with no oil in the barrel or any TLC whatever. When I got back into shooting, every component was pristine and there was no corrosion in the barrels. Both shoot as nice as when they were new. So I guess oil in the barrel is not that big of a thing.
Nothing wrong with running a lightly oiled patch down the barrel after cleaning it, of course. But I do not do it. I clean all my firearms the way the US Army taught me. First a bore brush to knock the crud off the barrel innards. Then several patches soaked in Hoppes #9 or equivalent, then dry patches until they come out clean. This has worked for me for 40 years.