[{"name":"Install.ClauseInCase","comment":" Add a clause to a case expression in a specified function\nin a specified module. For example, if you put the code below in your\n`ReviewConfig.elm` file, running `elm-review` will add the clause\n`ResetCounter` to the `updateFromFrontend` function in the `Backend` module.\n\n    -- code for ReviewConfig.elm:\n    Install.ClauseInCase.makeRule\n        \"Backend\"\n        \"updateFromFrontend\"\n        \"ResetCounter\"\n        \"( { model | counter = 0 }, broadcast (CounterNewValue 0 clientId) )\"\n\n    Thus we will have\n\n    updateFromFrontend : SessionId -> ClientId -> ToBackend -> Model -> ( Model, Cmd BackendMsg )\n    updateFromFrontend sessionId clientId msg model =\n        case msg of\n            CounterIncremented ->\n            ...\n\n            ResetCounter ->\n                ( { model | counter = 0 }, broadcast (CounterNewValue 0 clientId) )\n\n@docs makeRule\n\n","unions":[],"aliases":[],"values":[{"name":"makeRule","comment":" Create a rule that adds a clause to a case expression in a specified function\n","type":"String.String -> String.String -> String.String -> String.String -> Review.Rule.Rule"}],"binops":[]}]