Enforce filename to module consistency with credo
Currently our module paths are not consistent, for example Pleroma.Object
is in lib/pleroma/object.ex
, but Pleroma.HTTP
is in lib/pleroma/http/http.ex
, while Pleroma.Plugs.AuthenticationPlug
is in lib/pleroma/plugs/authentication_plug.ex
. I suggest we adopt a credo rule such as https://github.com/VeryBigThings/elixir_common/blob/master/lib/vbt/credo/check/consistency/file_location.ex to ensure consistency