Fix the description of the withElmJsonVisitor example

This commit is contained in:
Jeroen Engels 2019-09-16 14:34:22 +02:00
parent 86ad2735f9
commit b18a1a6f08

View File

@ -685,8 +685,7 @@ withInitialContext initialContext_ (Schema schema) =
[`elm.json`](https://package.elm-lang.org/packages/elm/project-metadata-utils/latest/Elm-Project) file.
information, such as the contents of the `elm.json` file, to collect data (`module SomeModuleName exposing (a, b)`), collect data in the `context` and/or report patterns.
The following example forbids the use of `Html.button` except in the "Button" file.
THe example is simplified to only forbid the use of the `Html.button` expression.
The following example forbids exposing a file in an "Internal" directory in your `elm.json` file.
import Elm.Module
import Elm.Project