How to generate all .mod files for linting automatically?

I tried as your said and it works fine. Many thanks! @gnikit

It seems that the linter will always create new .mod file for the current source file, even if I have set the Include Path where it can find the other mods… Whatever, by setting the Mod Output path to some irrelevant folder, I think I can now comfortably edit Fortran code!