jfmengels/elm-lint/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Lint.Rules.NoNestedLet

rule : String -> List Error

Forbid nesting let expressions directly.

rules =
    [ NoNestedLet.rule
    ]

Fail

a = let b = 1
    in  let c = 2
        in b + c

Success

a = let
      b = 1
      c = 2
    in
      b + c