What would work best for me would be, when loading via /usr/bin/env, it would look at the script, follow it if it's a link, and add that directory to the classpath.
But that's a bit specific to add.
There's probably plenty of room for improvement, in Joker docs if not also code/features, in this area. We'll likely get more input re requirements as more people us it more widely and beyond linting.
Maybe supporting a hook or something in the require/load mechanism would help?