#8748·rubocop

Prefer `require_relative`

Author: marcandreCreated Sep 19, 2020Updated Sep 1, 2026
Labelsfeature requestgood first issue

To load dependencies withing a gem/app, require_relative should always be preferred to require

We should check for any instance of (send nil? require `{:__dir__ :__FILE__}) and raise an offense.

I can't event think of a single instance where require should be called with an interpolated string tbh