jfmengels/elm-lint/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Lint.Rules.SimplifyPropertyAccess

rule : LintRule

Simplify functions that return the property of a record by using an access function

rules =
    [ SimplifyPropertyAccess.rule
    ]

Fail

a = List.map (\x -> x.foo) values

Success

a = List.map .foo values