When we run a
mix compile in an umbrella app, we have the following output:
==> app_name Compiling 1 file (.ex) warning: an error message web/controllers/my_controller.ex:4
The path is relative from the umbrella application (i.e:
app_name) instead of the root application.
It’s a problem for me because I can’t make my linter works properly with
mix compile . On
credo it works well because they use a path from the root application.
[R] ↓ Line is too long (max is 120, was 126). ┃ apps/app_name/web/controllers/my_controller.ex:5:121 (AppName.MyController.show)
Is there any reason to have this path relative to the child application? Do you know if there are a mix option to output an “absolute” path or if it’s a behaviour we could change in future releases?
Thanks for your help