Make lint settings apply to the correct object.

They were attached to the `extern mod extra` previously and so were having no effect.

(Unfortunately I can only do this via the github web interface at the moment and so can't test/fix any new warnings this change creates.)