Skip to content

Commit c423e83

Browse files
committed
Clarify formatter docs, closes #15616
1 parent 7e9c897 commit c423e83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/mix/lib/mix/tasks/format.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ defmodule Mix.Tasks.Format do
4646
that have their own formatting rules. Each subdirectory should have a
4747
`.formatter.exs` that configures how entries in that subdirectory should be
4848
formatted as. Configuration between `.formatter.exs` are not shared nor
49-
inherited. If a `.formatter.exs` lists "lib/app" as a subdirectory, the rules
50-
in `.formatter.exs` won't be available in `lib/app/.formatter.exs`.
49+
inherited, except for the `:line_length` option.
50+
5151
Note that the parent `.formatter.exs` must not specify files inside the "lib/app"
5252
subdirectory in its `:inputs` configuration. If this happens, the behaviour of
5353
which formatter configuration will be picked is unspecified.

0 commit comments

Comments
 (0)